libMesh
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
libMesh::Kokkos::detail::divide_value< Scalar > Struct Template Reference

#include <kokkos_vector_ops.h>

Public Member Functions

LIBMESH_DEVICE_INLINE auto operator() (const Scalar &value) const -> decltype(value/alpha)
 
template<typename ValueType >
LIBMESH_DEVICE_INLINE auto operator() (const ValueType &value) const -> decltype(value/alpha)
 

Public Attributes

const Scalar & alpha
 

Detailed Description

template<typename Scalar>
struct libMesh::Kokkos::detail::divide_value< Scalar >

Definition at line 192 of file kokkos_vector_ops.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename Scalar >
LIBMESH_DEVICE_INLINE auto libMesh::Kokkos::detail::divide_value< Scalar >::operator() ( const Scalar &  value) const -> decltype(value / alpha)
inline

Definition at line 197 of file kokkos_vector_ops.h.

198 {
199 return value / alpha;
200 }
static const bool value
Definition xdr_io.C:55

References libMesh::Kokkos::detail::divide_value< Scalar >::alpha, and value.

◆ operator()() [2/2]

template<typename Scalar >
template<typename ValueType >
LIBMESH_DEVICE_INLINE auto libMesh::Kokkos::detail::divide_value< Scalar >::operator() ( const ValueType &  value) const -> decltype(value / alpha)
inline

Definition at line 204 of file kokkos_vector_ops.h.

205 {
206 return value / alpha;
207 }

References libMesh::Kokkos::detail::divide_value< Scalar >::alpha, and value.

Member Data Documentation

◆ alpha

template<typename Scalar >
const Scalar& libMesh::Kokkos::detail::divide_value< Scalar >::alpha

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