Initialized pointers in BODY
This commit is contained in:
@ -37,7 +37,7 @@ enum{ROTATE,ALL};
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
ComputeTempBody::ComputeTempBody(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg)
|
||||
Compute(lmp, narg, arg), id_bias(NULL), tbias(NULL), avec(NULL)
|
||||
{
|
||||
if (narg < 3) error->all(FLERR,"Illegal compute temp/body command");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user