From da07132d6f22e4db9e7e34192ab25f5586450070 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Wed, 19 Feb 2020 06:49:01 +0100
Subject: [PATCH] [PL/LiquidFlow] Add dummy dt in getIntPtDarcyVelocity.

The dt will be used later in subsequent commits using MPL properties.
---
 ProcessLib/LiquidFlow/LiquidFlowLocalAssembler-impl.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler-impl.h b/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler-impl.h
index 0ecec827009..6b166a5489b 100644
--- a/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler-impl.h
+++ b/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler-impl.h
@@ -177,6 +177,10 @@ LiquidFlowLocalAssembler<ShapeFunction, IntegrationMethod, GlobalDim>::
         std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
         std::vector<double>& velocity_cache) const
 {
+    // TODO (tf) Temporary value not used by current material models. Need
+    // extension of secondary variable interface.
+    double const dt = std::numeric_limits<double>::quiet_NaN();
+
     constexpr int process_id = 0;
     auto const indices =
         NumLib::getIndices(_element.getID(), *dof_table[process_id]);
-- 
GitLab