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

This commit is contained in:
sjplimp
2010-01-14 23:25:10 +00:00
parent 8626f1cee6
commit 4a63d33e56
8 changed files with 16 additions and 16 deletions

View File

@ -67,8 +67,8 @@ DumpCustom::DumpCustom(LAMMPS *lmp, int narg, char **arg) :
// computes, fixes, variables which the dump accesses
field2index = new int[nfield];
argindex = new int[nfield];
field2index = (int *) memory->smalloc(nfield*sizeof(int),"dump:field2index");
argindex = (int *) memory->smalloc(nfield*sizeof(int),"dump:argindex");
ncompute = 0;
id_compute = NULL;
@ -124,8 +124,8 @@ DumpCustom::~DumpCustom()
{
delete [] pack_choice;
delete [] vtype;
delete [] field2index;
delete [] argindex;
memory->sfree(field2index);
memory->sfree(argindex);
memory->sfree(thresh_array);
memory->sfree(thresh_op);