OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::concepts::Cell Concept Reference

Cell exposing populations and associated fields. More...

#include <concepts.h>

Concept definition

template<typename CELL>
concept olb::concepts::Cell = requires(CELL cell) {
{ cell.template getField<descriptors::POPULATION>() } -> std::same_as<
>;
{ cell.template getFieldComponent<descriptors::POPULATION>(unsigned{}) } -> std::convertible_to<typename CELL::value_t>;
{ cell.template getFieldPointer<descriptors::POPULATION>()[unsigned{}] } -> std::convertible_to<typename CELL::value_t>;
}
Plain old scalar vector.
Foundational arithmetic type for all computations.
Definition concepts.h:47
Cell exposing populations and associated fields.
Definition concepts.h:144
Descriptor of DdQq lattice and associated constants.
Definition concepts.h:78
Basic cell exposing value-typed population references.
Definition concepts.h:137

Detailed Description

Cell exposing populations and associated fields.

Definition at line 144 of file concepts.h.