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

This commit is contained in:
sjplimp 2008-04-04 23:18:14 +00:00
parent 0e511f1619
commit 1108e91261
8 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,7 @@ Fix::Fix(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
rigid_flag = 0;
virial_flag = 0;
no_change_box = 0;
time_integrate = 0;
scalar_flag = vector_flag = peratom_flag = 0;

View File

@ -33,6 +33,7 @@ class Fix : protected Pointers {
int rigid_flag; // 1 if Fix integrates rigid bodies, 0 if not
int virial_flag; // 1 if Fix contributes to virial, 0 if not
int no_change_box; // 1 if cannot swap ortho <-> triclinic
int time_integrate; // 1 if fix performs time integration, 0 if no
int scalar_flag; // 0/1 if compute_scalar() function exists
int vector_flag; // 0/1 if compute_vector() function exists

View File

@ -46,6 +46,7 @@ FixNPH::FixNPH(LAMMPS *lmp, int narg, char **arg) :
restart_global = 1;
box_change = 1;
time_integrate = 1;
scalar_flag = 1;
scalar_vector_freq = 1;
extscalar = 1;

View File

@ -47,6 +47,7 @@ FixNPT::FixNPT(LAMMPS *lmp, int narg, char **arg) :
restart_global = 1;
box_change = 1;
time_integrate = 1;
scalar_flag = 1;
scalar_vector_freq = 1;
extscalar = 1;

View File

@ -28,6 +28,8 @@ FixNVE::FixNVE(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
if (narg != 3) error->all("Illegal fix nve command");
time_integrate = 1;
}
/* ---------------------------------------------------------------------- */

View File

@ -31,6 +31,7 @@ FixNVELimit::FixNVELimit(LAMMPS *lmp, int narg, char **arg) :
{
if (narg != 4) error->all("Illegal fix nve/limit command");
time_integrate = 1;
scalar_flag = 1;
scalar_vector_freq = 1;
extscalar = 1;

View File

@ -41,6 +41,7 @@ FixNVT::FixNVT(LAMMPS *lmp, int narg, char **arg) :
if (narg < 6) error->all("Illegal fix nvt command");
restart_global = 1;
time_integrate = 1;
scalar_flag = 1;
scalar_vector_freq = 1;
extscalar = 1;

View File

@ -43,6 +43,7 @@ FixRigid::FixRigid(LAMMPS *lmp, int narg, char **arg) :
{
int i,ibody;
time_integrate = 1;
rigid_flag = 1;
virial_flag = 1;