class PHInput(QEInput): def __init__(self, filename=None, config=None): QEInput.__init__(self,filename, config, type='ph') self.qpoints = PHQpoints(self) def parse(self): """ Parses the configuration file and stores the values in qe dictionary Initializes structure as well""" (self.header, self.namelists, self.cards, self.attach) = self.parser.parse() self.qpoints.parse()
class PHInput(QEInput): def __init__(self, filename=None, config=None): QEInput.__init__(self, filename, config, type='ph') self.qpoints = PHQpoints(self) def parse(self): """ Parses the configuration file and stores the values in qe dictionary Initializes structure as well""" (self.header, self.namelists, self.cards, self.attach) = self.parser.parse() self.qpoints.parse()
def __init__(self, filename=None, config=None): QEInput.__init__(self,filename, config, type='ph') self.qpoints = PHQpoints(self)
def __init__(self, filename=None, config=None, setting = None, parse = True): self.qpoints = PHQpoints(self) QESInput.__init__(self,filename, config, type = 'ph', setting = setting,\ parse = parse)
def __init__(self, filename=None, config=None, setting=None, parse=True): self.qpoints = PHQpoints(self) QESInput.__init__(self,filename, config, type = 'ph', setting = setting,\ parse = parse)
def __init__(self, filename=None, config=None): QEInput.__init__(self, filename, config, type='ph') self.qpoints = PHQpoints(self)