ARTn Plugin
Functions
-
static Fix *artn2creator(LAMMPS *lmp, int argc, char **argv)
Function return the class FixARTn.
- Author
Matic Poberznic Miha Gunde Nicolas Salles
return new FixARTn(lmp, argc, argv);
- Parameters:
lmp – [in] PTR, on the Class lammps
argc – [in] INT, number words are in arguments of the executable
argv – [in] CHAR, Array of string of the argument
- Returns:
pointer on Class FixARTn
-
void lammpsplugin_init(void *lmp, void *handle, void *regfunc)
Interface between PLUGIN of lammps amd the shared library of ARTn.
- Author
Matic Poberznic Miha Gunde Nicolas Salles
lammpsplugin_t plugin; lammpsplugin_regfunc register_plugin = (lammpsplugin_regfunc)regfunc; plugin.version = LAMMPS_VERSION; plugin.style = "fix"; plugin.name = "artn"; plugin.info = "ARTn plugin fix style v1.0"; plugin.author = "MAMMASMIAS Consortium (nsalles33@gmail.com, miha.gounde@gmail.com, matic.poberznik@ijs.si)"; plugin.creator.v2 = (lammpsplugin_factory2 *)&artn2creator; plugin.handle = handle; (*register_plugin)(&plugin, lmp);
- Parameters:
lmp – [in] VOID PTR, on the Class lammps
handle – [in] VOID PTR, on the shared library (dynamic)
regfunc – [out] VOID PTR, on the constructor of FixARTn