|
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<class MatrixViewType > |
static KOKKOS_INLINE_FUNCTION MatrixViewType::value_type | det (const MatrixViewType 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...
|
|
template<typename DeviceType = void>
struct Intrepid2::RealSpaceTools< DeviceType >::Serial
Definition at line 82 of file Intrepid2_RealSpaceTools.hpp.
◆ det()
template<typename DeviceType >
template<class MatrixViewType >
KOKKOS_INLINE_FUNCTION MatrixViewType::value_type Intrepid2::RealSpaceTools< DeviceType >::Serial::det |
( |
const MatrixViewType |
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 137 of file Intrepid2_RealSpaceToolsDef.hpp.
◆ dot()
template<typename DeviceType >
template<typename inVec1ValueType , class ... inVec1Properties, typename inVec2ValueType , class ... inVec2Properties>
KOKKOS_INLINE_FUNCTION inVec1ValueType Intrepid2::RealSpaceTools< DeviceType >::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 185 of file Intrepid2_RealSpaceToolsDef.hpp.
◆ vectorNorm()
template<typename DeviceType >
template<typename inVecValueType , class ... inVecProperties>
KOKKOS_INLINE_FUNCTION inVecValueType Intrepid2::RealSpaceTools< DeviceType >::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):
Definition at line 67 of file Intrepid2_RealSpaceToolsDef.hpp.
The documentation for this struct was generated from the following files: