![]() |
OpenLB 1.8.1
|
Context for the execution of block refinement operators. More...
#include <superLatticeRefinement.h>
Inheritance diagram for olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >:
Collaboration diagram for olb::ConcreteBlockRefinementContextD< T, DESCRIPTOR, PLATFORM >:Public Member Functions | |
| ConcreteBlockRefinementContextD (ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > &cLattice, ConcreteBlockLattice< T, DESCRIPTOR, PLATFORM > &fLattice, ConcreteBlockD< T, refinement::DATA_DESCRIPTOR< DESCRIPTOR >, PLATFORM > &data) | |
| Platform | getPlatform () const override |
| void | setProcessingContext (ProcessingContext context) override |
| auto & | getFineLattice () |
| auto & | getCoarseLattice () |
| auto & | getConcreteData () |
| BlockRefinementContextD< T, DESCRIPTOR >::Data & | getData () override |
| Return reference to contextual data. | |
| void | add (LatticeR< DESCRIPTOR::d > latticeR) override |
| Connect the coarse and fine lattice at position latticeR. | |
| std::optional< std::size_t > | getDataIndex (LatticeR< DESCRIPTOR::d > latticeR) const override |
| Return index where contextual data of connection point latticeR is stored. | |
| void | apply (BlockRefinementOperatorPromise< T, DESCRIPTOR > &&promise) override |
| Apply promised algorithm step to the previously added connection points. | |
Public Member Functions inherited from olb::BlockRefinementContextD< T, DESCRIPTOR > | |
| template<Platform PLATFORM> | |
| auto & | asConcrete () |
Additional Inherited Members | |
Public Types inherited from olb::BlockRefinementContextD< T, DESCRIPTOR > | |
| using | value_t = T |
| using | descriptor_t = DESCRIPTOR |
| using | Data = olb::BlockD<T,refinement::DATA_DESCRIPTOR<DESCRIPTOR>> |
Context for the execution of block refinement operators.
Definition at line 36 of file superLatticeRefinement.h.
|
inline |
Definition at line 64 of file superLatticeRefinement.h.
References olb::BlockStructureD< D >::getCore(), and olb::ConcreteBlockD< T, DESCRIPTOR, PLATFORM >::resize().
Here is the call graph for this function:
|
inlineoverridevirtual |
Connect the coarse and fine lattice at position latticeR.
Implements olb::BlockRefinementContextD< T, DESCRIPTOR >.
Definition at line 105 of file superLatticeRefinement.h.
References olb::BlockStructureD< D >::getCellId(), olb::BlockStructureD< D >::getCore(), olb::BlockStructureD< D >::getNcells(), and olb::ConcreteBlockD< T, DESCRIPTOR, PLATFORM >::resize().
Here is the call graph for this function:
|
inlineoverridevirtual |
Apply promised algorithm step to the previously added connection points.
Scope of operator must match scope of context
Implements olb::BlockRefinementContextD< T, DESCRIPTOR >.
Definition at line 139 of file superLatticeRefinement.h.
References olb::ConcreteBlockD< T, DESCRIPTOR, PLATFORM >::setProcessingContext(), and olb::Simulation.
Here is the call graph for this function:
|
inline |
Definition at line 93 of file superLatticeRefinement.h.
Here is the caller graph for this function:
|
inline |
Definition at line 97 of file superLatticeRefinement.h.
Here is the caller graph for this function:
|
inlineoverridevirtual |
Return reference to contextual data.
Implements olb::BlockRefinementContextD< T, DESCRIPTOR >.
Definition at line 101 of file superLatticeRefinement.h.
|
inlineoverridevirtual |
Return index where contextual data of connection point latticeR is stored.
Implements olb::BlockRefinementContextD< T, DESCRIPTOR >.
Definition at line 130 of file superLatticeRefinement.h.
References olb::BlockStructureD< D >::getCellId().
Here is the call graph for this function:
|
inline |
Definition at line 89 of file superLatticeRefinement.h.
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements olb::BlockRefinementContextD< T, DESCRIPTOR >.
Definition at line 81 of file superLatticeRefinement.h.
|
inlineoverridevirtual |
Implements olb::BlockRefinementContextD< T, DESCRIPTOR >.
Definition at line 85 of file superLatticeRefinement.h.
References olb::ConcreteBlockD< T, DESCRIPTOR, PLATFORM >::setProcessingContext().
Here is the call graph for this function: