Adding errors to unpatched uses of vest with vremap

This commit is contained in:
jtclemm
2024-07-25 17:51:48 -06:00
parent 6abbbdba6c
commit 49b377fc3d
7 changed files with 37 additions and 0 deletions

View File

@ -144,6 +144,11 @@ void FixSMDIntegrateUlsph::init() {
dtv = update->dt;
dtf = 0.5 * update->dt * force->ftm2v;
vlimitsq = vlimit * vlimit;
// Cannot use vremap since its effects aren't propagated to vest
// see RHEO or SPH packages for examples patches
if (domain->deform_vremap)
error->all(FLERR, "Fix smd/integrate_ulsph cannot be used with velocity remapping");
}
/* ----------------------------------------------------------------------