From 834683b0af6f033fce1d457bd93b1386ef47c499 Mon Sep 17 00:00:00 2001
From: Andreas Lauser <and@poware.org>
Date: Tue, 14 Sep 2010 09:48:26 +0000
Subject: [PATCH] 2p test: change initial pressure inside domain to 10^5 Pa,
 add some properties

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4292 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/boxmodels/2p/lensproblem.hh | 11 ++++++++++-
 test/boxmodels/2p/test_2p.cc     |  2 ++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/test/boxmodels/2p/lensproblem.hh b/test/boxmodels/2p/lensproblem.hh
index 71d929cd18..0c1ece2044 100644
--- a/test/boxmodels/2p/lensproblem.hh
+++ b/test/boxmodels/2p/lensproblem.hh
@@ -101,6 +101,15 @@ SET_PROP(LensProblem, SpatialParameters)
     typedef Dumux::LensSpatialParameters<TypeTag> type;
 };
 
+// Enable the time step ramp up inside the newton method?
+SET_BOOL_PROP(LensProblem, EnableTimeStepRampUp, true);
+
+// Enable partial reassembly of the jacobian matrix?
+SET_BOOL_PROP(LensProblem, EnablePartialReassemble, true);
+
+// Enable reuse of jacobian matrices?
+SET_BOOL_PROP(LensProblem, EnableJacobianRecycling, false);
+
 // Enable gravity
 SET_BOOL_PROP(LensProblem, EnableGravity, true);
 }
@@ -367,7 +376,7 @@ public:
                  int scvIdx) const
     {
         // no DNAPL, some random pressure
-        values[pwIdx] = 0.0;
+        values[pwIdx] = 1e5;
         values[SnIdx] = 0.0;
     }
     // \}
diff --git a/test/boxmodels/2p/test_2p.cc b/test/boxmodels/2p/test_2p.cc
index f0335a2863..f469a706ab 100644
--- a/test/boxmodels/2p/test_2p.cc
+++ b/test/boxmodels/2p/test_2p.cc
@@ -188,6 +188,8 @@ int main(int argc, char** argv)
         upperRight[1] = 4.0;
         res[0] = 96;
         res[1] = 64;
+        //res[0] = 24;
+        //res[1] = 16;
 
         std::auto_ptr<Grid> grid(CreateGrid<Grid, Scalar>::create(upperRight, res));
 
-- 
GitLab