OpenLB 1.7
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
olb::FdBasePostProcessor3D< T, DESCRIPTOR, FIELD, SOURCE > Class Template Reference

#include <fdPostProcessor3D.h>

+ Inheritance diagram for olb::FdBasePostProcessor3D< T, DESCRIPTOR, FIELD, SOURCE >:
+ Collaboration diagram for olb::FdBasePostProcessor3D< T, DESCRIPTOR, FIELD, SOURCE >:

Protected Member Functions

 FdBasePostProcessor3D ()
 
template<typename CELL >
void applySourceTerm (T *fNew, CELL &cell) any_platform
 

Detailed Description

template<typename T, typename DESCRIPTOR, typename FIELD = descriptors::AD_FIELD, typename SOURCE = void>
class olb::FdBasePostProcessor3D< T, DESCRIPTOR, FIELD, SOURCE >

Definition at line 40 of file fdPostProcessor3D.h.

Constructor & Destructor Documentation

◆ FdBasePostProcessor3D()

template<typename T , typename DESCRIPTOR , typename FIELD , typename SOURCE >
olb::FdBasePostProcessor3D< T, DESCRIPTOR, FIELD, SOURCE >::FdBasePostProcessor3D ( )
protected

Definition at line 38 of file fdPostProcessor3D.hh.

39{
40 static_assert(DESCRIPTOR::template size<FIELD>() == 2, "FIELD must have size 2." );
41}

Member Function Documentation

◆ applySourceTerm()

template<typename T , typename DESCRIPTOR , typename FIELD , typename SOURCE >
template<typename CELL >
void olb::FdBasePostProcessor3D< T, DESCRIPTOR, FIELD, SOURCE >::applySourceTerm ( T * fNew,
CELL & cell )
protected

Definition at line 45 of file fdPostProcessor3D.hh.

46{
47 if constexpr (! std::is_void<SOURCE>::value) {
48 *fNew += cell.template getFieldPointer<SOURCE>()[0];
49 }
50}

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