]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove face orientation table. Was wrong anyway, and not used anywhere.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Nov 2003 15:05:58 +0000 (15:05 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Nov 2003 15:05:58 +0000 (15:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@8181 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_values.h
deal.II/deal.II/source/fe/fe_values.cc

index 585a5b81c4265d7d59504bf2a79d79c496780275..583dd4325132703461598f3acf3828aedaa2df40 100644 (file)
@@ -985,25 +985,6 @@ class FEFaceValuesBase : public FEValuesBase<dim>
                                      * @p{n.ds}.
                                      */
     const Tensor<1,dim> & boundary_form (const unsigned int i) const;
-
-                                    /**
-                                     * Get the natural orientation of
-                                     * the face.
-                                     *
-                                     * If this is true, then the
-                                     * natural normal vector of the
-                                     * face points outwards (faces
-                                     * 0,1 in two dimensions, faces
-                                     * 0,2,4 in three). On the other
-                                     * faces, the natural normal
-                                     * vector points inwards.
-                                     *
-                                     * With this function, you have
-                                     * access to a consistent and
-                                     * unique orientation of all
-                                     * faces.
-                                     */
-    bool orientation () const;
     
                                     /**
                                      * Return the list of outward normal
@@ -1038,21 +1019,6 @@ class FEFaceValuesBase : public FEValuesBase<dim>
                                      * formula here.
                                      */
     const Quadrature<dim-1> quadrature;
-
-                                    /**
-                                     * Value for orientation function.
-                                     */
-    bool my_orientation;
-
-                                    /**
-                                     * Data table for orientation
-                                     * values. Since the faces are
-                                     * numbered in a creative
-                                     * fashion, we stores these
-                                     * values instead of computing
-                                     * them.
-                                     */
-    static const bool orientation_table[GeometryInfo<dim>::faces_per_cell];
 };
 
 
@@ -1519,7 +1485,6 @@ FEFaceValuesBase<dim>::normal_vector (const unsigned int i) const
 }
 
 
-
 template <int dim>
 inline
 const Tensor<1,dim> &
@@ -1535,15 +1500,6 @@ FEFaceValuesBase<dim>::boundary_form (const unsigned int i) const
 
 
 
-template <int dim>
-inline
-bool
-FEFaceValuesBase<dim>::orientation () const
-{
-  return my_orientation;
-}
-
-
 template <int dim>
 inline
 const Quadrature<dim-1> &
index 6ae722cd5406470c0c5d9b515c26b69f69435527..7ac4f7d1c01c45fb0fd62179bd4811e48fc41455 100644 (file)
@@ -621,36 +621,6 @@ FEValues<dim>::memory_consumption () const
 /*------------------------------- FEFaceValuesBase --------------------------*/
 
 
-#if deal_II_dimension == 1
-template <>
-const bool
-FEFaceValuesBase<1>::orientation_table[GeometryInfo<1>::faces_per_cell] =
-{
-      false, true
-};
-#endif
-
-
-#if deal_II_dimension == 2
-template <>
-const bool
-FEFaceValuesBase<2>::orientation_table[GeometryInfo<2>::faces_per_cell] =
-{
-      true, true, false, false
-};
-#endif
-
-
-#if deal_II_dimension == 3
-template <>
-const bool
-FEFaceValuesBase<3>::orientation_table[GeometryInfo<3>::faces_per_cell] =
-{
-      true, false, true, false, true, false
-};
-#endif
-
-
 template <int dim>
 FEFaceValuesBase<dim>::FEFaceValuesBase (const unsigned int n_q_points,
                                         const unsigned int dofs_per_cell,
@@ -769,7 +739,6 @@ void FEFaceValues<dim>::reinit (const typename DoFHandler<dim>::cell_iterator &c
          typename FEValuesBase<dim>::ExcFEDontMatch());
 
   this->present_cell = cell;
-  this->my_orientation = this->orientation_table[face_no];
   
   this->get_mapping().fill_fe_face_values(cell, face_no,
                                          this->quadrature,
@@ -871,7 +840,6 @@ void FESubfaceValues<dim>::reinit (const typename DoFHandler<dim>::cell_iterator
                       "instead in these cases."));
   
   this->present_cell  = cell;
-  this->my_orientation = this->orientation_table[face_no];
 
   this->get_mapping().fill_fe_subface_values(cell, face_no, subface_no,
                                             this->quadrature,

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.