15 #ifndef __INTREPID2_ORIENTATION_HPP__
16 #define __INTREPID2_ORIENTATION_HPP__
18 #include "Intrepid2_ConfigDefs.hpp"
22 #include "Shards_CellTopology.hpp"
34 template<
typename cellVertViewType>
35 static void getCellVertexMap(
typename cellVertViewType::non_const_value_type *subCellVerts,
36 ordinal_type &numVerts,
37 const shards::CellTopology cellTopo,
38 const cellVertViewType cellVerts,
39 const ordinal_type subCellDim,
40 const ordinal_type subCellOrd);
43 template<
typename subCellVertType>
44 static ordinal_type getOrientation(
const subCellVertType subCellVerts[],
45 const ordinal_type numVerts);
60 template<
typename cellVertViewType>
61 static Orientation getOrientation(
const shards::CellTopology cellTopo,
62 const cellVertViewType cellVerts,
73 const ordinal_type subcellOrd,
74 const shards::CellTopology cellTopo);
110 ordinal_type _edgeOrt, _faceOrt;
115 KOKKOS_INLINE_FUNCTION
120 KOKKOS_DEFAULTED_FUNCTION
125 KOKKOS_INLINE_FUNCTION
132 KOKKOS_INLINE_FUNCTION
139 KOKKOS_INLINE_FUNCTION
146 KOKKOS_INLINE_FUNCTION
153 KOKKOS_INLINE_FUNCTION
162 inline std::ostream& operator<<(std::ostream& os, const ::Intrepid2::Orientation& orientation)
164 os << orientation.to_string();
Definition file for the Intrepid2::Orientation class.
KOKKOS_INLINE_FUNCTION void getFaceOrientation(ordinal_type *faceOrt, const ordinal_type numFace) const
Header function for Intrepid2::Util class and other utility functions.
KOKKOS_INLINE_FUNCTION void setEdgeOrientation(const ordinal_type numEdge, const ordinal_type edgeOrt[])
Orientation encoding and decoding.
KOKKOS_INLINE_FUNCTION bool isAlignedToReference() const
Contains definitions of custom data types in Intrepid2.
KOKKOS_INLINE_FUNCTION void setFaceOrientation(const ordinal_type numFace, const ordinal_type faceOrt[])
std::string to_string() const
static ordinal_type getEdgeOrdinalOfFace(const ordinal_type subsubcellOrd, const ordinal_type subcellOrd, const shards::CellTopology cellTopo)
KOKKOS_INLINE_FUNCTION void getEdgeOrientation(ordinal_type *edgeOrt, const ordinal_type numEdge) const
KOKKOS_INLINE_FUNCTION Orientation()