void
set_line_orientation(const unsigned int line, const bool orientation) const;
- /**
- * Set whether the quad with index @p face has its normal pointing in the
- * standard direction (@p true) or whether it is the opposite (@p false).
- * Which is the standard direction is documented with the GeometryInfo
- * class.
- *
- * This function is only for internal use in the library. Setting this flag
- * to any other value than the one that the triangulation has already set is
- * bound to bring you disaster.
- */
- void
- set_face_orientation(const unsigned int face, const bool orientation) const;
-
- /**
- * Set the flag indicating, what <code>face_flip()</code> will return.
- *
- * It is only possible to set the face_orientation of cells in 3d (i.e.
- * <code>structdim==3 && dim==3</code>).
- */
- void
- set_face_flip(const unsigned int face, const bool flip) const;
-
- /**
- * Set the flag indicating, what <code>face_rotation()</code> will return.
- *
- * It is only possible to set the face_orientation of cells in 3d (i.e.
- * <code>structdim==3 && dim==3</code>).
- */
- void
- set_face_rotation(const unsigned int face, const bool rotation) const;
-
/**
* Set the combined face orientation (i.e., the integer that uniquely encodes
* the orientation, flip, and rotation).
accessor.quad(quad_index)->line_orientation(line_within_face_index));
}
-
-
- /**
- * Implementation of the function of some name in the mother class.
- */
- template <int structdim, int dim, int spacedim>
- inline static void
- set_face_orientation(const TriaAccessor<structdim, dim, spacedim> &,
- const unsigned int,
- const bool)
- {
- Assert(false, ExcInternalError());
- }
-
-
- inline static void
- set_face_orientation(const TriaAccessor<3, 3, 3> &accessor,
- const unsigned int face,
- const bool value)
- {
- Assert(accessor.used(), TriaAccessorExceptions::ExcCellNotUsed());
- AssertIndexRange(face, accessor.n_faces());
-
- accessor.tria->levels[accessor.present_level]
- ->face_orientations.set_orientation(
- accessor.present_index * GeometryInfo<3>::faces_per_cell + face,
- value);
- }
-
-
-
- /**
- * Implementation of the function of some name in the mother class.
- */
- template <int structdim, int dim, int spacedim>
- inline static void
- set_face_flip(const TriaAccessor<structdim, dim, spacedim> &,
- const unsigned int,
- const bool)
- {
- Assert(false, ExcInternalError());
- }
-
-
- inline static void
- set_face_flip(const TriaAccessor<3, 3, 3> &accessor,
- const unsigned int face,
- const bool value)
- {
- AssertIndexRange(face, accessor.n_faces());
-
- accessor.tria->levels[accessor.present_level]
- ->face_orientations.set_flip(accessor.present_index *
- GeometryInfo<3>::faces_per_cell +
- face,
- value);
- }
-
-
-
- /**
- * Implementation of the function of some name in the mother class.
- */
- template <int structdim, int dim, int spacedim>
- inline static void
- set_face_rotation(const TriaAccessor<structdim, dim, spacedim> &,
- const unsigned int,
- const bool)
- {
- Assert(false, ExcInternalError());
- }
-
-
- inline static void
- set_face_rotation(const TriaAccessor<3, 3, 3> &accessor,
- const unsigned int face,
- const bool value)
- {
- AssertIndexRange(face, accessor.n_faces());
- accessor.tria->levels[accessor.present_level]
- ->face_orientations.set_rotation(accessor.present_index *
- GeometryInfo<3>::faces_per_cell +
- face,
- value);
- }
-
/**
* Implementation of the function of some name in the mother class.
*/
-template <int structdim, int dim, int spacedim>
-inline void
-TriaAccessor<structdim, dim, spacedim>::set_face_orientation(
- const unsigned int face,
- const bool value) const
-{
- Assert(used(), TriaAccessorExceptions::ExcCellNotUsed());
-
- dealii::internal::TriaAccessorImplementation::Implementation::
- set_face_orientation(*this, face, value);
-}
-
-
-
-template <int structdim, int dim, int spacedim>
-inline void
-TriaAccessor<structdim, dim, spacedim>::set_face_flip(const unsigned int face,
- const bool value) const
-{
- Assert(used(), TriaAccessorExceptions::ExcCellNotUsed());
-
- dealii::internal::TriaAccessorImplementation::Implementation::set_face_flip(
- *this, face, value);
-}
-
-
-template <int structdim, int dim, int spacedim>
-inline void
-TriaAccessor<structdim, dim, spacedim>::set_face_rotation(
- const unsigned int face,
- const bool value) const
-{
- Assert(used(), TriaAccessorExceptions::ExcCellNotUsed());
-
- dealii::internal::TriaAccessorImplementation::Implementation::
- set_face_rotation(*this, face, value);
-}
-
-
-
template <int structdim, int dim, int spacedim>
inline void
TriaAccessor<structdim, dim, spacedim>::set_line_orientation(