git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8226 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
Copyright (2003) Sandia Corporation. Under the terms of Contract
|
||||
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
||||
certain rights in this software. This software is distributed under
|
||||
certain rights in this software. This software is distributed under
|
||||
the GNU General Public License.
|
||||
|
||||
See the README file in the top-level LAMMPS directory.
|
||||
@ -25,7 +25,7 @@ enum{EPAIR,EVDWL,ECOUL};
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
ComputePair::ComputePair(LAMMPS *lmp, int narg, char **arg) :
|
||||
ComputePair::ComputePair(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg)
|
||||
{
|
||||
if (narg < 4 || narg > 5) error->all(FLERR,"Illegal compute pair command");
|
||||
@ -56,7 +56,7 @@ ComputePair::ComputePair(LAMMPS *lmp, int narg, char **arg) :
|
||||
pair = force->pair_match(pstyle,1);
|
||||
}
|
||||
|
||||
if (!pair)
|
||||
if (!pair)
|
||||
error->all(FLERR,"Unrecognized pair style in compute pair command");
|
||||
npair = pair->nextra;
|
||||
|
||||
@ -85,7 +85,7 @@ void ComputePair::init()
|
||||
// recheck for pair style in case it has been deleted
|
||||
|
||||
pair = force->pair_match(pstyle,1);
|
||||
if (!pair)
|
||||
if (!pair)
|
||||
error->all(FLERR,"Unrecognized pair style in compute pair command");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user