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