move version and num_ver from Universe to LAMMPS and make num_ver an int

This commit is contained in:
Axel Kohlmeyer
2020-09-19 11:32:53 -04:00
parent 56d9222156
commit 4c51a8ae57
17 changed files with 30 additions and 32 deletions

View File

@ -267,7 +267,7 @@ void Info::command(int narg, char **arg)
if (flags & CONFIG) {
fmt::print(out,"\nLAMMPS version: {} / {}\n",
universe->version, universe->num_ver);
lmp->version, lmp->num_ver);
if (lmp->has_git_info)
fmt::print(out,"Git info: {} / {} / {}\n",