]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid using deprecated MappingFEField class in tests.
authorMarc Fehling <mafehling.git@gmail.com>
Fri, 20 Nov 2020 02:25:42 +0000 (19:25 -0700)
committerMarc Fehling <mafehling.git@gmail.com>
Mon, 23 Nov 2020 17:44:13 +0000 (10:44 -0700)
tests/mappings/mapping_fe_field_04.cc
tests/mappings/mapping_fe_field_05.cc
tests/mappings/mapping_fe_field_06.cc
tests/mappings/mapping_fe_field_07.cc
tests/mappings/mapping_fe_field_08.cc

index 19e86f4d1e708d193348b9b1fec24aaa5bd165ec..49ad68e7b540b3c5e6bdd7594cb8a4bc27dee648 100644 (file)
@@ -68,10 +68,7 @@ test()
   MGTransferMatrixFree<dim, double> transfer;
   transfer.build(dh);
   transfer.interpolate_to_mg(dh, level_vectors, map_vector);
-  MappingFEField<dim,
-                 spacedim,
-                 LinearAlgebra::distributed::Vector<double>,
-                 DoFHandler<dim>>
+  MappingFEField<dim, spacedim, LinearAlgebra::distributed::Vector<double>>
     mapping(dh, level_vectors);
 
   QGauss<dim>   quad(1);
index 784de1c32fcd707fe45dfa254d62dd4fbd38e29a..497bf71777741cf6c1e433e0a7371c50eae65b4e 100644 (file)
@@ -68,10 +68,7 @@ test()
   MGTransferMatrixFree<dim, double> transfer;
   transfer.build(dh);
   transfer.interpolate_to_mg(dh, level_vectors, map_vector);
-  MappingFEField<dim,
-                 spacedim,
-                 LinearAlgebra::distributed::Vector<double>,
-                 DoFHandler<dim>>
+  MappingFEField<dim, spacedim, LinearAlgebra::distributed::Vector<double>>
                        mapping(dh, level_vectors);
   MappingQGeneric<dim> mapping_ref(fe.degree);
 
index cd2fb4192548615b8d78a9310f4dd13f1a8bd9f3..a4df982c76dc3086a356d9369bcc0ce051730267 100644 (file)
@@ -98,10 +98,7 @@ test()
       level_vectors[level].update_ghost_values();
     }
 
-  MappingFEField<dim,
-                 spacedim,
-                 LinearAlgebra::distributed::Vector<double>,
-                 DoFHandler<dim>>
+  MappingFEField<dim, spacedim, LinearAlgebra::distributed::Vector<double>>
     mapping(dh, level_vectors);
 
   QGauss<dim>   quad(1);
index ef5826ebf4c5e1d9583863c92f8a58f6134d0b5e..71bc4aa9171e4323481b8f6a6c84388d70fd33fd 100644 (file)
@@ -54,9 +54,8 @@ test()
   // Create a Mapping
   Vector<double> map_vector(dh.n_dofs());
   VectorTools::get_position_vector(dh, map_vector);
-  MappingFEField<dim, spacedim, Vector<double>, DoFHandler<dim>> mapping(
-    dh, map_vector);
-  MappingQGeneric<dim> mapping_ref(fe.degree);
+  MappingFEField<dim, spacedim, Vector<double>> mapping(dh, map_vector);
+  MappingQGeneric<dim>                          mapping_ref(fe.degree);
 
   QGauss<dim>   quad(1);
   FEValues<dim> fe_values_ref(mapping_ref, fe, quad, update_quadrature_points);
index ba949fec326b215edd1bb9a3e58d2d4a168fb227..ed50caefd097cfe08bc401861c0c579a79c864cc 100644 (file)
@@ -182,9 +182,7 @@ test(unsigned int n_ref)
   nodes.reinit(dofh.n_dofs());
 
   VectorTools::get_position_vector(dofh, nodes, mask);
-  MappingFEField<dim, dim, Vector<double>, DoFHandler<dim>> mapping(dofh,
-                                                                    nodes,
-                                                                    mask);
+  MappingFEField<dim, dim, Vector<double>> mapping(dofh, nodes, mask);
 
   deallog << "Test with MappingQGeneric in " << dim << "D on "
           << tria.n_active_cells() << " cells:" << std::endl;

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.