Adding errors to unpatched uses of vest with vremap
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user