48 #ifndef __INTREPID2_ORIENTATION_HPP__
49 #define __INTREPID2_ORIENTATION_HPP__
51 #include "Intrepid2_ConfigDefs.hpp"
55 #include "Shards_CellTopology.hpp"
67 template<
typename cellVertViewType>
68 static void getCellVertexMap(
typename cellVertViewType::non_const_value_type *subCellVerts,
69 ordinal_type &numVerts,
70 const shards::CellTopology cellTopo,
71 const cellVertViewType cellVerts,
72 const ordinal_type subCellDim,
73 const ordinal_type subCellOrd);
76 template<
typename subCellVertType>
77 static ordinal_type getOrientation(
const subCellVertType subCellVerts[],
78 const ordinal_type numVerts);
93 template<
typename cellVertViewType>
94 static Orientation getOrientation(
const shards::CellTopology cellTopo,
95 const cellVertViewType cellVerts,
106 const ordinal_type subcellOrd,
107 const shards::CellTopology cellTopo);
143 ordinal_type _edgeOrt, _faceOrt;
148 KOKKOS_INLINE_FUNCTION
153 KOKKOS_DEFAULTED_FUNCTION
158 KOKKOS_INLINE_FUNCTION
165 KOKKOS_INLINE_FUNCTION
172 KOKKOS_INLINE_FUNCTION
179 KOKKOS_INLINE_FUNCTION
186 KOKKOS_INLINE_FUNCTION
195 inline std::ostream& operator<<(std::ostream& os, const ::Intrepid2::Orientation& orientation)
197 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()