Commit 4bf09b64 authored by Dmitry Yu. Naumov's avatar Dmitry Yu. Naumov

[PL/HM] Fix pressure interpolated for staggered.

Withouth the if-condition the interpolated values from the pressure process (0)
were overwritten by the displacement process (id = 1).
parent d4d93f79
Pipeline #1492 passed with stages
in 33 minutes and 26 seconds
......@@ -524,6 +524,11 @@ void HydroMechanicsProcess<DisplacementDim>::computeSecondaryVariableConcrete(
double const t, double const dt, GlobalVector const& x,
GlobalVector const& x_dot, const int process_id)
{
if (process_id != 0)
{
return;
}
DBUG("Compute the secondary variables for HydroMechanicsProcess.");
ProcessLib::ProcessVariable const& pv = getProcessVariables(process_id)[0];
GlobalExecutor::executeSelectedMemberOnDereferenced(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment