diff --git a/ProcessLib/ComponentTransport/CreateLookupTable.cpp b/ProcessLib/ComponentTransport/CreateLookupTable.cpp index 69729d94c6957d9f9abecacca8d23cb086c7ebe4..8ffb09853af6d35bf263b1f84d849f5dcc5f4348 100644 --- a/ProcessLib/ComponentTransport/CreateLookupTable.cpp +++ b/ProcessLib/ComponentTransport/CreateLookupTable.cpp @@ -40,7 +40,7 @@ std::vector<std::size_t> getIndexVector(std::vector<double> const& data, if (idx_vec.empty()) { - OGS_FATAL("No matching element {:d} is found in the vector.", value); + OGS_FATAL("No matching element {} is found in the vector.", value); } return idx_vec; diff --git a/ProcessLib/HeatTransportBHE/CreateHeatTransportBHEProcess.cpp b/ProcessLib/HeatTransportBHE/CreateHeatTransportBHEProcess.cpp index c942c0224fb4f1226f224ff9aed7f9075a731172..d9eec79de648c961fc1e4ae45cccaa67199e8fb2 100644 --- a/ProcessLib/HeatTransportBHE/CreateHeatTransportBHEProcess.cpp +++ b/ProcessLib/HeatTransportBHE/CreateHeatTransportBHEProcess.cpp @@ -67,8 +67,9 @@ std::unique_ptr<Process> createHeatTransportBHEProcess( pv_name.find("temperature_BHE") == std::string::npos) { OGS_FATAL( - "Found a process variable name '{:s}'. It should be " - "'temperature_soil' or 'temperature_BHE_X'"); + "Found a process variable name '{}'. It should be " + "'temperature_soil' or 'temperature_BHE_X'", + pv_name); } auto variable = std::find_if(variables.cbegin(), variables.cend(), [&pv_name](ProcessVariable const& v) diff --git a/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp b/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp index a16494ee02a7c72ea50e8c619206513fc9f89ffa..1acb8891f9c705511804e156e514e0e420c92d16 100644 --- a/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp +++ b/ProcessLib/LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp @@ -67,8 +67,9 @@ std::unique_ptr<Process> createHydroMechanicsProcess( pv_name.find("displacement_jump") != 0) { OGS_FATAL( - "Found a process variable name '{:s}'. It should be " - "'displacement' or 'displacement_jumpN' or 'pressure'"); + "Found a process variable name '{}'. It should be " + "'displacement' or 'displacement_jumpN' or 'pressure'", + pv_name); } auto variable = std::find_if(variables.cbegin(), variables.cend(), [&pv_name](ProcessVariable const& v) diff --git a/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp b/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp index 204739bc10cf87530360a21c0728a5b97758911c..2e2241fcd2c0bbb0b554aa44dec13e630200427f 100644 --- a/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp +++ b/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp @@ -60,7 +60,8 @@ std::unique_ptr<Process> createSmallDeformationProcess( OGS_FATAL( "Found a process variable name '{:s}'. It should be " "'displacement' or 'displacement_jumpN' or " - "'displacement_junctionN'"); + "'displacement_junctionN'", + pv_name); } if (pv_name.find("displacement_jump") == 0) {