LAMMPS Wrapper

Defines the LAMMPSWrapper class

class esteem.wrappers.lammps.LAMMPSWrapper[source]

Sets up the LAMMPS Calculator (via ASE) for Molecular Dynamics runs

lammps_setup(lammps_cmd=None, nprocs=None)[source]

Prepares run commands etc for LAMMPS calculations

load(seed, target=None, prefix='', suffix='', **kwargs)[source]

Loads an existing AMP Calculator and converts it into a PROPhet-LAMMPS calculator

seed: str

target: int

suffix: str

kwargs: dict
other keywords to pass to AMP.load
geom_opt(model, seed, calc_params, driver_tol='default', solvent=None, readonly=False)[source]

Runs a singlepoint calculation with the LAMMPS ASE calculator

model: ASE Atoms

seed: str

suffix: str

dummy: str

target: int or None

solvent: str or None

readonly: bool

run_mlmd(model, mdseed, calc_params, md_steps, md_timestep, superstep, temp, solvent=None, restart=False, readonly=False, constraints=None, continuation=None)[source]

Runs a Molecular Dynamics calculation with the AMP ASE calculator.

model: ASE Atoms

seed: str

target: int

suffix: str

md_steps: int

md_timestep: float

superstep: int

temp: float

target: int or None

solvent: str or None

restart: bool

readonly: bool

singlepoint(model, seed, calc_params, target=None, solvent=None, readonly=False)[source]

Runs a singlepoint calculation with the LAMMPS ASE calculator

model: ASE Atoms

seed: str

suffix: str

dummy: str

target: int or None

solvent: str or None

readonly: bool

minimise(solvated, minimised, seed)[source]

Runs a geometry optimisation calculation with the LAMMPS ASE calculator

heatup(minimised, heated, seed, nsteps)[source]

Runs a heatup temperature-ramp calculation with the LAMMPS ASE calculator

densityequil(heated, densityeq, seed, nsteps)[source]

Runs a density equilibration calculation with fixed hydrogens with the LAMMPS ASE calculator

equil(densityeq, equbd, seed, nsteps)[source]

Runs an equilibration calculation at constant volume with flexible hydrogens with the LAMMPS ASE calculator

snapshots(seed, snapin, snapout, nsnaps, nsteps)[source]

Runs a long MD trajectory for snapshot generation with the LAMMPS ASE calculator