From: Marc Fehling Date: Fri, 20 Nov 2020 02:25:42 +0000 (-0700) Subject: Avoid using deprecated MappingFEField class in tests. X-Git-Tag: v9.3.0-rc1~815^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f80be826a14b197bb0e997b82f0d16d8d1f7a733;p=dealii.git Avoid using deprecated MappingFEField class in tests. --- diff --git a/tests/mappings/mapping_fe_field_04.cc b/tests/mappings/mapping_fe_field_04.cc index 19e86f4d1e..49ad68e7b5 100644 --- a/tests/mappings/mapping_fe_field_04.cc +++ b/tests/mappings/mapping_fe_field_04.cc @@ -68,10 +68,7 @@ test() MGTransferMatrixFree transfer; transfer.build(dh); transfer.interpolate_to_mg(dh, level_vectors, map_vector); - MappingFEField, - DoFHandler> + MappingFEField> mapping(dh, level_vectors); QGauss quad(1); diff --git a/tests/mappings/mapping_fe_field_05.cc b/tests/mappings/mapping_fe_field_05.cc index 784de1c32f..497bf71777 100644 --- a/tests/mappings/mapping_fe_field_05.cc +++ b/tests/mappings/mapping_fe_field_05.cc @@ -68,10 +68,7 @@ test() MGTransferMatrixFree transfer; transfer.build(dh); transfer.interpolate_to_mg(dh, level_vectors, map_vector); - MappingFEField, - DoFHandler> + MappingFEField> mapping(dh, level_vectors); MappingQGeneric mapping_ref(fe.degree); diff --git a/tests/mappings/mapping_fe_field_06.cc b/tests/mappings/mapping_fe_field_06.cc index cd2fb41925..a4df982c76 100644 --- a/tests/mappings/mapping_fe_field_06.cc +++ b/tests/mappings/mapping_fe_field_06.cc @@ -98,10 +98,7 @@ test() level_vectors[level].update_ghost_values(); } - MappingFEField, - DoFHandler> + MappingFEField> mapping(dh, level_vectors); QGauss quad(1); diff --git a/tests/mappings/mapping_fe_field_07.cc b/tests/mappings/mapping_fe_field_07.cc index ef5826ebf4..71bc4aa917 100644 --- a/tests/mappings/mapping_fe_field_07.cc +++ b/tests/mappings/mapping_fe_field_07.cc @@ -54,9 +54,8 @@ test() // Create a Mapping Vector map_vector(dh.n_dofs()); VectorTools::get_position_vector(dh, map_vector); - MappingFEField, DoFHandler> mapping( - dh, map_vector); - MappingQGeneric mapping_ref(fe.degree); + MappingFEField> mapping(dh, map_vector); + MappingQGeneric mapping_ref(fe.degree); QGauss quad(1); FEValues fe_values_ref(mapping_ref, fe, quad, update_quadrature_points); diff --git a/tests/mappings/mapping_fe_field_08.cc b/tests/mappings/mapping_fe_field_08.cc index ba949fec32..ed50caefd0 100644 --- a/tests/mappings/mapping_fe_field_08.cc +++ b/tests/mappings/mapping_fe_field_08.cc @@ -182,9 +182,7 @@ test(unsigned int n_ref) nodes.reinit(dofh.n_dofs()); VectorTools::get_position_vector(dofh, nodes, mask); - MappingFEField, DoFHandler> mapping(dofh, - nodes, - mask); + MappingFEField> mapping(dofh, nodes, mask); deallog << "Test with MappingQGeneric in " << dim << "D on " << tria.n_active_cells() << " cells:" << std::endl;