diff --git a/test/boxmodels/2p/lensproblem.hh b/test/boxmodels/2p/lensproblem.hh index 71d929cd1816985b400eb28898692049ba37eee5..0c1ece20446654c4fcc33247e6c280e2399b5646 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 f0335a2863d6e966414e0c07060b0dd58d51c63b..f469a706ab2618cae801d0f7403f2eb87d23fc77 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));