add warning to fix reaxff/species to explain the impact of large averaging
This commit is contained in:
@ -115,7 +115,7 @@ FixReaxFFSpecies::FixReaxFFSpecies(LAMMPS *lmp, int narg, char **arg) :
|
||||
} else fp = fopen(arg[6],"w");
|
||||
|
||||
if (!fp)
|
||||
error->one(FLERR,"Cannot open fix reaxff/species file {}: {}",arg[6],utils::getsyserror()));
|
||||
error->one(FLERR,"Cannot open fix reaxff/species file {}: {}",arg[6],utils::getsyserror());
|
||||
}
|
||||
|
||||
x0 = nullptr;
|
||||
|
||||
@ -2563,8 +2563,7 @@ void FixRigidSmall::write_restart_file(const char *file)
|
||||
auto outfile = std::string(file) + ".rigid";
|
||||
fp = fopen(outfile.c_str(),"w");
|
||||
if (fp == nullptr)
|
||||
error->one(FLERR,"Cannot open fix rigid restart file {}: {}",
|
||||
outfile,utils::getsyserror());
|
||||
error->one(FLERR,"Cannot open fix rigid restart file {}: {}",outfile,utils::getsyserror());
|
||||
|
||||
fmt::print(fp,"# fix rigid mass, COM, inertia tensor info for "
|
||||
"{} bodies on timestep {}\n\n",nbody,update->ntimestep);
|
||||
|
||||
Reference in New Issue
Block a user