make certain that the vector storage and the size_vector variable are consistent in computes
This commit is contained in:
@ -70,7 +70,7 @@ ComputeHeatFlux::ComputeHeatFlux(LAMMPS *lmp, int narg, char **arg) :
|
||||
error->all(FLERR,
|
||||
"Compute heat/flux compute ID does not compute stress/atom");
|
||||
|
||||
vector = new double[6];
|
||||
vector = new double[size_vector];
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user