mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15151 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ab7e896a76
commit
3497d6382c
|
@ -25,7 +25,8 @@ FixNPHAsphere::FixNPHAsphere(LAMMPS *lmp, int narg, char **arg) :
|
|||
FixNHAsphere(lmp, narg, arg)
|
||||
{
|
||||
if (tstat_flag)
|
||||
error->all(FLERR,"Temperature control can not be used with fix nph/asphere");
|
||||
error->all(FLERR,"Temperature control can not be used "
|
||||
"with fix nph/asphere");
|
||||
if (!pstat_flag)
|
||||
error->all(FLERR,"Pressure control must be used with fix nph/asphere");
|
||||
|
||||
|
@ -46,7 +47,7 @@ FixNPHAsphere::FixNPHAsphere(LAMMPS *lmp, int narg, char **arg) :
|
|||
|
||||
modify->add_compute(3,newarg);
|
||||
delete [] newarg;
|
||||
tflag = 1;
|
||||
tcomputeflag = 1;
|
||||
|
||||
// create a new compute pressure style
|
||||
// id = fix-ID + press, compute group = all
|
||||
|
@ -64,5 +65,5 @@ FixNPHAsphere::FixNPHAsphere(LAMMPS *lmp, int narg, char **arg) :
|
|||
newarg[3] = id_temp;
|
||||
modify->add_compute(4,newarg);
|
||||
delete [] newarg;
|
||||
pflag = 1;
|
||||
pcomputeflag = 1;
|
||||
}
|
||||
|
|
|
@ -76,7 +76,8 @@ class FixNH : public Fix {
|
|||
|
||||
char *id_temp,*id_press;
|
||||
class Compute *temperature,*pressure;
|
||||
int tcomputeflag,pcomputeflag; // 1 = compute was created by fix. 0 = external
|
||||
int tcomputeflag,pcomputeflag; // 1 = compute was created by fix
|
||||
// 0 = created externally
|
||||
|
||||
double *eta,*eta_dot; // chain thermostat for particles
|
||||
double *eta_dotdot;
|
||||
|
|
Loading…
Reference in New Issue