From 90bd3bfa00cbbdded219f958857e940eaeb22c3d Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 6 Oct 2011 19:10:02 +0000 Subject: [PATCH] Default to 2d for speed's sake. git-svn-id: https://svn.dealii.org/trunk@24538 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index b689c959d6..0cd1611cc5 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -4392,6 +4392,13 @@ namespace Step32 // simply use the \step-32.prm // file which is distributed together with // the program. + // + // Because 3d computations are simply + // very slow unless you throw a lot + // of processors at them, the program + // defaults to 2d. You can get the 3d + // version by changing the constant + // dimension below to 3. int main (int argc, char *argv[]) { using namespace Step32; @@ -4409,7 +4416,7 @@ int main (int argc, char *argv[]) else parameter_filename = "step-32.prm"; - const int dim = 3; + const int dim = 2; BoussinesqFlowProblem::Parameters parameters(parameter_filename); BoussinesqFlowProblem flow_problem (parameters); flow_problem.run (); -- 2.39.5