]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Delete some not-needed objects from test of DiscreteQuadratureGenerator.
authorSimon Sticko <simon@sticko.se>
Fri, 22 Apr 2022 11:47:35 +0000 (13:47 +0200)
committerSimon Sticko <simon@sticko.se>
Fri, 22 Apr 2022 11:58:19 +0000 (13:58 +0200)
tests/non_matching/discrete_quadrature_generator.cc

index 6afaf4ba09047921ee9248a6096b7804c2e7f28c..666ce683a8bb37fc8d53224ee5c3c1142348a162 100644 (file)
 #include <deal.II/base/quadrature_lib.h>
 
 #include <deal.II/fe/fe_q.h>
-#include <deal.II/fe/mapping_cartesian.h>
 
 #include <deal.II/grid/grid_generator.h>
 
-#include <deal.II/non_matching/mesh_classifier.h>
 #include <deal.II/non_matching/quadrature_generator.h>
 
 #include <deal.II/numerics/vector_tools.h>
@@ -61,12 +59,9 @@ private:
   hp::FECollection<dim> fe_collection;
   DoFHandler<dim>       dof_handler;
 
-  hp::MappingCollection<dim> mapping_collection;
-  hp::QCollection<dim>       q_collection;
-  hp::QCollection<1>         q_collection1D;
+  hp::QCollection<1> q_collection1D;
 
-  Vector<double>                   level_set;
-  NonMatching::MeshClassifier<dim> mesh_classifier;
+  Vector<double> level_set;
 };
 
 
@@ -74,12 +69,9 @@ private:
 template <int dim>
 Test<dim>::Test()
   : dof_handler(triangulation)
-  , mesh_classifier(dof_handler, level_set)
 {
   fe_collection.push_back(FE_Q<dim>(1));
-  mapping_collection.push_back(MappingCartesian<dim>());
   const unsigned int n_quadrature_points = 1;
-  q_collection.push_back(QGauss<dim>(n_quadrature_points));
   q_collection1D.push_back(QGauss<1>(n_quadrature_points));
 }
 
@@ -92,7 +84,6 @@ Test<dim>::run()
   setup_mesh();
   dof_handler.distribute_dofs(fe_collection);
   setup_discrete_level_set();
-  mesh_classifier.reclassify();
   test_discrete_quadrature_generator();
   test_discrete_face_quadrature_generator();
 }

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.