Intrepid2
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
Intrepid2::Orientation Class Reference

Orientation encoding and decoding. More...

#include <Intrepid2_Orientation.hpp>

Public Member Functions

KOKKOS_DEFAULTED_FUNCTION Orientation (const Orientation &b)=default
 
KOKKOS_INLINE_FUNCTION bool isAlignedToReference () const
 
KOKKOS_INLINE_FUNCTION void setEdgeOrientation (const ordinal_type numEdge, const ordinal_type edgeOrt[])
 
KOKKOS_INLINE_FUNCTION void getEdgeOrientation (ordinal_type *edgeOrt, const ordinal_type numEdge) const
 
KOKKOS_INLINE_FUNCTION void setFaceOrientation (const ordinal_type numFace, const ordinal_type faceOrt[])
 
KOKKOS_INLINE_FUNCTION void getFaceOrientation (ordinal_type *faceOrt, const ordinal_type numFace) const
 
std::string to_string () const
 

Static Public Member Functions

template<typename elemNodeViewType >
static Orientation getOrientation (const shards::CellTopology cellTopo, const elemNodeViewType elemNodes)
 
static ordinal_type getEdgeOrdinalOfFace (const ordinal_type subsubcellOrd, const ordinal_type subcellOrd, const shards::CellTopology cellTopo)
 

Static Private Member Functions

template<typename elemNodeViewType >
static void getElementNodeMap (typename elemNodeViewType::non_const_value_type *subCellVerts, ordinal_type &numVerts, const shards::CellTopology cellTopo, const elemNodeViewType elemNodes, const ordinal_type subCellDim, const ordinal_type subCellOrd)
 
template<typename subCellVertType >
static ordinal_type getOrientation (const subCellVertType subCellVerts[], const ordinal_type numVerts)
 

Private Attributes

ordinal_type _edgeOrt
 
ordinal_type _faceOrt
 

Detailed Description

Orientation encoding and decoding.

Use input and output as pointer arrays which assumes that input/output are located on the stack and contiguous.

Definition at line 65 of file Intrepid2_Orientation.hpp.

Constructor & Destructor Documentation

◆ Orientation()

KOKKOS_INLINE_FUNCTION Intrepid2::Orientation::Orientation ( )

Definition at line 463 of file Intrepid2_OrientationDef.hpp.

Member Function Documentation

◆ getEdgeOrdinalOfFace()

ordinal_type Intrepid2::Orientation::getEdgeOrdinalOfFace ( const ordinal_type  subsubcellOrd,
const ordinal_type  subcellOrd,
const shards::CellTopology  cellTopo 
)
inlinestatic

Definition at line 198 of file Intrepid2_OrientationDef.hpp.

◆ getEdgeOrientation()

KOKKOS_INLINE_FUNCTION void Intrepid2::Orientation::getEdgeOrientation ( ordinal_type *  edgeOrt,
const ordinal_type  numEdge 
) const

Definition at line 487 of file Intrepid2_OrientationDef.hpp.

◆ getElementNodeMap()

template<typename elemNodeViewType >
void Intrepid2::Orientation::getElementNodeMap ( typename elemNodeViewType::non_const_value_type *  subCellVerts,
ordinal_type &  numVerts,
const shards::CellTopology  cellTopo,
const elemNodeViewType  elemNodes,
const ordinal_type  subCellDim,
const ordinal_type  subCellOrd 
)
inlinestaticprivate

Definition at line 65 of file Intrepid2_OrientationDef.hpp.

◆ getFaceOrientation()

KOKKOS_INLINE_FUNCTION void Intrepid2::Orientation::getFaceOrientation ( ordinal_type *  faceOrt,
const ordinal_type  numFace 
) const

Definition at line 514 of file Intrepid2_OrientationDef.hpp.

◆ getOrientation() [1/2]

template<typename elemNodeViewType >
Orientation Intrepid2::Orientation::getOrientation ( const shards::CellTopology  cellTopo,
const elemNodeViewType  elemNodes 
)
inlinestatic

Definition at line 157 of file Intrepid2_OrientationDef.hpp.

◆ getOrientation() [2/2]

template<typename subCellVertType >
ordinal_type Intrepid2::Orientation::getOrientation ( const subCellVertType  subCellVerts[],
const ordinal_type  numVerts 
)
inlinestaticprivate

Definition at line 92 of file Intrepid2_OrientationDef.hpp.

◆ isAlignedToReference()

KOKKOS_INLINE_FUNCTION bool Intrepid2::Orientation::isAlignedToReference ( ) const

Definition at line 468 of file Intrepid2_OrientationDef.hpp.

◆ setEdgeOrientation()

KOKKOS_INLINE_FUNCTION void Intrepid2::Orientation::setEdgeOrientation ( const ordinal_type  numEdge,
const ordinal_type  edgeOrt[] 
)

Definition at line 474 of file Intrepid2_OrientationDef.hpp.

◆ setFaceOrientation()

KOKKOS_INLINE_FUNCTION void Intrepid2::Orientation::setFaceOrientation ( const ordinal_type  numFace,
const ordinal_type  faceOrt[] 
)

Definition at line 499 of file Intrepid2_OrientationDef.hpp.

◆ to_string()

std::string Intrepid2::Orientation::to_string ( ) const
inline

Definition at line 526 of file Intrepid2_OrientationDef.hpp.

Member Data Documentation

◆ _edgeOrt

ordinal_type Intrepid2::Orientation::_edgeOrt
private

Definition at line 124 of file Intrepid2_Orientation.hpp.

◆ _faceOrt

ordinal_type Intrepid2::Orientation::_faceOrt
private

Definition at line 124 of file Intrepid2_Orientation.hpp.


The documentation for this class was generated from the following files: