]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Use a more reasonable quadrature order.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 9 Jan 2016 19:52:51 +0000 (14:52 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 9 Jan 2016 21:46:35 +0000 (16:46 -0500)
cdr/solver/cdr.cc

index 2cfa7336432c0909662155929b33f665033a79d8..3cc8469e19ece9597a839898b821cb182b7fa90f 100644 (file)
@@ -104,7 +104,7 @@ CDRProblem<dim>::CDRProblem(const CDR::Parameters &parameters) :
   n_mpi_processes {Utilities::MPI::n_mpi_processes(mpi_communicator)},
   this_mpi_process {Utilities::MPI::this_mpi_process(mpi_communicator)},
   fe(parameters.fe_order),
-  quad(3*(2 + parameters.fe_order)/2),
+  quad(parameters.fe_order + 2),
   boundary_description(Point<dim>()),
   triangulation(mpi_communicator, typename Triangulation<dim>::MeshSmoothing
                 (Triangulation<dim>::smoothing_on_refinement |

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.