Statistiques
| Révision :

root / prepareQMX / qmxSTR.py @ 10

Historique | Voir | Annoter | Télécharger (1,22 ko)

1
#!/usr/bin/env python
2

    
3
# definition of STRUCTURES 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
#--- STR DEFINITIONS -----------------------------------------------------------
14
#-------------------------------------------------------------------------------
15
class VASPStrDefinition(Definition):
16
    def __init__(self):
17
        self.name='VASP'
18
        self.keywords = {}
19
        self.keywords['import']='ase.io.vasp'
20
        self.keywords['class']='read_vasp'
21
        self.keywords['class.options']='POSCAR'
22
    
23
#-------------------------------------------------------------------------------
24
class TURBOMOLEStrDefintion(Definition):
25
    def __init__(self):
26
        self.name='TURBOMOLE'
27
        self.keywords = {}
28
        self.keywords['import']='ase.io.turbomole'
29
        self.keywords['class']='read_turbomole'
30
        self.keywords['class.options']='coord'
31

    
32
#-------------------------------------------------------------------------------
33
strDefinitions = [VASPStrDefinition(), TURBOMOLEStrDefintion()]