const UpdateFlags update_flags,
const FiniteElement<dim> &fe);
- /**
- * Virtual destructor needed for
- * the virtual @p{get_face}
- * function.
- */
- virtual ~FEFaceValuesBase ();
-
/**
* Return the outward normal vector to
* the cell at the @p{i}th quadrature
/**
* Return the present
- * face. Implemented in the
- * derived classes.
+ * face.
*/
- virtual DoFHandler<dim>::face_iterator get_face() const=0;
+ DoFHandler<dim>::face_iterator get_face() const;
protected:
* in by the finite element class.
*/
vector<Point<dim> > normal_vectors;
+
+ /**
+ * Stores the face or subface,
+ * resp., that was selected the
+ * last time the @p{reinit}
+ * function was called. Is used
+ * by the @p{get_face} function.
+ */
+ DoFHandler<dim>::face_iterator present_face;
};
*/
void reinit (const typename DoFHandler<dim>::cell_iterator &cell,
const unsigned int face_no);
-
-
- /**
- * Return the present face.
- */
- virtual DoFHandler<dim>::face_iterator get_face() const;
};
const unsigned int face_no,
const unsigned int subface_no);
- /**
- * Return the present face.
- */
- virtual DoFHandler<dim>::face_iterator get_face() const;
-
/**
* Exception
*/
* Exception
*/
DeclException0 (ExcFaceHasNoSubfaces);
-
- protected:
-
- /**
- * Store the subface selected
- * last time the @p{reinit}
- * function was called. Is used
- * by the @p{get_face} fuction.
- */
- DoFHandler<dim>::face_iterator present_subface;
};
/*------------------------ Inline functions: FEFaceValuesBase --------------------*/
-
-template <int dim>
-inline
-FEFaceValuesBase<dim>::~FEFaceValuesBase()
-{};
-
-
template <int dim>
inline
const vector<Point<dim> > &
};
-/*------------------------ Inline functions: FEFaceValues ------------------------*/
-
-template <int dim>
-inline
-DoFHandler<dim>::face_iterator
-FEFaceValues<dim>::get_face() const {
- return present_cell->face(selected_dataset);
-};
-
-
-
-/*------------------------ Inline functions: FESubfaceValues ------------------------*/
-
template <int dim>
inline
DoFHandler<dim>::face_iterator
-FESubfaceValues<dim>::get_face() const {
- return present_subface;
+FEFaceValuesBase<dim>::get_face() const {
+ return present_face;
};