From 73a5eead0ab56d18b902589e8c53e3da1790df79 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 28 Jan 2020 06:27:57 +0100 Subject: [PATCH] [PL/HM] Use free fct. checkRequiredProperties. --- ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp b/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp index 26ad711fb42..2ae2f12828f 100644 --- a/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp +++ b/ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp @@ -169,9 +169,9 @@ std::unique_ptr<Process> createHydroMechanicsProcess( std::array const requiredSolidProperties = {MaterialPropertyLib::porosity}; for (auto const& m : media) { - m.second->phase("Gas").checkRequiredProperties(requiredGasProperties); - m.second->phase("Solid").checkRequiredProperties( - requiredSolidProperties); + checkRequiredProperties(m.second->phase("Gas"), requiredGasProperties); + checkRequiredProperties(m.second->phase("Solid"), + requiredSolidProperties); } // Initial stress conditions -- GitLab