Adding multiphase support, new stress

This commit is contained in:
jtclemm
2023-11-27 15:53:19 -07:00
parent f9b385061b
commit 1e26c6d0c5
12 changed files with 222 additions and 28 deletions

View File

@ -279,6 +279,9 @@ void FixRHEO::setup(int /*vflag*/)
error->one(FLERR, "Fix rheo/viscosity does not fully cover all atoms");
if (!t_coverage_flag)
error->one(FLERR, "Fix rheo/thermal does not fully cover all atoms");
if (rhosum_flag)
compute_rhosum->compute_peratom();
}
/* ---------------------------------------------------------------------- */
@ -419,10 +422,11 @@ void FixRHEO::pre_force(int /*vflag*/)
status[i] &= OPTIONSMASK;
// Calculate surfaces, update status
if (surface_flag) compute_surface->compute_peratom();
if (shift_flag)
compute_vshift->correct_surfaces();
if (surface_flag) {
compute_surface->compute_peratom();
if (shift_flag)
compute_vshift->correct_surfaces();
}
}
/* ---------------------------------------------------------------------- */