![]() |
OpenLB 1.8.1
|
Base of block-wide coupling operators executed by SuperLatticeCoupling. More...
#include <operator.h>
Inheritance diagram for olb::AbstractCouplingO< COUPLEES >:
Collaboration diagram for olb::AbstractCouplingO< COUPLEES >:Public Types | |
| using | value_t = typename COUPLEES::values_t::template get<0>::value_t |
| Value type used for coupling parameters. | |
| using | descriptor_t = typename COUPLEES::values_t::template get<0>::descriptor_t |
| Descriptor type used for coupling parameters. | |
| using | AbstractParameters = olb::AbstractParameters<value_t,descriptor_t> |
| using | ParametersD = olb::ParametersD<value_t,descriptor_t> |
| using | LatticeR = olb::LatticeR<descriptor_t::d> |
| template<typename FIELD > | |
| using | FieldD = olb::FieldD<value_t,descriptor_t,FIELD> |
Public Member Functions | |
| virtual void | execute ()=0 |
| Execute coupling operation. | |
| virtual AbstractParameters & | getParameters ()=0 |
| Return reference to parameters of coupling operator. | |
| virtual void | set (CellID iCell, bool state)=0 |
| Set whether iCell is covered by the present coupling. | |
Public Member Functions inherited from olb::AbstractBlockO | |
| virtual | ~AbstractBlockO ()=default |
| virtual std::type_index | id () const =0 |
Base of block-wide coupling operators executed by SuperLatticeCoupling.
Definition at line 108 of file operator.h.
| using olb::AbstractCouplingO< COUPLEES >::AbstractParameters = olb::AbstractParameters<value_t,descriptor_t> |
Definition at line 114 of file operator.h.
| using olb::AbstractCouplingO< COUPLEES >::descriptor_t = typename COUPLEES::values_t::template get<0>::descriptor_t |
Descriptor type used for coupling parameters.
Definition at line 112 of file operator.h.
| using olb::AbstractCouplingO< COUPLEES >::FieldD = olb::FieldD<value_t,descriptor_t,FIELD> |
Definition at line 119 of file operator.h.
| using olb::AbstractCouplingO< COUPLEES >::LatticeR = olb::LatticeR<descriptor_t::d> |
Definition at line 117 of file operator.h.
| using olb::AbstractCouplingO< COUPLEES >::ParametersD = olb::ParametersD<value_t,descriptor_t> |
Definition at line 115 of file operator.h.
| using olb::AbstractCouplingO< COUPLEES >::value_t = typename COUPLEES::values_t::template get<0>::value_t |
Value type used for coupling parameters.
Definition at line 110 of file operator.h.
|
pure virtual |
Execute coupling operation.
Implemented in olb::ConcreteBlockCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCell >, olb::ConcreteBlockCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCellWithParameters >, olb::ConcreteBlockCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCell >, olb::ConcreteBlockCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCellWithParameters >, olb::ConcreteBlockPointCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCellWithParameters >, and olb::ConcreteBlockPointCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCellWithParameters >.
|
pure virtual |
Return reference to parameters of coupling operator.
Implemented in olb::ConcreteBlockCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCell >, olb::ConcreteBlockCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCellWithParameters >, olb::ConcreteBlockCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCell >, olb::ConcreteBlockCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCellWithParameters >, olb::ConcreteBlockPointCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCellWithParameters >, and olb::ConcreteBlockPointCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCellWithParameters >.
|
pure virtual |
Set whether iCell is covered by the present coupling.
By default the entire non-overlap block area is coupled.
Implemented in olb::ConcreteBlockCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCell >, olb::ConcreteBlockCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCellWithParameters >, olb::ConcreteBlockCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCell >, olb::ConcreteBlockCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCellWithParameters >, olb::ConcreteBlockPointCouplingO< COUPLEES, PLATFORM, COUPLER, OperatorScope::PerCellWithParameters >, and olb::ConcreteBlockPointCouplingO< COUPLEES, Platform::GPU_CUDA, COUPLER, OperatorScope::PerCellWithParameters >.