remove check that is no longer needed
This commit is contained in:
@ -401,11 +401,8 @@ void FixAveCorrelateLong::end_of_step()
|
|||||||
double scalar;
|
double scalar;
|
||||||
|
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/correlate/long");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
@ -279,11 +279,8 @@ void FixAveAtom::end_of_step()
|
|||||||
int i,j,m,n;
|
int i,j,m,n;
|
||||||
|
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/atom");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
@ -542,11 +542,8 @@ void FixAveChunk::end_of_step()
|
|||||||
int i,j,m,n,index;
|
int i,j,m,n,index;
|
||||||
|
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/chunk");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
@ -391,11 +391,8 @@ void FixAveCorrelate::end_of_step()
|
|||||||
double scalar;
|
double scalar;
|
||||||
|
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/correlate");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
@ -580,11 +580,8 @@ void FixAveHisto::end_of_step()
|
|||||||
int i,j,m;
|
int i,j,m;
|
||||||
|
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/histo");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
@ -94,11 +94,8 @@ void FixAveHistoWeight::end_of_step()
|
|||||||
int i,j,m;
|
int i,j,m;
|
||||||
|
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/histo");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
@ -524,11 +524,8 @@ void FixAveTime::setup(int /*vflag*/)
|
|||||||
void FixAveTime::end_of_step()
|
void FixAveTime::end_of_step()
|
||||||
{
|
{
|
||||||
// skip if not step which requires doing something
|
// skip if not step which requires doing something
|
||||||
// error check if timestep was reset in an invalid manner
|
|
||||||
|
|
||||||
bigint ntimestep = update->ntimestep;
|
bigint ntimestep = update->ntimestep;
|
||||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
|
||||||
error->all(FLERR,"Invalid timestep reset for fix ave/time");
|
|
||||||
if (ntimestep != nvalid) return;
|
if (ntimestep != nvalid) return;
|
||||||
nvalid_last = nvalid;
|
nvalid_last = nvalid;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user