![]() |
OpenLB 1.8.1
|
Base of a field whose size is defined by [C_0,C_1,C_2]^T * [1,D,Q]. More...
#include <fields.h>
Inheritance diagram for olb::descriptors::FIELD_BASE< C_0, C_1, C_2 >:
Collaboration diagram for olb::descriptors::FIELD_BASE< C_0, C_1, C_2 >: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<typename DESCRIPTOR > | |
| static constexpr std::size_t | size () |
| Get size of field for descriptor. | |
| template<typename T , typename DESCRIPTOR > | |
| static constexpr auto | getInitialValue () |
| Return value must be a correctly sized and typed olb::Vector. | |
| template<typename T , typename DESCRIPTOR , typename FIELD > | |
| static constexpr auto | isValid (FieldD< T, DESCRIPTOR, FIELD > value) |
| static constexpr bool | isSerializable () |
Base of a field whose size is defined by [C_0,C_1,C_2]^T * [1,D,Q].
| using olb::descriptors::FIELD_BASE< C_0, C_1, C_2 >::column_type = AbstractColumn<T> |
| using olb::descriptors::FIELD_BASE< C_0, C_1, C_2 >::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.
|
default |
|
inlinestaticconstexpr |
Return value must be a correctly sized and typed olb::Vector.
Definition at line 81 of file fields.h.
References olb::descriptors::FIELD_BASE< C_0, C_1, C_2 >::size().
Here is the call graph for this function:
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |