コード例 #1
0
ファイル: qecalc.py プロジェクト: nityasagarjena/AbInitio
    def __init__(self, fname):
        
        Launcher.__init__(self, fname)
        Property.__init__(self, fname)

        self.qeConfig = QEConfig(self.pwscfInput)
        self.qeConfig.parse()

        self.structure = QEStructure(self.pwscfInput)

        self.dispersion = dispersion.Dispersion(self)

#        self._kpts = self.getkPoints()
        self._ekincutoff = self.getEkincutoff()
コード例 #2
0
ファイル: house.py プロジェクト: juju515/2nd_year
 def __init__(self, floorarea, address, numfloors, hasgarage):
     Property.__init__(self, floorarea, address)
     self._numfloors = numfloors
     self._hasgarage = hasgarage
コード例 #3
0
 def __init__(self, floorarea, address, appartmentNo, hasBalcony):
     Property.__init__(self, floorarea, address)
     self._appartmentNo = appartmentNo
     self._hasBalcony = hasBalcony