git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7039 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-10-06 17:55:48 +00:00
parent f70a2f8937
commit 15203cb792
81 changed files with 432 additions and 280 deletions

View File

@ -554,15 +554,17 @@ void PairEDIP::allocateGrids(void)
void PairEDIP::allocatePreLoops(void)
{
memory->create(preInvR_ij,leadDimInteractionList,"edip:preInvR_ij");
memory->create(preExp3B_ij,leadDimInteractionList,"edip:preExp3B_ij");
memory->create(preExp3BDerived_ij,leadDimInteractionList,
int nthreads = comm->nthreads;
memory->create(preInvR_ij,nthreads*leadDimInteractionList,"edip:preInvR_ij");
memory->create(preExp3B_ij,nthreads*leadDimInteractionList,"edip:preExp3B_ij");
memory->create(preExp3BDerived_ij,nthreads*leadDimInteractionList,
"edip:preExp3BDerived_ij");
memory->create(preExp2B_ij,leadDimInteractionList,"edip:preExp2B_ij");
memory->create(preExp2BDerived_ij,leadDimInteractionList,
memory->create(preExp2B_ij,nthreads*leadDimInteractionList,"edip:preExp2B_ij");
memory->create(preExp2BDerived_ij,nthreads*leadDimInteractionList,
"edip:preExp2BDerived_ij");
memory->create(prePow2B_ij,leadDimInteractionList,"edip:prePow2B_ij");
memory->create(preForceCoord,5*leadDimInteractionList,"edip:preForceCoord");
memory->create(prePow2B_ij,nthreads*leadDimInteractionList,"edip:prePow2B_ij");
memory->create(preForceCoord,5*nthreads*leadDimInteractionList,"edip:preForceCoord");
}
/* ----------------------------------------------------------------------