Functions | |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION T | sign (T x) |
| Returns the sign of a value. | |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION const T * | find (const T &target, const T *const begin, const T *const end) |
| Find a value in an array. | |
| KOKKOS_INLINE_FUNCTION void | choleskySolve (Real *const A, Real *const x, Real *const b, const unsigned int n) |
| Perform an in-place linear solve using Cholesky decomposition Matrix and right-hand-side vector are modified after this call. | |
| KOKKOS_INLINE_FUNCTION void Moose::Kokkos::Utils::choleskySolve | ( | Real *const | A, |
| Real *const | x, | ||
| Real *const | b, | ||
| const unsigned int | n | ||
| ) |
Perform an in-place linear solve using Cholesky decomposition Matrix and right-hand-side vector are modified after this call.
| A | The row-major matrix |
| x | The solution vector |
| b | The right-hand-side vector |
| n | The system size |
Definition at line 72 of file KokkosUtils.h.
Referenced by Moose::Kokkos::AuxKernel::computeElementInternal().
| KOKKOS_INLINE_FUNCTION const T * Moose::Kokkos::Utils::find | ( | const T & | target, |
| const T *const | begin, | ||
| const T *const | end | ||
| ) |
Find a value in an array.
| target | The target value to find |
| begin | The pointer to the first element of the array |
| end | The pointer next to the last element of the array |
end if the target element was not found Definition at line 40 of file KokkosUtils.h.
Referenced by Moose::Kokkos::Matrix::find(), and Moose::Kokkos::Mesh::isBoundaryNode().
| KOKKOS_INLINE_FUNCTION T Moose::Kokkos::Utils::sign | ( | T | x | ) |
Returns the sign of a value.
| x | The value |
Definition at line 26 of file KokkosUtils.h.
Referenced by KokkosPiecewiseConstant::value().