OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::BlockO< T, DESCRIPTOR, PLATFORM > Struct Template Referenceabstract

Base of block-wide operators such as post processors. More...

#include <operator.h>

+ Inheritance diagram for olb::BlockO< T, DESCRIPTOR, PLATFORM >:
+ Collaboration diagram for olb::BlockO< T, DESCRIPTOR, PLATFORM >:

Public Member Functions

virtual void set (CellID iCell, bool state)=0
 Set whether iCell is covered by the operator (optional)
 
virtual void setup (ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > &block)=0
 Setup operator context.
 
virtual void apply (ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > &block)=0
 Apply operator on block.
 
- Public Member Functions inherited from olb::AbstractBlockO
virtual ~AbstractBlockO ()=default
 
virtual std::type_index id () const =0
 

Detailed Description

template<typename T, typename DESCRIPTOR, Platform PLATFORM>
struct olb::BlockO< T, DESCRIPTOR, PLATFORM >

Base of block-wide operators such as post processors.

Definition at line 41 of file operator.h.

Member Function Documentation

◆ apply()

template<typename T , typename DESCRIPTOR , Platform PLATFORM>
virtual void olb::BlockO< T, DESCRIPTOR, PLATFORM >::apply ( ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > & block)
pure virtual

Apply operator on block.

Implemented in olb::LegacyBlockPostProcessorO< T, DESCRIPTOR, PLATFORM >.

◆ set()

template<typename T , typename DESCRIPTOR , Platform PLATFORM>
virtual void olb::BlockO< T, DESCRIPTOR, PLATFORM >::set ( CellID iCell,
bool state )
pure virtual

◆ setup()

template<typename T , typename DESCRIPTOR , Platform PLATFORM>
virtual void olb::BlockO< T, DESCRIPTOR, PLATFORM >::setup ( ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > & block)
pure virtual

Setup operator context.

Implemented in olb::LegacyBlockPostProcessorO< T, DESCRIPTOR, PLATFORM >.


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