]> https://gitweb.dealii.org/ - dealii.git/commitdiff
new class FE_Q<dim>
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 18 Dec 2000 12:31:18 +0000 (12:31 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 18 Dec 2000 12:31:18 +0000 (12:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@3550 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out_faces.cc
deal.II/deal.II/source/numerics/data_out_rotation.cc

index c04b828c60d42ad81a1a75f9fbadb1d6839397f4..69a915349cc52c40ba0751c5e0e6ed2ee798dbb4 100644 (file)
 #include <fe/fe.h>
 #include <fe/fe_values.h>
 
+#include <fe/mapping_q1.h>
+
+//Todo: Do this more clever
+static MappingQ1<deal_II_dimension> mapping;
+
 #ifdef DEAL_II_USE_MT
 #include <base/thread_management.h>
 #endif
@@ -36,7 +41,8 @@ void DataOutFaces<dim>::build_some_patches (Data data)
   QTrapez<1>        q_trapez;
   QIterated<dim-1>  patch_points (q_trapez, data.n_subdivisions);
   
-  FEFaceValues<dim> fe_patch_values(dofs->get_fe(),
+  FEFaceValues<dim> fe_patch_values(mapping,
+                                   dofs->get_fe(),
                                    patch_points,
                                    update_values);
 
index 12e920c151c582f6d64827782225be287bb2db4a..0450d675edf77a2ab69ec6986517b357da755cf5 100644 (file)
 #include <dofs/dof_handler.h>
 #include <dofs/dof_accessor.h>
 #include <grid/tria_iterator.h>
+#include <fe/mapping_q1.h>
 #include <fe/fe.h>
 #include <fe/fe_values.h>
 
+//Todo: Do this more clever
+static MappingQ1<deal_II_dimension> mapping;
+
 #ifdef DEAL_II_USE_MT
 #include <base/thread_management.h>
 #endif
@@ -37,7 +41,8 @@ void DataOutRotation<dim>::build_some_patches (Data data)
   QTrapez<1>     q_trapez;
   QIterated<dim> patch_points (q_trapez, data.n_subdivisions);
   
-  FEValues<dim> fe_patch_values(dofs->get_fe(),
+  FEValues<dim> fe_patch_values(mapping,
+                               dofs->get_fe(),
                                patch_points,
                                update_values);
 

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.