![]() |
OpenLB 1.8.1
|
Interface for the contextual data of a block refinement. More...
#include <operator.h>
Inheritance diagram for olb::BlockRefinementContextD< T, DESCRIPTOR >:
Collaboration diagram for olb::BlockRefinementContextD< T, DESCRIPTOR >:Public Types | |
| using | value_t = T |
| using | descriptor_t = DESCRIPTOR |
| using | Data = olb::BlockD<T,refinement::DATA_DESCRIPTOR<DESCRIPTOR>> |
Public Member Functions | |
| virtual Platform | getPlatform () const =0 |
| virtual void | setProcessingContext (ProcessingContext context)=0 |
| virtual Data & | getData ()=0 |
| Return reference to contextual data. | |
| virtual void | add (LatticeR< DESCRIPTOR::d > latticeR)=0 |
| Connect the coarse and fine lattice at position latticeR. | |
| virtual std::optional< std::size_t > | getDataIndex (LatticeR< DESCRIPTOR::d > latticeR) const =0 |
| Return index where contextual data of connection point latticeR is stored. | |
| virtual void | apply (BlockRefinementOperatorPromise< T, DESCRIPTOR > &&promise)=0 |
| Apply promised algorithm step to the previously added connection points. | |
| template<Platform PLATFORM> | |
| auto & | asConcrete () |
Interface for the contextual data of a block refinement.
Definition at line 48 of file operator.h.
| using olb::BlockRefinementContextD< T, DESCRIPTOR >::Data = olb::BlockD<T,refinement::DATA_DESCRIPTOR<DESCRIPTOR>> |
Definition at line 52 of file operator.h.
| using olb::BlockRefinementContextD< T, DESCRIPTOR >::descriptor_t = DESCRIPTOR |
Definition at line 50 of file operator.h.
| using olb::BlockRefinementContextD< T, DESCRIPTOR >::value_t = T |
Definition at line 49 of file operator.h.
|
pure virtual |
Connect the coarse and fine lattice at position latticeR.
Implemented in olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >.
|
pure virtual |
Apply promised algorithm step to the previously added connection points.
Scope of operator must match scope of context
Implemented in olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >.
|
inline |
Definition at line 72 of file operator.h.
|
pure virtual |
Return reference to contextual data.
Implemented in olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >.
Here is the caller graph for this function:
|
pure virtual |
Return index where contextual data of connection point latticeR is stored.
Implemented in olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >.
|
pure virtual |
Implemented in olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >.
|
pure virtual |
Implemented in olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >.