Beispiel #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}
Beispiel #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,
             }
Beispiel #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,
             }
Beispiel #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,
     }
Beispiel #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,
                     }
Beispiel #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,
     }
Beispiel #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,
                }
Beispiel #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,
     }
Beispiel #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,
        }
Beispiel #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
             }
Beispiel #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
     }
Beispiel #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
     }
Beispiel #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,
                }
Beispiel #14
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {}
Beispiel #15
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
             'd3 tensor' : self.getD3Tensor,
             }
Beispiel #16
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         'd3 tensor': self.getD3Tensor,
     }
Beispiel #17
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
                 'single phonon' : self.getSinglePhonon
             }
Beispiel #18
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         'multi phonon': self.getMultiPhonon,
         'phonon dos': self.getPhononDOS
     }
Beispiel #19
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {}
Beispiel #20
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
                     #'qpoints'       : self.getQpoints,
                     'qpoints'       : self.parse_qpoints_from_dyn
                     }
Beispiel #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}
Beispiel #22
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
         #'qpoints'       : self.getQpoints,
         'qpoints': self.parse_qpoints_from_dyn
     }
Beispiel #23
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
             'multi phonon' : self.getMultiPhonon,
             'phonon dos'   : self.getPhononDOS
             }
Beispiel #24
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {
             'dos'   : self.getDOS
             }
Beispiel #25
0
 def __init__(self):
     BaseOutput.__init__(self)
     self.parsers = {'dos': self.getDOS}