FixMLMOD

class FixMLMOD : public Fix

Public Functions

FixMLMOD(class LAMMPS*, int narg, char **args)

Lammps interface to mlmod library using the lammps “fix” mechanism.

Parameters:
  • LAMMPS* – reference to the running lammps instance

  • narg – number of command arguments

  • args – list of strings for the arguments

FixMLMOD()

Lammps interface to mlmod library using the lammps “fix” mechanism. Empty constructor used mostly for testing.

int setmask()

Lammps calls to set the mask for when to call into the fix.

virtual void init()

Lammps calls when initializing the fix.

void setup(int vflag)

Lammps calls to setup the fix.

void initial_integrate(int)

Lammps calls at the start of each timestep.

void final_integrate()

Lammps calls at the end of each timestep.

double compute_array(int i, int j)

Lammps calls when retrieving array data.

void reset_dt()

Lammps calls when timestep size changes.

void post_force(int vflag)

Lammps calls after forces are calculated.

void pre_exchange()

Lammps calls before exchanging data between processors..

void end_of_step()

Lammps calls at the very end of a time-step..

Public Members

LAMMPS *lammps

Reference to the lammps instance.

MLMOD *mlmod

Reference to the mlmod library wrapper.

[mlmod github codes]