Пример #1
0
    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
    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
    def __init__(self, executable=None):

        Siesta_efs.__init__(self, executable)
        self.ready = False
Пример #4
0
    def __init__(self, executable=None):

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