pyiron_contrib.protocol.compound.minimize module
- class pyiron_contrib.protocol.compound.minimize.Minimize(**kwargs)[source]
Bases:
CompoundVertex
Run minimization with Lammps. This isn’t physically useful, since a regular lammps job is faster it’s just a dummy class for debugging new code and teaching ideas.
- Input attributes:
ref_job_full_path (str): Path to the pyiron job to use for evaluating forces and energies. structure (Atoms): The structure to minimize. n_steps (int): How many steps to run for. (Default is 100.) f_tol (float): Ionic force convergence (largest atomic force). (Default is 1e-4 eV/angstrom.) gamma0 (float): Initial step size as a multiple of the force. (Default is 0.1.) fix_com (bool): Whether the center of mass motion should be subtracted off of the position update. (Default is
True)
use_adagrad (bool): Whether to have the step size decay according to adagrad. (Default is False)
- Output attributes:
energy_pot (float): Total potential energy of the system in eV. max_force (float): The largest atomic force magnitude in eV/angstrom. positions (numpy.ndarray): Atomic positions in angstroms. forces (numpy.ndarray): Atomic forces in eV/angstrom. Note: These are the potential gradient forces; thermostat
forces (if any) are not saved.
- DefaultWhitelist = {'calc_static': {'output': {'energy_pot': 1}}, 'max_force': {'output': {'amax': 1}}}