class matlantis_features.features.md.ase_integrators.LangevinIntegrator(timestep: float, temperature: float, friction: float = 0.1, fixcm: bool = True, random_seed: int = 0)#

Bases: ASEIntegrator

Langevin dynamics integrator generating NVT ensemble, using the ASE backend.

Methods

__init__(timestep, temperature[, friction, …])

Create Langevin dynamics integrator.

create_ase_dynamics(atoms)

Create the ASE’s Dynamics object.

set_temperature(value)

Set the target temperature of integrator.

__init__(timestep: float, temperature: float, friction: float = 0.1, fixcm: bool = True, random_seed: int = 0) None#

Create Langevin dynamics integrator.

Parameters
  • timestep (float) – Integration time step in fs unit.

  • temperature (float) – Target temperature of the integrator in K unit.

  • friction (float, optional) – Friction coefficient in the Langevin equation.
    Defaults to 0.1.

  • fixcm (bool, optional) – If True, the position and momentum of the center of mass is kept unperturbed.
    Defaults to True.

  • random_seed (int, optional) – Random number generator’s seed used for the simulation.
    Defaults to 0.

create_ase_dynamics(atoms: Atoms) Dynamics#

Create the ASE’s Dynamics object.

Parameters

atoms (Atoms) – ASE’s Atoms object containing the system to simulate.

Returns

ASE’s Dynamics object.

Return type

Dynamics

set_temperature(value: float) None#

Set the target temperature of integrator.

If this integrator does not support temperature control,
this method raises the NotImplementedError exception.

Parameters

value (float) – Temperature in K unit.