root / prepareQMX / qmxEMBED.py @ 10
Historique | Voir | Annoter | Télécharger (1000 octet)
1 |
#!/usr/bin/env python
|
---|---|
2 |
|
3 |
# definition of EMBED for qmx-setup
|
4 |
#
|
5 |
# Torsten Kerber, ENS LYON: 2011, 07, 11
|
6 |
#
|
7 |
# This work is supported by Award No. UK-C0017, made by King Abdullah
|
8 |
# University of Science and Technology (KAUST)
|
9 |
|
10 |
from qmxDEF import Definition |
11 |
|
12 |
#-------------------------------------------------------------------------------
|
13 |
#--- EMBED DEFINITIONS ---------------------------------------------------------
|
14 |
#-------------------------------------------------------------------------------
|
15 |
class EmbedDefinition(Definition): |
16 |
def __init__(self): |
17 |
self.name='Embed' |
18 |
self.system='Embed' |
19 |
self.keywords = {}
|
20 |
self.keywords['import']='ase.embed' |
21 |
self.keywords['class']='Embed' |
22 |
self.keywords['class.options']='system, cluster, cell_cluster="Auto"' |
23 |
self.keywords['method']='embed' |
24 |
self.keywords['calculator']='qmx' |
25 |
|
26 |
#-------------------------------------------------------------------------------
|
27 |
embedDefinitions = [EmbedDefinition()] |