forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3143 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
3b5f84c3f0
commit
9b87decae5
|
@ -45,8 +45,7 @@ PairSW::PairSW(LAMMPS *lmp) : Pair(lmp)
|
|||
|
||||
nelements = 0;
|
||||
elements = NULL;
|
||||
nparams = 0;
|
||||
maxparam = 0;
|
||||
nparams = maxparam = 0;
|
||||
params = NULL;
|
||||
elem2param = NULL;
|
||||
}
|
||||
|
@ -326,7 +325,7 @@ void PairSW::read_file(char *file)
|
|||
|
||||
memory->sfree(params);
|
||||
params = NULL;
|
||||
nparams = 0;
|
||||
nparams = maxparam = 0;
|
||||
|
||||
// open file on proc 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue