![]() |
OpenLB 1.7
|
Base of a field whose size is defined by [C,U_1,...,U_N]^T * [1,V_1,...V_N]. More...
#include <descriptorField.h>
Public Types | |
template<typename T > | |
using | value_type = T |
Return value type of field. | |
template<typename T > | |
using | column_type = AbstractColumn<T> |
Public Member Functions | |
FIELD_BASE ()=default | |
Static Public Member Functions | |
template<std::size_t... V> | |
static constexpr std::size_t | size (std::index_sequence< V... >) |
Get size of field for parameter vector V (strict) | |
template<std::size_t... V> | |
static constexpr std::size_t | size () |
Get size of field for parameter vector V (zero-padds or shortens V as required) | |
template<typename T , typename DESCRIPTOR > | |
static constexpr auto | getInitialValue () |
Return value must be a correctly sized and typed olb::Vector. | |
static constexpr bool | isSerializable () |
Base of a field whose size is defined by [C,U_1,...,U_N]^T * [1,V_1,...V_N].
Definition at line 49 of file descriptorField.h.
using olb::descriptors::FIELD_BASE< C, U >::column_type = AbstractColumn<T> |
Definition at line 63 of file descriptorField.h.
using olb::descriptors::FIELD_BASE< C, U >::value_type = T |
Return value type of field.
Most fields are stored using the same value type as the T type parameter of their associated lattice. However this template offers the possibility of declaring a different value type per field. See TYPED_FIELD_BASE.
Definition at line 60 of file descriptorField.h.
|
default |
|
inlinestaticconstexpr |
Return value must be a correctly sized and typed olb::Vector.
Definition at line 95 of file descriptorField.h.
References olb::descriptors::FIELD_BASE< C, U >::size().
|
inlinestaticconstexpr |
Definition at line 99 of file descriptorField.h.
|
inlinestaticconstexpr |
Get size of field for parameter vector V (zero-padds or shortens V as required)
Definition at line 75 of file descriptorField.h.
References olb::descriptors::FIELD_BASE< C, U >::size(), and olb::meta::take_n_sequence().
|
inlinestaticconstexpr |
Get size of field for parameter vector V (strict)
Definition at line 67 of file descriptorField.h.