move version and num_ver from Universe to LAMMPS and make num_ver an int
This commit is contained in:
@ -229,7 +229,7 @@ void WriteData::write(const std::string &file)
|
||||
void WriteData::header()
|
||||
{
|
||||
fmt::print(fp,"LAMMPS data file via write_data, version {}, "
|
||||
"timestep = {}\n\n",universe->version,update->ntimestep);
|
||||
"timestep = {}\n\n",lmp->version,update->ntimestep);
|
||||
|
||||
fmt::print(fp,"{} atoms\n{} atom types\n",atom->natoms,atom->ntypes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user