disable optimization on functions building factories for many entries

this will speed up compilation and also avoid spurious warnings with gcc 4.4 and later
This commit is contained in:
Axel Kohlmeyer
2019-06-06 20:37:17 -04:00
parent 56e3b1d1f4
commit b53df3dd63
6 changed files with 34 additions and 9 deletions

View File

@ -81,6 +81,11 @@ Modify::Modify(LAMMPS *lmp) : Pointers(lmp)
ncompute = maxcompute = 0;
compute = NULL;
create_factories();
}
void _noopt Modify::create_factories()
{
// fill map with fixes listed in style_fix.h
fix_map = new FixCreatorMap();