https://mooseframework.inl.gov
Public Member Functions | List of all members
Moose::Kokkos::FunctionWrapperDeviceBase Class Referenceabstract

Base class for device function wrapper. More...

#include <KokkosFunctionWrapper.h>

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

Public Member Functions

KOKKOS_FUNCTION FunctionWrapperDeviceBase ()
 Constructor. More...
 
virtual KOKKOS_FUNCTION ~FunctionWrapperDeviceBase ()
 Virtual destructor. More...
 
virtual KOKKOS_FUNCTION Real value (Real t, Real3 p) const =0
 Virtual shims that calls the corresponding methods of the actual stored function. More...
 
virtual KOKKOS_FUNCTION Real3 vectorValue (Real t, Real3 p) const =0
 
virtual KOKKOS_FUNCTION Real3 gradient (Real t, Real3 p) const =0
 
virtual KOKKOS_FUNCTION Real3 curl (Real t, Real3 p) const =0
 
virtual KOKKOS_FUNCTION Real div (Real t, Real3 p) const =0
 
virtual KOKKOS_FUNCTION Real timeDerivative (Real t, Real3 p) const =0
 
virtual KOKKOS_FUNCTION Real timeIntegral (Real t1, Real t2, Real3 p) const =0
 
virtual KOKKOS_FUNCTION Real integral () const =0
 
virtual KOKKOS_FUNCTION Real average () const =0
 

Detailed Description

Base class for device function wrapper.

Definition at line 25 of file KokkosFunctionWrapper.h.

Constructor & Destructor Documentation

◆ FunctionWrapperDeviceBase()

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

Constructor.

Definition at line 31 of file KokkosFunctionWrapper.h.

31 {}

◆ ~FunctionWrapperDeviceBase()

virtual KOKKOS_FUNCTION Moose::Kokkos::FunctionWrapperDeviceBase::~FunctionWrapperDeviceBase ( )
inlinevirtual

Virtual destructor.

Definition at line 35 of file KokkosFunctionWrapper.h.

35 {}

Member Function Documentation

◆ average()

virtual KOKKOS_FUNCTION Real Moose::Kokkos::FunctionWrapperDeviceBase::average ( ) const
pure virtual

◆ curl()

virtual KOKKOS_FUNCTION Real3 Moose::Kokkos::FunctionWrapperDeviceBase::curl ( Real  t,
Real3  p 
) const
pure virtual

◆ div()

virtual KOKKOS_FUNCTION Real Moose::Kokkos::FunctionWrapperDeviceBase::div ( Real  t,
Real3  p 
) const
pure virtual

◆ gradient()

virtual KOKKOS_FUNCTION Real3 Moose::Kokkos::FunctionWrapperDeviceBase::gradient ( Real  t,
Real3  p 
) const
pure virtual

◆ integral()

virtual KOKKOS_FUNCTION Real Moose::Kokkos::FunctionWrapperDeviceBase::integral ( ) const
pure virtual

◆ timeDerivative()

virtual KOKKOS_FUNCTION Real Moose::Kokkos::FunctionWrapperDeviceBase::timeDerivative ( Real  t,
Real3  p 
) const
pure virtual

◆ timeIntegral()

virtual KOKKOS_FUNCTION Real Moose::Kokkos::FunctionWrapperDeviceBase::timeIntegral ( Real  t1,
Real  t2,
Real3  p 
) const
pure virtual

◆ value()

virtual KOKKOS_FUNCTION Real Moose::Kokkos::FunctionWrapperDeviceBase::value ( Real  t,
Real3  p 
) const
pure virtual

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

{@

Implemented in Moose::Kokkos::FunctionWrapperDevice< Object >.

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

◆ vectorValue()

virtual KOKKOS_FUNCTION Real3 Moose::Kokkos::FunctionWrapperDeviceBase::vectorValue ( Real  t,
Real3  p 
) const
pure virtual

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