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

This commit is contained in:
sjplimp
2011-03-25 21:13:51 +00:00
parent e3cf018311
commit fbb475b9cd
149 changed files with 1402 additions and 1660 deletions

View File

@ -126,7 +126,7 @@ void PRD::command(int narg, char **arg)
if (nreplica != nprocs_universe) {
displacements = new int[nprocs];
tagall = (int *) memory->smalloc(natoms*sizeof(int),"prd:tagall");
xall = memory->create_2d_double_array(natoms,3,"prd:xall");
memory->create(xall,natoms,3,"prd:xall");
imageall = (int *) memory->smalloc(natoms*sizeof(int),"prd:imageall");
}
@ -407,7 +407,7 @@ void PRD::command(int narg, char **arg)
delete [] displacements;
memory->sfree(tagall);
memory->destroy_2d_double_array(xall);
memory->destroy(xall);
memory->sfree(imageall);
MPI_Comm_free(&comm_replica);