Intrepid2
Static Public Member Functions | List of all members
Intrepid2::RealSpaceTools< ExecSpaceType >::Serial Struct Reference

Static Public Member Functions

template<typename inVecValueType , class... inVecProperties>
static KOKKOS_INLINE_FUNCTION
inVecValueType 
vectorNorm (const Kokkos::DynRankView< inVecValueType, inVecProperties...> inVec, const ENorm normType)
 Computes norm (1, 2, infinity) of a single vector stored in an array of rank 1. More...
 
template<typename inMatValueType , class... inMatProperties>
static KOKKOS_INLINE_FUNCTION
inMatValueType 
det (const Kokkos::DynRankView< inMatValueType, inMatProperties...> inMat)
 Computes determinant of a single square matrix stored in an array of rank 2. More...
 
template<typename inVec1ValueType , class... inVec1Properties, typename inVec2ValueType , class... inVec2Properties>
static KOKKOS_INLINE_FUNCTION
inVec1ValueType 
dot (const Kokkos::DynRankView< inVec1ValueType, inVec1Properties...> inVec1, const Kokkos::DynRankView< inVec2ValueType, inVec2Properties...> inVec2)
 Computes dot product of two vectors stored in arrays of rank 1. More...
 

Detailed Description

template<typename ExecSpaceType = void>
struct Intrepid2::RealSpaceTools< ExecSpaceType >::Serial

Definition at line 82 of file Intrepid2_RealSpaceTools.hpp.

Member Function Documentation

template<typename SpT >
template<typename inMatValueType , class... inMatProperties>
KOKKOS_INLINE_FUNCTION inMatValueType Intrepid2::RealSpaceTools< SpT >::Serial::det ( const Kokkos::DynRankView< inMatValueType, inMatProperties...>  inMat)
static

Computes determinant of a single square matrix stored in an array of rank 2.

Parameters
inMat[in] - array representing a single matrix, indexed by (D, D)
Note
Requirements (checked at runtime, in debug mode):
  • rank(inMats) == 2
  • matrix dimension is limited to 1, 2, and 3

Definition at line 136 of file Intrepid2_RealSpaceToolsDef.hpp.

template<typename SpT >
template<typename inVec1ValueType , class... inVec1Properties, typename inVec2ValueType , class... inVec2Properties>
KOKKOS_INLINE_FUNCTION inVec1ValueType Intrepid2::RealSpaceTools< SpT >::Serial::dot ( const Kokkos::DynRankView< inVec1ValueType, inVec1Properties...>  inVec1,
const Kokkos::DynRankView< inVec2ValueType, inVec2Properties...>  inVec2 
)
static

Computes dot product of two vectors stored in arrays of rank 1.

Parameters
inVec1[in] - first vector
inVec2[in] - second vector
Note
Requirements (checked at runtime, in debug mode):
  • rank(inVec1) == rank(inVec2) == 1
  • inVec1 and inVec2 have same dimension

Definition at line 184 of file Intrepid2_RealSpaceToolsDef.hpp.

template<typename SpT >
template<typename inVecValueType , class... inVecProperties>
KOKKOS_INLINE_FUNCTION inVecValueType Intrepid2::RealSpaceTools< SpT >::Serial::vectorNorm ( const Kokkos::DynRankView< inVecValueType, inVecProperties...>  inVec,
const ENorm  normType 
)
static

Computes norm (1, 2, infinity) of a single vector stored in an array of rank 1.

Parameters
inVec[in] - array representing a single vector
normType[in] - norm type
Note
Requirements (checked at runtime, in debug mode):
  • rank(inVec) == 1

Definition at line 67 of file Intrepid2_RealSpaceToolsDef.hpp.


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