make more use of convenience functions for adding fixes and computes
This commit is contained in:
@ -483,7 +483,7 @@ void Thermo::modify_params(int narg, char **arg)
|
||||
icompute = modify->find_compute(id_compute[index_press_vector]);
|
||||
if (icompute < 0) error->all(FLERR,
|
||||
"Pressure ID for thermo does not exist");
|
||||
} else icompute = modify->find_compute((char *) "thermo_press");
|
||||
} else icompute = modify->find_compute("thermo_press");
|
||||
|
||||
modify->compute[icompute]->reset_extra_compute_fix(arg[iarg+1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user