From 8a1346bb2cda832916556d4b751db2b7e385fbd2 Mon Sep 17 00:00:00 2001 From: jmpearl Date: Thu, 11 Jan 2024 15:42:16 -0800 Subject: [PATCH] flipped the pressure names --- src/FSISPH/SolidFSISPHEvaluateDerivatives.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FSISPH/SolidFSISPHEvaluateDerivatives.cc b/src/FSISPH/SolidFSISPHEvaluateDerivatives.cc index 90e0019f6..9c2a81379 100644 --- a/src/FSISPH/SolidFSISPHEvaluateDerivatives.cc +++ b/src/FSISPH/SolidFSISPHEvaluateDerivatives.cc @@ -90,8 +90,8 @@ secondDerivativesLoop(const typename Dimension::Scalar time, const auto massDensity = state.fields(HydroFieldNames::massDensity, 0.0); const auto specificThermalEnergy = state.fields(HydroFieldNames::specificThermalEnergy, 0.0); const auto H = state.fields(HydroFieldNames::H, SymTensor::zero); - const auto damagedPressure = state.fields(HydroFieldNames::pressure, 0.0); - const auto pressure = state.fields(FSIFieldNames::damagedPressure, 0.0); + const auto damagedPressure = state.fields(FSIFieldNames::damagedPressure, 0.0); + const auto pressure = state.fields(HydroFieldNames::pressure, 0.0); const auto soundSpeed = state.fields(HydroFieldNames::soundSpeed, 0.0); const auto S = state.fields(SolidFieldNames::deviatoricStress, SymTensor::zero); const auto K = state.fields(SolidFieldNames::bulkModulus, 0.0);