]> https://gitweb.dealii.org/ - dealii.git/commitdiff
postscript face output in 3d: not tested
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 5 Jul 2001 13:16:08 +0000 (13:16 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 5 Jul 2001 13:16:08 +0000 (13:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@4821 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc
deal.II/deal.II/include/fe/mapping.h
deal.II/deal.II/source/numerics/data_out.cc
deal.II/deal.II/source/numerics/data_out_faces.cc

index 23c9e68e82b6df6b9ef868d17dae876c44d5a1f8..7805e8f28022debad62c09cb17ac3e3a4fd61ddb 100644 (file)
@@ -2530,7 +2530,7 @@ template class DataOutInterface<data_out_dimension,data_out_dimension>;
 template class DataOutBase::Patch<data_out_dimension, data_out_dimension>;
 
 // also enable plotting surfaces of 3d objects
-#if data_out_dimension == 3
+#if data_out_dimension >= 2
 template class DataOutInterface<data_out_dimension-1,data_out_dimension>;
 template class DataOutBase::Patch<data_out_dimension-1, data_out_dimension>;
 #endif
index 6ea57e6a721d7375c76ce017456ede5d1a1f9b94..46eb825b24cfa7e83a09174b91630e86ae5c3cfc 100644 (file)
@@ -36,15 +36,16 @@ template <int dim> class FESubfaceValues;
  * The following paragraph applies to the implementation of
  * @ref{FEValues}. Usage of the class is as follows: first, call the
  * functionss @p{update_once} and @p{update_each} with the update
- * flags you need.  Then call @p{get_*_data} and with the result of
- * @p{update_once}. This will initialize some internal data
+ * flags you need. This includes the flags needed by the
+ * @ref{FiniteElement}. Then call @p{get_*_data} and with the or'd
+ * results.  This will initialize and return some internal data
  * structures.  On the first cell, call @p{fill_fe_*_values} with the
  * result of @p{update_once}. Finally, on each cell, use
  * @p{fill_fe_*_values} with the result of @p{update_each} to compute
  * values for a special cell.
  *
- * A hint to implementators: no function except the two functions @p{update_once}
- * and @p{update_each} may add any flags.
+ * A hint to implementators: no function except the two functions
+ * @p{update_once} and @p{update_each} may add any flags.
  *
  * @author Guido Kanschat, Ralf Hartmann 2000, 2001
  */
@@ -144,11 +145,14 @@ class Mapping : public Subscriptor
     };
     
                                     /**
-                                     * Tranform a field of covariant vectors.
-                                     * There must be one vector for each quadrature
-                                     * point. Alternatively, for faces and subfaces,
-                                     * the first quadrature point can be
-                                     * given as additional argument.
+                                     * Tranform a field of covariant
+                                     * vectors.  There must be one
+                                     * vector for each quadrature
+                                     * point. Alternatively, for
+                                     * faces and subfaces, the number
+                                     * of the first quadrature point
+                                     * can be given as additional
+                                     * argument.
                                      */
     virtual void transform_covariant (std::vector<Tensor<1,dim> >       &dst,
                                      const std::vector<Tensor<1,dim> > &src,
@@ -156,11 +160,15 @@ class Mapping : public Subscriptor
                                      const unsigned int src_offset) const = 0;
     
                                     /**
-                                     * Tranform a field of contravariant vectors.
-                                     * There must be one vector for each quadrature
-                                     * point. Alternatively, for faces and subfaces,
-                                     * the first quadrature point can be
-                                     * given as additional argument.
+                                     * Tranform a field of
+                                     * contravariant vectors.  There
+                                     * must be one vector for each
+                                     * quadrature
+                                     * point. Alternatively, for
+                                     * faces and subfaces, the number
+                                     * of the first quadrature point
+                                     * can be given as additional
+                                     * argument.
                                      */
     virtual void transform_contravariant (std::vector<Tensor<1,dim> >       &dst,
                                          const std::vector<Tensor<1,dim> > &src,
index ab4d81ab7c26e1873bbfd0669d28c8f67b99e899..9bf1555c511383676b0d8d489d19165185199629 100644 (file)
@@ -506,6 +506,6 @@ template class DataOut<deal_II_dimension>;
 
 
 // for 3d, also generate an extra class
-#if deal_II_dimension >= 3
+#if deal_II_dimension >= 2
 template class DataOut_DoFData<deal_II_dimension,deal_II_dimension-1,deal_II_dimension>;
 #endif
index d50d93209555ecc03962f1bb892ca6b5f4409c27..2cedfbe3276376af8583e7af35588cccae4333d7 100644 (file)
@@ -289,7 +289,7 @@ DataOutFaces<dim>::next_face (const FaceDescriptor &old_face)
 
 // explicit instantiations
 // don't instantiate anything for the 1d and 2d cases
-#if deal_II_dimension >=3
+#if deal_II_dimension >=2
 template class DataOutFaces<deal_II_dimension>;
 #endif
 

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.