OpenLB 1.7
Loading...
Searching...
No Matches
olb::concepts::BlockOperator Concept Reference

Block-wise operator with scope, priority and apply template. More...

#include <concepts.h>

Concept definition

template<typename OPERATOR>
concept olb::concepts::BlockOperator = requires(OPERATOR op) {
{ OPERATOR::scope } -> std::convertible_to<OperatorScope>;
requires OPERATOR::scope == OperatorScope::PerBlock;
{ op.getPriority() } -> std::same_as<int>;
}
Block-wise operator with scope, priority and apply template.
Definition concepts.h:115
@ PerBlock
Per-block application, i.e. OPERATOR::apply is passed a ConcreteBlockLattice.

Detailed Description

Block-wise operator with scope, priority and apply template.

Definition at line 115 of file concepts.h.