|
MGIS 3.1.0
|
a simple data structure describing how the data of a function is mapped in memory More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/Function.hxx>
Public Member Functions | |
| FunctionDataLayout ()=default | |
| default constructor | |
| FunctionDataLayout (FunctionDataLayout &&)=default | |
| move constructor | |
| FunctionDataLayout (const FunctionDataLayout &)=default | |
| copy constructor | |
| FunctionDataLayout & | operator= (FunctionDataLayout &&)=default |
| move assignment operator | |
| FunctionDataLayout & | operator= (const FunctionDataLayout &)=default |
| copy assignment operator | |
| ~FunctionDataLayout ()=default | |
| destructor | |
| Public Member Functions inherited from mgis::function::FunctionDataSize< layout.data_size > | |
| constexpr bool | isScalar () const MGIS_NOEXCEPT |
| constexpr size_type | getNumberOfComponents () const MGIS_NOEXCEPT |
| Public Member Functions inherited from mgis::function::FunctionDataStride< layout.data_stride > | |
| constexpr size_type | getDataStride () const MGIS_NOEXCEPT |
Protected Member Functions | |
| constexpr size_type | getDataOffset (const size_type) const MGIS_NOEXCEPT |
| the data offset of an integration point is its offset multiplied by the stride, which is taken from the template parameter when it is known at compile time, from the FunctionDataStride base class otherwise | |
a simple data structure describing how the data of a function is mapped in memory
This class gathers the number of components and the stride of the data of a function through the FunctionDataSize and FunctionDataStride base classes, which store those properties at compile time or at run time depending on the value of layout.
| layout | data layout description. The requires clause states that the data size and the data stride are greater than zero and that the data size is not greater than the data stride when both are known at compile time. |
|
nodiscardconstexprprotected |
the data offset of an integration point is its offset multiplied by the stride, which is taken from the template parameter when it is known at compile time, from the FunctionDataStride base class otherwise
| [in] | i | integration point |