pyiron_atomistics.lammps.structure.LammpsStructure#
- class pyiron_atomistics.lammps.structure.LammpsStructure(bond_dict=None, job=None, atom_type: str = 'atomic')[source]#
Bases:
LammpsStructure- Parameters:
input_file_name
Methods
__init__([bond_dict, job, atom_type])get_lammps_id_dict(el_eam_lst)lammps_header(structure, cell_dimensions, ...)rotate_positions(structure)Rotate all atomic positions in given structure according to new Prism cell
rotate_velocities(structure)Rotate all atomic velocities in given structure according to new Prism cell
Returns:
Write routine to create atom structure static file that can be loaded by LAMMPS
Returns:
Create atom structure including the atom charges.
Write routine to create atom structure static file for atom_type='full' that can be loaded by LAMMPS
write_file(file_name[, cwd])Write GenericParameters to input file
Attributes
Returns:
molecule_idspotentialReturns:
- property el_eam_lst: List[str]#
Returns:
- rotate_positions(structure: Atoms) List[Tuple[float, float, float]][source]#
Rotate all atomic positions in given structure according to new Prism cell
- Parameters:
structure – Atoms-like object. Should has .positions attribute
- Returns:
List of rotated coordinates
- Return type:
(list)
- rotate_velocities(structure: Atoms) List[Tuple[float, float, float]][source]#
Rotate all atomic velocities in given structure according to new Prism cell
- Parameters:
structure – Atoms-like object. Should have .velocities attribute.
- Returns:
List of rotated velocities
- Return type:
(list)
- property structure#
Returns:
- structure_atomic() str[source]#
Write routine to create atom structure static file that can be loaded by LAMMPS
Returns:
- structure_charge()[source]#
Create atom structure including the atom charges.
By convention the LAMMPS atom type numbers are chose alphabetically for the chemical species.
Returns: LAMMPS readable structure.