]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a few tests 14058/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Mon, 27 Jun 2022 04:28:30 +0000 (06:28 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Mon, 27 Jun 2022 04:28:30 +0000 (06:28 +0200)
tests/mappings/mapping_q_eulerian_08.cc
tests/mappings/mapping_q_eulerian_14.cc
tests/matrix_free/pre_and_post_loops_05.cc
tests/matrix_free/stokes_computation.cc
tests/numerics/project_parallel_qpmf_common.h

index 681aac08694d367f31efe7e5ca4050b5dad2356d..75bd58c2a56fb210040a6ad0f7c54bdcc2717342 100644 (file)
@@ -319,7 +319,8 @@ test(const unsigned int n_ref = 0)
                             mg_additional_data);
 
       MatrixFree<dim, LevelNumberType> mg_level;
-      mg_level.reinit(dof_handler,
+      mg_level.reinit(MappingQ1<dim>{},
+                      dof_handler,
                       level_constraints,
                       quadrature_formula,
                       mg_additional_data);
index ae32890603229268a702d4030aeaecbc27ce042e..44766fffea5a69f29b0ae516b7435d21de3ab2cb 100644 (file)
@@ -359,7 +359,8 @@ test(const unsigned int n_ref = 0)
                             mg_additional_data);
 
       MatrixFree<dim, LevelNumberType> mg_level;
-      mg_level.reinit(dof_handler,
+      mg_level.reinit(MappingQ1<dim>{},
+                      dof_handler,
                       level_constraints,
                       quadrature_formula,
                       mg_additional_data);
index ec4180b500ec5bdf11852d5625cb742589764c6d..d4494ef0b72d3918fb421ce792aeebf2447254e1 100644 (file)
@@ -160,7 +160,8 @@ test()
     const QGauss<1>                                  quad(fe_degree + 1);
     typename MatrixFree<dim, number>::AdditionalData data;
     data.tasks_parallel_scheme = MatrixFree<dim, number>::AdditionalData::none;
-    mf_data.reinit(std::vector<const DoFHandler<dim> *>({&dof2, &dof}),
+    mf_data.reinit(MappingQ1<dim>{},
+                   std::vector<const DoFHandler<dim> *>({&dof2, &dof}),
                    std::vector<const AffineConstraints<double> *>(
                      {&constraints, &constraints}),
                    std::vector<Quadrature<1>>({quad}),
index b6b2410686d5a6b86e12797507afb8b854797e84..e74d93cf8130e12e9bd2b8c84ee581bc1a24fb76 100644 (file)
@@ -1070,7 +1070,8 @@ namespace StokesClass
 
     std::shared_ptr<MatrixFree<dim, double>> stokes_mf_storage(
       new MatrixFree<dim, double>());
-    stokes_mf_storage->reinit(stokes_dofs,
+    stokes_mf_storage->reinit(MappingQ1<dim>{},
+                              stokes_dofs,
                               stokes_constraints,
                               QGauss<1>(degree_u + 1),
                               additional_data_stokes);
index d9a89c706bc31fa15e2b2c9de334d6925b803700..8e8b3d4bd96f0beb0e3221de9cfe2b4ede03f06d 100644 (file)
@@ -145,7 +145,8 @@ do_project(const parallel::distributed::Triangulation<dim> &triangulation,
   additional_data.mapping_update_flags =
     update_values | update_JxW_values | update_quadrature_points;
   std::shared_ptr<MatrixFree<dim, double>> data(new MatrixFree<dim, double>());
-  data->reinit(dof_handlers_mf,
+  data->reinit(MappingQ1<dim>{},
+               dof_handlers_mf,
                constraints_mf,
                quadrature_formula_1d,
                additional_data);

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.