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

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

#include <concepts.h>

Concept definition

template<typename OPERATOR>
concept olb::concepts::CellOperator = requires(OPERATOR op) {
{ OPERATOR::scope } -> std::convertible_to<OperatorScope>;
requires OPERATOR::scope == OperatorScope::PerCell
|| OPERATOR::scope == OperatorScope::PerCellWithParameters;
{ op.getPriority() } -> std::same_as<int>;
}
Cell-wise operator with scope, priority and apply template.
Definition concepts.h:102
@ PerCell
Per-cell application, i.e. OPERATOR::apply is passed a CELL concept implementation.
@ PerCellWithParameters
Per-cell application with parameters, i.e. OPERATOR::apply is passed a CELL concept implementation an...

Detailed Description

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

Definition at line 102 of file concepts.h.