add support for command plugins with example
This commit is contained in:
@ -24,7 +24,9 @@ extern "C" void lammpsplugin_init(void *lmp, void *handle, void *regfunc)
|
||||
plugin.name = "nve2";
|
||||
plugin.info = "NVE2 variant fix style v1.0";
|
||||
plugin.author = "Axel Kohlmeyer (akohlmey@gmail.com)";
|
||||
plugin.creator1 = nullptr;
|
||||
plugin.creator2 = (lammpsplugin_factory2 *) &nve2creator;
|
||||
plugin.creator3 = nullptr;
|
||||
plugin.handle = handle;
|
||||
(*register_plugin)(&plugin,lmp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user