Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 3
0
    def __init__(self, executable=None):

        Siesta_efs.__init__(self, executable)
        self.ready = False
Exemplo n.º 4
0
    def __init__(self, executable=None):

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