Intrepid2
Intrepid2::Util< T > Class Template Reference

small utility functions More...

#include <Intrepid2_Utils.hpp>

Static Public Member Functions

static KOKKOS_FORCEINLINE_FUNCTION T min (const T a, const T b)
static KOKKOS_FORCEINLINE_FUNCTION T max (const T a, const T b)
template<typename... Args>
requires (std::is_same_v<T, Args> && ...)
static KOKKOS_FORCEINLINE_FUNCTION T max (const T a, const T b, Args... args)
static KOKKOS_FORCEINLINE_FUNCTION T abs (const T a)

Detailed Description

template<typename T>
class Intrepid2::Util< T >

small utility functions

Definition at line 238 of file Intrepid2_Utils.hpp.

Member Function Documentation

◆ abs()

template<typename T>
KOKKOS_FORCEINLINE_FUNCTION T Intrepid2::Util< T >::abs ( const T a)
inlinestatic

Definition at line 260 of file Intrepid2_Utils.hpp.

◆ max() [1/2]

template<typename T>
KOKKOS_FORCEINLINE_FUNCTION T Intrepid2::Util< T >::max ( const T a,
const T b )
inlinestatic

Definition at line 246 of file Intrepid2_Utils.hpp.

◆ max() [2/2]

template<typename T>
template<typename... Args>
requires (std::is_same_v<T, Args> && ...)
KOKKOS_FORCEINLINE_FUNCTION T Intrepid2::Util< T >::max ( const T a,
const T b,
Args... args )
inlinestatic

Definition at line 253 of file Intrepid2_Utils.hpp.

◆ min()

template<typename T>
KOKKOS_FORCEINLINE_FUNCTION T Intrepid2::Util< T >::min ( const T a,
const T b )
inlinestatic

Definition at line 241 of file Intrepid2_Utils.hpp.


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