Exemple #1
0
class MatdynInput(QEInput):
    def __init__(self, filename=None, config=None):
        QEInput.__init__(self, filename, config, type='matdyn')
        self.qpoints = MatdynQpoints(self)

    def parse(self):
        """ Parses the configuration file and stores the values in qe dictionary
            Initializes structure as well"""
        (self.namelists, self.cards, self.attach) = self.parser.parse()
        self.qpoints.parse()
class MatdynInput(QEInput):
    def __init__(self, filename=None, config=None):
        QEInput.__init__(self,filename, config, type='matdyn')
        self.qpoints = MatdynQpoints(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()
Exemple #3
0
class MatdynInput(QESInput):
    def __init__(self, filename=None, config=None, setting=None, parse=True):
        self.qpoints = MatdynQpoints(self)

        QESInput.__init__(self,
                          filename,
                          config,
                          type='matdyn',
                          setting=setting,
                          parse=parse)

    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()
        QESInput.parse(self)
        self.qpoints.parse()