コード例 #1
0
ファイル: calculator_efs.py プロジェクト: serlar/honpas-4.1
    def Calculate(self):
        """Calculate everything."""
        atoms = self.GetListOfAtoms()
        self.energy, self.forces, self.stress = Siesta_efs.run(self, atoms)

        self.cell = atoms.GetUnitCell()
        self.positions = atoms.GetCartesianPositions()
        self.numbers = atoms.GetAtomicNumbers()
        self.bc = atoms.GetBoundaryConditions()
コード例 #2
0
ファイル: calculator_efs.py プロジェクト: id23cat/siesta-3.1
    def Calculate(self):
        """Calculate everything."""
        atoms = self.GetListOfAtoms()
        self.energy, self.forces, self.stress = Siesta_efs.run(self, atoms)

        self.cell = atoms.GetUnitCell()
        self.positions = atoms.GetCartesianPositions()
        self.numbers = atoms.GetAtomicNumbers()
        self.bc = atoms.GetBoundaryConditions()
コード例 #3
0
ファイル: calculator_efs.py プロジェクト: serlar/honpas-4.1
    def __init__(self, executable=None):

        Siesta_efs.__init__(self, executable)
        self.ready = False
コード例 #4
0
ファイル: calculator_efs.py プロジェクト: id23cat/siesta-3.1
    def __init__(self, executable=None):

        Siesta_efs.__init__(self, executable)
        self.ready = False