pyiron.gpaw.pyiron_ase module¶
-
class
pyiron.gpaw.pyiron_ase.
AseAdapter
(ham, fast_mode=False)[source]¶ Bases:
object
-
property
communicator
¶
-
get_center_of_mass
(scaled=False)[source]¶ Get the center of mass.
If scaled=True the center of mass in scaled coordinates is returned.
-
has
(name)[source]¶ Check for existence of array.
name must be one of: ‘tags’, ‘momenta’, ‘masses’, ‘initial_magmoms’, ‘initial_charges’.
-
new_array
(name, a, dtype=None, shape=None)[source]¶ Add new array.
If shape is not None, the shape of a will be checked.
-
property
-
class
pyiron.gpaw.pyiron_ase.
AseJob
(project, job_name)[source]¶ Bases:
pyiron.atomistics.job.interactive.GenericInteractive
-
collect_output
()[source]¶ Collect the output files of the external executable and store the information in the HDF5 file. This method has to be implemented in the individual hamiltonians.
-
from_hdf
(hdf=None, group_name=None)[source]¶ Recreates instance from the hdf5 file :param hdf: Path to the hdf5 file :type hdf: str :param group_name: Name of the group which contains the object :type group_name: str
-
get_structure
(iteration_step=- 1, wrap_atoms=True)[source]¶ Gets the structure from a given iteration step of the simulation (MD/ionic relaxation). For static calculations there is only one ionic iteration step :param iteration_step: Step for which the structure is requested :type iteration_step: int :param wrap_atoms: :type wrap_atoms: bool
- Returns
atomistics.structure.atoms.Atoms object
-
run_if_interactive
()[source]¶ For jobs which executables are available as Python library, those can also be executed with a library call instead of calling an external executable. This is usually faster than a single core python job.
-
run_if_scheduler
()[source]¶ The run if queue function is called by run if the user decides to submit the job to and queing system. The job is submitted to the queuing system using subprocess.Popen()
- Returns
Returns the queue ID for the job.
- Return type
int
-
property
structure
¶ Returns:
-