intial refactoring of THERMO_ENERGY mask
This commit is contained in:
@ -152,8 +152,8 @@ void ComputePEAtom::compute_peratom()
|
||||
// add in per-atom contributions from relevant fixes
|
||||
// always only for owned atoms, not ghost
|
||||
|
||||
if (fixflag && modify->n_thermo_energy_atom)
|
||||
modify->thermo_energy_atom(nlocal,energy);
|
||||
if (fixflag && modify->n_energy_atom)
|
||||
modify->energy_atom(nlocal,energy);
|
||||
|
||||
// communicate ghost energy between neighbor procs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user