move version and num_ver from Universe to LAMMPS and make num_ver an int
This commit is contained in:
@ -512,7 +512,7 @@ void DumpNetCDF::openfile()
|
||||
NCERR( nc_put_att_text(ncid, NC_GLOBAL, "program",
|
||||
6, "LAMMPS") );
|
||||
NCERR( nc_put_att_text(ncid, NC_GLOBAL, "programVersion",
|
||||
strlen(universe->version), universe->version) );
|
||||
strlen(lmp->version), lmp->version) );
|
||||
|
||||
// units
|
||||
if (!strcmp(update->unit_style, "lj")) {
|
||||
|
||||
Reference in New Issue
Block a user