force arrays and alike are cleared in parallel when the omp package command is active.

FixOMP does no longer need to be a friend.
This commit is contained in:
Axel Kohlmeyer
2011-10-12 22:20:00 -04:00
parent c9ca5dad37
commit 747ea72461
6 changed files with 25 additions and 6 deletions

View File

@ -26,6 +26,7 @@ Integrate::Integrate(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
{
elist_global = elist_atom = NULL;
vlist_global = vlist_atom = NULL;
external_force_clear = 0;
}
/* ---------------------------------------------------------------------- */