From cbbbca49edeedd8c91a7983ac3d58091325e5a04 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 27 Nov 2019 14:36:44 +0100
Subject: [PATCH] [PL] H2,rho; Remove unused getDerivGasDensity().

---
 .../TwoPhaseFlowWithPrhoMaterialProperties.cpp         | 10 ----------
 .../TwoPhaseFlowWithPrhoMaterialProperties.h           |  1 -
 2 files changed, 11 deletions(-)

diff --git a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.cpp b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.cpp
index a0d7db9596d..2a4ae2113db 100644
--- a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.cpp
+++ b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.cpp
@@ -98,16 +98,6 @@ double TwoPhaseFlowWithPrhoMaterialProperties::getGasDensity(
     return _gas_density->getValue(vars);
 }
 
-double TwoPhaseFlowWithPrhoMaterialProperties::getDerivGasDensity(
-    const double p, const double T) const
-{
-    ArrayType vars;
-    vars[static_cast<int>(MaterialLib::Fluid::PropertyVariableType::T)] = T;
-    vars[static_cast<int>(MaterialLib::Fluid::PropertyVariableType::p)] = p;
-
-    return _gas_density->getdValue(vars,
-                                   MaterialLib::Fluid::PropertyVariableType::p);
-}
 double TwoPhaseFlowWithPrhoMaterialProperties::getLiquidViscosity(
     const double p, const double T) const
 {
diff --git a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h
index 13c4687ca07..66a7cb9befa 100644
--- a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h
+++ b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h
@@ -89,7 +89,6 @@ public:
     double getGasDensity(const double p, const double T) const;
     double getGasViscosity(const double p, const double T) const;
     double getLiquidViscosity(const double p, const double T) const;
-    double getDerivGasDensity(double const p, double const T) const;
     bool computeConstitutiveRelation(
         double const t,
         ParameterLib::SpatialPosition const& x_position,
-- 
GitLab