Drop coupled_xs from computeSecondaryVars. Fix pressure_interpolated in HM staggered.
Using the staggered scheme for HydroMechanics does not output the pressure_interpolated. The according function call in LocalAssemblerInterface::computeSecondaryVariable was prevented by
if (coupled_xs != nullptr)
{
return;
}
These three lines were removed. Furthermore was noticed that the parameter coupled_xs is not used anywhere else, so it was removed from the parameter list. This changed parameter list was updated in
ogs/ProcessLib/HeatConduction/HeatConductionProcess.cpp HeatConductionLocalAssemblerInterface::computeSecondaryVariable
ogs/ProcessLib/HeatTransportBHE/HeatTransportBHEProcess.cpp HeatTransportBHELocalAssemblerInterface::computeSecondaryVariable
ogs/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp LocalAssemblerIF::computeSecondaryVariable
ogs/ProcessLib/LIE/SmallDeformation/SmallDeformationProcess.cpp SmallDeformationLocalAssemblerInterface::computeSecondaryVariable
ogs/ProcessLib/LiquidFlow/LiquidFlowProcess.cpp LiquidFlowLocalAssemblerInterface::computeSecondaryVariable
ogs/ProcessLib/RichardsMechanics/RichardsMechanicsProcess.cpp LocalAssemblerIF::computeSecondaryVariable, _local_assemblers,
ogs/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp LocalAssemblerInterface::computeSecondaryVariable
ogs/ProcessLib/ThermoHydroMechanics/ThermoHydroMechanicsProcess.cpp LocalAssemblerInterface::computeSecondaryVariable
Note, there is also a method with the same name (computeSecondaryVariable) in ProcessLib.
The pressure_interpolated field is now being correctly updated for the staggered scheme of the HM process.
Since these changes are part of a bugfix, there are no tests and no documentations.