add functionality to auto-load plugins

This commit is contained in:
Axel Kohlmeyer
2022-03-11 05:52:26 -05:00
parent 9b989b1860
commit 01bd3d1da0
3 changed files with 20 additions and 4 deletions

View File

@ -824,6 +824,11 @@ void LAMMPS::create()
timer = new Timer(this);
python = new Python(this);
// auto-load plugins
#if defined(LMP_PLUGIN)
plugin_auto_load(this);
#endif
}
/* ----------------------------------------------------------------------