https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Moose::Kokkos::FunctionWrapperDeviceBase Class Reference

Base class for device function wrapper. More...

#include <KokkosFunctionWrapper.h>

Inheritance diagram for Moose::Kokkos::FunctionWrapperDeviceBase:
[legend]

Public Member Functions

KOKKOS_FUNCTION FunctionWrapperDeviceBase ()
 Constructor.
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL ~FunctionWrapperDeviceBase ()
 Virtual destructor.
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real value (Real, Real3) const
 Virtual shims that calls the corresponding methods of the actual stored function.
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real3 vectorValue (Real, Real3) const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real3 gradient (Real, Real3) const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real3 curl (Real, Real3) const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real div (Real, Real3) const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real timeDerivative (Real, Real3) const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real timeIntegral (Real, Real, Real3) const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real integral () const
 
KOKKOS_FUNCTION KOKKOS_VIRTUAL Real average () const
 

Detailed Description

Base class for device function wrapper.

Definition at line 23 of file KokkosFunctionWrapper.h.

Constructor & Destructor Documentation

◆ FunctionWrapperDeviceBase()

KOKKOS_FUNCTION Moose::Kokkos::FunctionWrapperDeviceBase::FunctionWrapperDeviceBase ( )
inline

Constructor.

Definition at line 29 of file KokkosFunctionWrapper.h.

29{}

◆ ~FunctionWrapperDeviceBase()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Moose::Kokkos::FunctionWrapperDeviceBase::~FunctionWrapperDeviceBase ( )
inline

Virtual destructor.

Definition at line 33 of file KokkosFunctionWrapper.h.

33{}

Member Function Documentation

◆ average()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real Moose::Kokkos::FunctionWrapperDeviceBase::average ( ) const
inline

Definition at line 81 of file KokkosFunctionWrapper.h.

82 {
83 KOKKOS_ASSERT(false);
84 return 0;
85 }

Referenced by Moose::Kokkos::Function::average().

◆ curl()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real3 Moose::Kokkos::FunctionWrapperDeviceBase::curl ( Real  ,
Real3   
) const
inline

Definition at line 54 of file KokkosFunctionWrapper.h.

55 {
56 KOKKOS_ASSERT(false);
57 return Real3(0);
58 }
Vector3< Real > Real3
Definition KokkosTypes.h:32

Referenced by Moose::Kokkos::Function::curl().

◆ div()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real Moose::Kokkos::FunctionWrapperDeviceBase::div ( Real  ,
Real3   
) const
inline

Definition at line 59 of file KokkosFunctionWrapper.h.

60 {
61 KOKKOS_ASSERT(false);
62 return 0;
63 }

Referenced by Moose::Kokkos::Function::div().

◆ gradient()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real3 Moose::Kokkos::FunctionWrapperDeviceBase::gradient ( Real  ,
Real3   
) const
inline

Definition at line 49 of file KokkosFunctionWrapper.h.

50 {
51 KOKKOS_ASSERT(false);
52 return Real3(0);
53 }

Referenced by Moose::Kokkos::Function::gradient().

◆ integral()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real Moose::Kokkos::FunctionWrapperDeviceBase::integral ( ) const
inline

Definition at line 76 of file KokkosFunctionWrapper.h.

77 {
78 KOKKOS_ASSERT(false);
79 return 0;
80 }

Referenced by Moose::Kokkos::Function::integral().

◆ timeDerivative()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real Moose::Kokkos::FunctionWrapperDeviceBase::timeDerivative ( Real  ,
Real3   
) const
inline

Definition at line 64 of file KokkosFunctionWrapper.h.

65 {
66 KOKKOS_ASSERT(false);
67 return 0;
68 }

Referenced by Moose::Kokkos::Function::timeDerivative().

◆ timeIntegral()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real Moose::Kokkos::FunctionWrapperDeviceBase::timeIntegral ( Real  ,
Real  ,
Real3   
) const
inline

Definition at line 69 of file KokkosFunctionWrapper.h.

72 {
73 KOKKOS_ASSERT(false);
74 return 0;
75 }

Referenced by Moose::Kokkos::Function::timeIntegral().

◆ value()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real Moose::Kokkos::FunctionWrapperDeviceBase::value ( Real  ,
Real3   
) const
inline

Virtual shims that calls the corresponding methods of the actual stored function.

Definition at line 39 of file KokkosFunctionWrapper.h.

40 {
41 KOKKOS_ASSERT(false);
42 return 0;
43 }

Referenced by Moose::Kokkos::Function::value().

◆ vectorValue()

KOKKOS_FUNCTION KOKKOS_VIRTUAL Real3 Moose::Kokkos::FunctionWrapperDeviceBase::vectorValue ( Real  ,
Real3   
) const
inline

Definition at line 44 of file KokkosFunctionWrapper.h.

45 {
46 KOKKOS_ASSERT(false);
47 return Real3(0);
48 }

Referenced by Moose::Kokkos::Function::vectorValue().


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