From 4752cf47739099fb4e34ec429c3634a4ced87ae4 Mon Sep 17 00:00:00 2001 From: hanchuan <> Date: Wed, 12 May 2021 23:50:15 +0200 Subject: [PATCH] [2p][sequentical][mpfa] Remove forward declared LinearMaterialDefault and correct the pcSwCurveIsLinear --- .../sequential/2p/test_mpfa2pspatialparams.hh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/test/porousmediumflow/sequential/2p/test_mpfa2pspatialparams.hh b/test/porousmediumflow/sequential/2p/test_mpfa2pspatialparams.hh index d758aef5ec..7e2a04bf7c 100644 --- a/test/porousmediumflow/sequential/2p/test_mpfa2pspatialparams.hh +++ b/test/porousmediumflow/sequential/2p/test_mpfa2pspatialparams.hh @@ -26,6 +26,8 @@ #include #include #include +#include + namespace Dumux { @@ -46,11 +48,6 @@ struct SpatialParams { using type = Test2PSp } -// forward declaration -template -class LinearMaterialDefault; -class LinearMaterial; - /*! * \ingroup SequentialTwoPTests * \brief Test problem for the sequential 2p models @@ -73,14 +70,13 @@ class Test2PSpatialParams: public SequentialFVSpatialParams using GlobalPosition = typename Element::Geometry::GlobalCoordinate; using FieldMatrix = Dune::FieldMatrix; - using PcKrSwCurve = FluidMatrix::BrooksCoreyDefault; public: static constexpr bool pcSwCurveIsLinear() { - return std::is_same_v || std::is_same_v; + return std::is_same_v>; } const FieldMatrix& intrinsicPermeabilityAtPos(const GlobalPosition& globalPos) const -- GitLab