From 36565d4cbc431b9eb766712a5d8cf9315bb7f441 Mon Sep 17 00:00:00 2001 From: guido Date: Thu, 5 Jul 2001 13:16:08 +0000 Subject: [PATCH] postscript face output in 3d: not tested git-svn-id: https://svn.dealii.org/trunk@4821 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/data_out_base.cc | 2 +- deal.II/deal.II/include/fe/mapping.h | 36 +++++++++++-------- deal.II/deal.II/source/numerics/data_out.cc | 2 +- .../deal.II/source/numerics/data_out_faces.cc | 2 +- 4 files changed, 25 insertions(+), 17 deletions(-) diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 23c9e68e82..7805e8f280 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -2530,7 +2530,7 @@ template class DataOutInterface; template class DataOutBase::Patch; // also enable plotting surfaces of 3d objects -#if data_out_dimension == 3 +#if data_out_dimension >= 2 template class DataOutInterface; template class DataOutBase::Patch; #endif diff --git a/deal.II/deal.II/include/fe/mapping.h b/deal.II/deal.II/include/fe/mapping.h index 6ea57e6a72..46eb825b24 100644 --- a/deal.II/deal.II/include/fe/mapping.h +++ b/deal.II/deal.II/include/fe/mapping.h @@ -36,15 +36,16 @@ template 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 > &dst, const std::vector > &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 > &dst, const std::vector > &src, diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index ab4d81ab7c..9bf1555c51 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -506,6 +506,6 @@ template class DataOut; // for 3d, also generate an extra class -#if deal_II_dimension >= 3 +#if deal_II_dimension >= 2 template class DataOut_DoFData; #endif diff --git a/deal.II/deal.II/source/numerics/data_out_faces.cc b/deal.II/deal.II/source/numerics/data_out_faces.cc index d50d932095..2cedfbe327 100644 --- a/deal.II/deal.II/source/numerics/data_out_faces.cc +++ b/deal.II/deal.II/source/numerics/data_out_faces.cc @@ -289,7 +289,7 @@ DataOutFaces::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; #endif -- 2.39.5