* @{
*/
+ /**
+ * Return an integer representation that uniquely encodes the orientation,
+ * flip, and rotation of a @p face.
+ */
+ unsigned char
+ combined_face_orientation(const unsigned int face) const;
+
/**
* Return whether the face with index @p face has its normal pointing in the
* standard direction (@p true) or whether it is the opposite (@p false).
* @{
*/
+ /**
+ * @brief Always return 0
+ */
+ static unsigned char
+ combined_face_orientation(const unsigned int face);
+
/**
* @brief Always return false
*/
* @{
*/
+ /**
+ * @brief Always return 0
+ */
+ static unsigned char
+ combined_face_orientation(const unsigned int face);
+
/**
* @brief Always return false
*/
+template <int structdim, int dim, int spacedim>
+inline unsigned char
+TriaAccessor<structdim, dim, spacedim>::combined_face_orientation(
+ const unsigned int face) const
+{
+ return this->face_orientation(face) + 4 * this->face_flip(face) +
+ 2 * this->face_rotation(face);
+}
+
+
+
template <int structdim, int dim, int spacedim>
inline bool
TriaAccessor<structdim, dim, spacedim>::face_orientation(
+template <int dim, int spacedim>
+inline unsigned char
+TriaAccessor<0, dim, spacedim>::combined_face_orientation(
+ const unsigned int /*face*/)
+{
+ return 0;
+}
+
+
+
template <int dim, int spacedim>
inline bool
TriaAccessor<0, dim, spacedim>::face_orientation(const unsigned int /*face*/)
}
+template <int spacedim>
+inline unsigned char
+TriaAccessor<0, 1, spacedim>::combined_face_orientation(
+ const unsigned int /*face*/)
+{
+ return 0;
+}
+
+
template <int spacedim>
inline bool
TriaAccessor<0, 1, spacedim>::face_orientation(const unsigned int /*face*/)
const Point<dim> vertex_reference_coordinates =
cell->reference_cell().template vertex<dim>(
cell->reference_cell().face_to_cell_vertices(
- face_number,
- vertex,
- cell->face_orientation(face_number) +
- 4 * cell->face_flip(face_number) +
- 2 * cell->face_rotation(face_number)));
+ face_number, vertex, cell->combined_face_orientation(face_number)));
const Point<dim> vertex_real_coordinates =
data.mapping_collection[0].transform_unit_to_real_cell(