From d212d60d40d4f67f993df66b5caa5c224925b071 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Buchwald?= <joerg.buchwald@ufz.de>
Date: Fri, 30 Jul 2021 11:53:10 +0200
Subject: [PATCH] fix specific_heat_capacity

---
 ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h b/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h
index d72f66e4438..f2102d496c9 100644
--- a/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h
+++ b/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h
@@ -537,7 +537,7 @@ void ThermoRichardsFlowLocalAssembler<
             double const D_pv = D_v * drho_wv_dp;
 
             if (gas_phase &&
-                gas_phase->hasProperty(MPL::PropertyType::heat_capacity))
+                gas_phase->hasProperty(MPL::PropertyType::specific_heat_capacity))
             {
                 GlobalDimVectorType const grad_T = dNdx * T;
                 // Vapour velocity
@@ -999,7 +999,7 @@ void ThermoRichardsFlowLocalAssembler<
             double const D_pv = D_v * drho_wv_dp;
 
             if (gas_phase &&
-                gas_phase->hasProperty(MPL::PropertyType::heat_capacity))
+                gas_phase->hasProperty(MPL::PropertyType::specific_heat_capacity))
             {
                 GlobalDimVectorType const grad_T = dNdx * T;
                 GlobalDimVectorType const grad_p_cap = -dNdx * p_L;
-- 
GitLab