From da74d88602fa157d84a5882e3a43e3d355539752 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 13 Feb 2012 08:44:34 +0000 Subject: [PATCH] More minor changes. git-svn-id: https://svn.dealii.org/trunk@25049 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-43/step-43.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-43/step-43.cc b/deal.II/examples/step-43/step-43.cc index 20feab83c0..e0c819d04c 100644 --- a/deal.II/examples/step-43/step-43.cc +++ b/deal.II/examples/step-43/step-43.cc @@ -598,11 +598,11 @@ namespace Step43 // pertain to the macro time // stepping for the // velocity/pressure system: - const unsigned int degree; - Triangulation triangulation; double global_Omega_diameter; + const unsigned int degree; + const unsigned int darcy_degree; FESystem darcy_fe; DoFHandler darcy_dof_handler; @@ -670,7 +670,7 @@ namespace Step43 // (e.g. replace // RandomMedium::KInverse by // SingleCurvingCrack::KInverse). - const SingleCurvingCrack::KInverse k_inverse; + const RandomMedium::KInverse k_inverse; }; @@ -700,6 +700,8 @@ namespace Step43 template TwoPhaseFlowProblem::TwoPhaseFlowProblem (const unsigned int degree) : + triangulation (Triangulation::maximum_smoothing), + degree (degree), darcy_degree (degree), darcy_fe (FE_Q(darcy_degree+1), dim, @@ -2567,8 +2569,8 @@ namespace Step43 template void TwoPhaseFlowProblem::run () { - const unsigned int initial_refinement = (dim == 2 ? 4 : 2); - const unsigned int n_pre_refinement_steps = (dim == 2 ? 2 : 2); + const unsigned int initial_refinement = (dim == 2 ? 5 : 2); + const unsigned int n_pre_refinement_steps = (dim == 2 ? 3 : 2); GridGenerator::hyper_cube (triangulation, 0, 1); @@ -2604,7 +2606,7 @@ namespace Step43 std::cout << std::endl; - if (timestep_number % 100 == 0) + if (timestep_number % 200 == 0) output_results (); if (timestep_number % 25 == 0) -- 2.39.5