From 47a03f8786bd95a9e758d1b9799fceef0d0231ba Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 27 Jun 2022 06:28:30 +0200 Subject: [PATCH] Fix a few tests --- tests/mappings/mapping_q_eulerian_08.cc | 3 ++- tests/mappings/mapping_q_eulerian_14.cc | 3 ++- tests/matrix_free/pre_and_post_loops_05.cc | 3 ++- tests/matrix_free/stokes_computation.cc | 3 ++- tests/numerics/project_parallel_qpmf_common.h | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/mappings/mapping_q_eulerian_08.cc b/tests/mappings/mapping_q_eulerian_08.cc index 681aac0869..75bd58c2a5 100644 --- a/tests/mappings/mapping_q_eulerian_08.cc +++ b/tests/mappings/mapping_q_eulerian_08.cc @@ -319,7 +319,8 @@ test(const unsigned int n_ref = 0) mg_additional_data); MatrixFree mg_level; - mg_level.reinit(dof_handler, + mg_level.reinit(MappingQ1{}, + dof_handler, level_constraints, quadrature_formula, mg_additional_data); diff --git a/tests/mappings/mapping_q_eulerian_14.cc b/tests/mappings/mapping_q_eulerian_14.cc index ae32890603..44766fffea 100644 --- a/tests/mappings/mapping_q_eulerian_14.cc +++ b/tests/mappings/mapping_q_eulerian_14.cc @@ -359,7 +359,8 @@ test(const unsigned int n_ref = 0) mg_additional_data); MatrixFree mg_level; - mg_level.reinit(dof_handler, + mg_level.reinit(MappingQ1{}, + dof_handler, level_constraints, quadrature_formula, mg_additional_data); diff --git a/tests/matrix_free/pre_and_post_loops_05.cc b/tests/matrix_free/pre_and_post_loops_05.cc index ec4180b500..d4494ef0b7 100644 --- a/tests/matrix_free/pre_and_post_loops_05.cc +++ b/tests/matrix_free/pre_and_post_loops_05.cc @@ -160,7 +160,8 @@ test() const QGauss<1> quad(fe_degree + 1); typename MatrixFree::AdditionalData data; data.tasks_parallel_scheme = MatrixFree::AdditionalData::none; - mf_data.reinit(std::vector *>({&dof2, &dof}), + mf_data.reinit(MappingQ1{}, + std::vector *>({&dof2, &dof}), std::vector *>( {&constraints, &constraints}), std::vector>({quad}), diff --git a/tests/matrix_free/stokes_computation.cc b/tests/matrix_free/stokes_computation.cc index b6b2410686..e74d93cf81 100644 --- a/tests/matrix_free/stokes_computation.cc +++ b/tests/matrix_free/stokes_computation.cc @@ -1070,7 +1070,8 @@ namespace StokesClass std::shared_ptr> stokes_mf_storage( new MatrixFree()); - stokes_mf_storage->reinit(stokes_dofs, + stokes_mf_storage->reinit(MappingQ1{}, + stokes_dofs, stokes_constraints, QGauss<1>(degree_u + 1), additional_data_stokes); diff --git a/tests/numerics/project_parallel_qpmf_common.h b/tests/numerics/project_parallel_qpmf_common.h index d9a89c706b..8e8b3d4bd9 100644 --- a/tests/numerics/project_parallel_qpmf_common.h +++ b/tests/numerics/project_parallel_qpmf_common.h @@ -145,7 +145,8 @@ do_project(const parallel::distributed::Triangulation &triangulation, additional_data.mapping_update_flags = update_values | update_JxW_values | update_quadrature_points; std::shared_ptr> data(new MatrixFree()); - data->reinit(dof_handlers_mf, + data->reinit(MappingQ1{}, + dof_handlers_mf, constraints_mf, quadrature_formula_1d, additional_data); -- 2.39.5