From: heister Date: Wed, 5 Jun 2013 20:27:32 +0000 (+0000) Subject: step-32: fix some function calls X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=745daeb29fbb4e8f8a2e356572b08d65598c3e5c;p=dealii-svn.git step-32: fix some function calls git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29768 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index b83a8f5143..0293847747 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -71,7 +71,6 @@ namespace LA #ifdef USE_PETSC_LA using namespace dealii::LinearAlgebraPETSc; #else -//using namespace dealii::LinearAlgebraDealII; using namespace dealii::LinearAlgebraTrilinos; #endif } @@ -1879,7 +1878,7 @@ namespace Step32 sp.compress(); - stokes_matrix.reinit (stokes_partitioning, sp, MPI_COMM_WORLD); + stokes_matrix.reinit (stokes_partitioning, sp, MPI_COMM_WORLD); #else sp.compress(); stokes_matrix.reinit (sp); @@ -1930,7 +1929,7 @@ namespace Step32 sp.compress(); - stokes_matrix.reinit (stokes_partitioning, sp, MPI_COMM_WORLD); + stokes_preconditioner_matrix.reinit (stokes_partitioning, sp, MPI_COMM_WORLD); #else sp.compress(); @@ -2136,13 +2135,13 @@ namespace Step32 setup_temperature_matrices (temperature_partitioning); stokes_rhs.reinit (stokes_partitioning, MPI_COMM_WORLD); - stokes_solution.reinit (stokes_relevant_partitioning, MPI_COMM_WORLD); + stokes_solution.reinit (stokes_partitioning, stokes_relevant_partitioning, MPI_COMM_WORLD); old_stokes_solution.reinit (stokes_solution); temperature_rhs.reinit (temperature_partitioning, MPI_COMM_WORLD); - temperature_solution.reinit (temperature_relevant_partitioning, MPI_COMM_WORLD); - old_temperature_solution.reinit (temperature_solution); - old_old_temperature_solution.reinit (temperature_solution); + temperature_solution.reinit (temperature_partitioning, temperature_relevant_partitioning, MPI_COMM_WORLD); + old_temperature_solution.reinit (temperature_partitioning, temperature_relevant_partitioning, MPI_COMM_WORLD); + old_old_temperature_solution.reinit (temperature_partitioning, temperature_relevant_partitioning, MPI_COMM_WORLD); rebuild_stokes_matrix = true; rebuild_stokes_preconditioner = true; diff --git a/deal.II/examples/step-32/step-32.prm b/deal.II/examples/step-32/step-32.prm index 6c2abfcbee..7b9bea8a5b 100644 --- a/deal.II/examples/step-32/step-32.prm +++ b/deal.II/examples/step-32/step-32.prm @@ -13,7 +13,7 @@ set Initial adaptive refinement = 2 # The number of global refinement steps performed on the initial coarse mesh, # before the problem is first solved there. -set Initial global refinement = 5 +set Initial global refinement = 3 # The number of time steps between each generation of graphical output files. set Time steps between graphical output = 50