]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use the implicit Q1 mapping instead of specifying one explicitly. This gets us around...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 13 Feb 2006 23:24:28 +0000 (23:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 13 Feb 2006 23:24:28 +0000 (23:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@12379 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out.cc
deal.II/deal.II/source/numerics/data_out_faces.cc
deal.II/deal.II/source/numerics/data_out_stack.cc

index c569e92ee1e76755031d3bfcfa3acfcf15f8ae57..063de31820443695a2e8f3ece61ec2384dafc800 100644 (file)
@@ -388,14 +388,8 @@ void DataOut<dim,DH>::build_some_patches (Data data)
   QTrapez<1>     q_trapez;
   QIterated<dim> patch_points (q_trapez, data.n_subdivisions);
 
-                                  // since most output formats can't
-                                  // handle cells that are not
-                                  // transformed using a Q1 mapping,
-                                  // we don't support anything else
-                                  // as well
-  static const MappingQ1<dim> mapping;
   typename SelectFEValues<DH<dim> >::FEValues
-    x_fe_patch_values (mapping, this->dofs->get_fe(),
+    x_fe_patch_values (this->dofs->get_fe(),
                        patch_points, update_values);
 
   const unsigned int n_q_points = patch_points.n_quadrature_points;
index dbd7e69189c1ff4d3ff9848b87c94dd798bc4bab..94bec6260833aeef21cfb591e8b6834ae54413f1 100644 (file)
@@ -35,14 +35,8 @@ void DataOutFaces<dim,DH>::build_some_patches (Data data)
   QTrapez<1>        q_trapez;
   QIterated<dim-1>  patch_points (q_trapez, data.n_subdivisions);
   
-                                  // since most output formats can't
-                                  // handle cells that are not
-                                  // transformed using a Q1 mapping,
-                                  // we don't support anything else
-                                  // as well
-  static const MappingQ1<dim> mapping;
   typename SelectFEValues<DH<dim> >::FEFaceValues
-    x_fe_patch_values (mapping, this->dofs->get_fe(),
+    x_fe_patch_values (this->dofs->get_fe(),
                        patch_points, update_values);
 
   const unsigned int n_q_points = patch_points.n_quadrature_points;
index 89760b939ae0829bd74dab348a6cf2ed6278989b..41fb42845acf3cd8bcb5f09f5e79beecbe5bcfa1 100644 (file)
@@ -257,14 +257,8 @@ void DataOutStack<dim,DH>::build_patches (const unsigned int n_subdivisions)
   QTrapez<1>     q_trapez;
   QIterated<dim> patch_points (q_trapez, n_subdivisions);
   
-                                  // since most output formats can't
-                                  // handle cells that are not
-                                  // transformed using a Q1 mapping,
-                                  // we don't support anything else
-                                  // as well
-  static const MappingQ1<dim> mapping;
   typename SelectFEValues<DH<dim> >::FEValues
-    x_fe_patch_values (mapping, dof_handler->get_fe(),
+    x_fe_patch_values (dof_handler->get_fe(),
                        patch_points, update_values);
   const unsigned int n_q_points = patch_points.n_quadrature_points;
   std::vector<double>          patch_values (n_q_points);

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.