NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoFOAM::SumKernel Struct Reference

#include <sum.hpp>

Public Member Functions

template<typename T >
void operator() (const GPUExecutor &exec, const Field< T > &field, T &sum) const
 
template<typename T >
void operator() (const CPUExecutor &exec, const Field< T > &field, T &sum)
 
template<typename T >
void operator() (const SerialExecutor &exec, const Field< T > &field, T &sum)
 

Detailed Description

Definition at line 11 of file sum.hpp.

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
void NeoFOAM::SumKernel::operator() ( const CPUExecutor exec,
const Field< T > &  field,
T &  sum 
)
inline

Definition at line 28 of file sum.hpp.

◆ operator()() [2/3]

template<typename T >
void NeoFOAM::SumKernel::operator() ( const GPUExecutor exec,
const Field< T > &  field,
T &  sum 
) const
inline

Definition at line 14 of file sum.hpp.

◆ operator()() [3/3]

template<typename T >
void NeoFOAM::SumKernel::operator() ( const SerialExecutor exec,
const Field< T > &  field,
T &  sum 
)
inline

Definition at line 42 of file sum.hpp.


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