git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5932 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -35,8 +35,8 @@ using namespace LAMMPS_NS;
|
||||
ComputeTempRegionEff::ComputeTempRegionEff(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg)
|
||||
{
|
||||
if (!atom->spin_flag || !atom->ervel_flag)
|
||||
error->all("Compute temp/region/eff requires atom attributes spin, ervel");
|
||||
if (!atom->electron_flag)
|
||||
error->all("Compute temp/region/eff requires atom style electron");
|
||||
|
||||
if (narg != 4) error->all("Illegal compute temp/region/eff command");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user