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

Descriptor of DdQq lattice and associated constants. More...

#include <concepts.h>

Concept definition

template<typename DESCRIPTOR>
concept olb::concepts::LatticeDescriptor = requires () {
{ DESCRIPTOR::q } -> std::convertible_to<std::size_t>;
requires (DESCRIPTOR::template provides<descriptors::POPULATION>());
{ descriptors::c<DESCRIPTOR>(unsigned{}) } -> std::same_as<Vector<int,DESCRIPTOR::d>>;
{ descriptors::t<placeholder::ValueType,DESCRIPTOR>(unsigned{}) } -> std::same_as<placeholder::ValueType>;
{ descriptors::opposite<DESCRIPTOR>(unsigned{}) } -> std::same_as<int>;
{ descriptors::invCs2<placeholder::ValueType,DESCRIPTOR>() } -> std::same_as<placeholder::ValueType>;
}
Descriptor of DdQq lattice and associated constants.
Definition concepts.h:78
constexpr T invCs2() any_platform
Definition functions.h:107
constexpr T t(unsigned iPop, tag::CUM) any_platform
Definition cum.h:108
constexpr int c(unsigned iPop, unsigned iDim) any_platform
Definition functions.h:83
constexpr int opposite(unsigned iPop) any_platform
Definition functions.h:95

Detailed Description

Descriptor of DdQq lattice and associated constants.

Definition at line 78 of file concepts.h.