Esempio n. 1
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = {
         'single phonon':
         ['singlephonon', 'frequencies', 'freqs', 'freq', 'frequency'],
     }
     self.parsers = {'single phonon': self.getSinglePhonon}
Esempio n. 2
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = { 'd3 tensor'      : ['d3tensor', 'tensor'],
                           }
     self.parsers = {
             'd3 tensor' : self.getD3Tensor,
             }
Esempio n. 3
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = { 'electron dos'      : ['dos', 'electrondos', 'electronicdos'],
                           }        
     self.parsers = {
             'electron dos'   : self.getDOS,
             }
Esempio n. 4
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         'total energy': self.getTotalEnergy,
         'lattice parameters': self.getLatticeParameters,
         'fermi energy': self.getFermiEnergy,
         'stress': self.getStress,
         'forces': self.getForces,
         'bands': self.getBands,
     }
Esempio n. 5
0
 def __init__(self):
     BaseOutput.__init__(self)
     
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = { 'trajectory'      : ['trajectory'],
                           }         
     self.parsers = {
                     'trajectory'       : self.getTrajectory,
                     }
Esempio n. 6
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = {
         'electron dos': ['dos', 'electrondos', 'electronicdos'],
     }
     self.parsers = {
         'electron dos': self.getDOS,
     }
Esempio n. 7
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
                 'total energy'       : self.getTotalEnergy,
                 'lattice parameters' : self.getLatticeParameters,
                 'fermi energy'       : self.getFermiEnergy,
                 'stress'             : self.getStress,
                 'forces'             : self.getForces,
                 'bands'              : self.getBands,
                }
Esempio n. 8
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = {
         'd3 tensor': ['d3tensor', 'tensor'],
     }
     self.parsers = {
         'd3 tensor': self.getD3Tensor,
     }
Esempio n. 9
0
    def __init__(self):
        BaseOutput.__init__(self)

        # dictionary with list of alternative property names,
        # not case and white space sensitive:
        self._propertyNamesDic = {
            'trajectory': ['trajectory'],
        }
        self.parsers = {
            'trajectory': self.getTrajectory,
        }
Esempio n. 10
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:        
     self._propertyNamesDic = { 'multi phonon'  : ['multiphonon', 'modes', 'frequencies', 'freqs', 'freq', 'frequency'],
                               'phonon dos'     : ['dos', 'phonondos',]   
                           }        
     self.parsers = {
             'multi phonon' : self.getMultiPhonon,
             'phonon dos'   : self.getPhononDOS
             }
Esempio n. 11
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = {
         'q points': ['qpoints', 'q', 'points', 'q-points'],
     }
     self.parsers = {
         #'qpoints'       : self.getQpoints,
         'qpoints': self.parse_qpoints_from_dyn
     }
Esempio n. 12
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = {
         'multi phonon': [
             'multiphonon', 'modes', 'frequencies', 'freqs', 'freq',
             'frequency'
         ],
         'phonon dos': [
             'dos',
             'phonondos',
         ]
     }
     self.parsers = {
         'multi phonon': self.getMultiPhonon,
         'phonon dos': self.getPhononDOS
     }
Esempio n. 13
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = { 'total energy'      : ['totalenergy', 'energy', 'totalelectronicenergy'],
                                'fermi energy'      : [ 'fermienergy', 'fermi'],
                                'lattice parameters': ['latticeparameters', 'lattice'],
                                'stress'            : ['stress', 'stresses'],
                                'force'             : [ 'force', 'forces'],
                                'bands'             : ['bands', 'energybands'],
                           } 
     self.parsers = {
                 'total energy'        : self.getTotalEnergy,
                 'lattice parameters'  : self.getLatticeParameters,
                 'fermi energy'        : self.getFermiEnergy,
                 'stress'             : self.getStress,
                 'forces'             : self.getForces,
                 'bands'              : self.getBands,
                }
Esempio n. 14
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {}
Esempio n. 15
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
             'd3 tensor' : self.getD3Tensor,
             }
Esempio n. 16
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         'd3 tensor': self.getD3Tensor,
     }
Esempio n. 17
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
                 'single phonon' : self.getSinglePhonon
             }
Esempio n. 18
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         'multi phonon': self.getMultiPhonon,
         'phonon dos': self.getPhononDOS
     }
Esempio n. 19
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {}
Esempio n. 20
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
                     #'qpoints'       : self.getQpoints,
                     'qpoints'       : self.parse_qpoints_from_dyn
                     }
Esempio n. 21
0
 def __init__(self):
     BaseOutput.__init__(self)
     # dictionary with list of alternative property names,
     # not case and white space sensitive:
     self._propertyNamesDic = {"single phonon": ["singlephonon", "frequencies", "freqs", "freq", "frequency"]}
     self.parsers = {"single phonon": self.getSinglePhonon}
Esempio n. 22
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         #'qpoints'       : self.getQpoints,
         'qpoints': self.parse_qpoints_from_dyn
     }
Esempio n. 23
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
             'multi phonon' : self.getMultiPhonon,
             'phonon dos'   : self.getPhononDOS
             }
Esempio n. 24
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
             'dos'   : self.getDOS
             }
Esempio n. 25
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {'dos': self.getDOS}