![]() |
OpenLB 1.8.1
|
Concrete storage of ParametersD in olb::Data. More...
#include <fieldParametersD.h>
Inheritance diagram for olb::ConcreteParametersD< T, DESCRIPTOR, PLATFORM, PARAMETERS >:
Collaboration diagram for olb::ConcreteParametersD< T, DESCRIPTOR, PLATFORM, PARAMETERS >:Public Member Functions | |
| ConcreteParametersD (std::size_t) | |
| AbstractParameters< T, DESCRIPTOR > & | asAbstract () override |
| Return abstract interface to host-side parameters. | |
| void | setProcessingContext (ProcessingContext context) override |
| std::size_t | getNblock () const override |
| Number of data blocks for the serializable interface. | |
| std::size_t | getSerializableSize () const override |
| Binary size for the serializer. | |
| bool * | getBlock (std::size_t iBlock, std::size_t &sizeBlock, bool loadingMode) override |
| Return a pointer to the memory of the current block and its size for the serializable interface. | |
Public Member Functions inherited from olb::AbstractedConcreteParameters< T, DESCRIPTOR > | |
Public Member Functions inherited from olb::Serializable | |
| virtual | ~Serializable ()=default |
| template<bool includeLogOutputDir = true> | |
| bool | save (std::string fileName="", const bool enforceUint=false) |
Save Serializable into file fileName | |
| template<bool includeLogOutputDir = true> | |
| bool | load (std::string fileName="", const bool enforceUint=false) |
Load Serializable from file fileName | |
| bool | save (std::uint8_t *buffer) |
Save Serializable into buffer of length getSerializableSize | |
| bool | load (const std::uint8_t *buffer) |
Load Serializable from buffer of length getSerializableSize | |
| virtual void | postLoad () |
Public Attributes | |
| ParametersD< T, DESCRIPTOR >::template include< PARAMETERS > | parameters |
Additional Inherited Members | |
Protected Member Functions inherited from olb::Serializable | |
| template<typename DataType > | |
| void | registerVar (const std::size_t iBlock, std::size_t &sizeBlock, std::size_t ¤tBlock, bool *&dataPtr, const DataType &data, const size_t arrayLength=1) const |
Register primitive data types (int, double, ...) or arrays of those. | |
| template<typename DataType > | |
| void | registerSerializableOfConstSize (const std::size_t iBlock, std::size_t &sizeBlock, std::size_t ¤tBlock, bool *&dataPtr, DataType &data, const bool loadingMode=false) |
Register Serializable object of constant size. | |
| template<typename DataType > | |
| void | registerSerializablesOfConstSize (const std::size_t iBlock, std::size_t &sizeBlock, std::size_t ¤tBlock, bool *&dataPtr, DataType *data, const size_t arrayLength, const bool loadingMode=false) |
Register an array of Serializable objects of constant size. | |
Concrete storage of ParametersD in olb::Data.
AbstractParameters resp. ParametersD are not directly used in order to preserve a minimal cross-device implementation of this critical data structure.
Definition at line 275 of file fieldParametersD.h.
|
inline |
Definition at line 279 of file fieldParametersD.h.
|
inlineoverridevirtual |
Return abstract interface to host-side parameters.
Implements olb::AbstractedConcreteParameters< T, DESCRIPTOR >.
Definition at line 284 of file fieldParametersD.h.
|
overridevirtual |
Return a pointer to the memory of the current block and its size for the serializable interface.
Implements olb::Serializable.
Definition at line 49 of file fieldParametersD.hh.
|
overridevirtual |
Number of data blocks for the serializable interface.
Implements olb::Serializable.
Definition at line 32 of file fieldParametersD.hh.
|
overridevirtual |
Binary size for the serializer.
Implements olb::Serializable.
Definition at line 38 of file fieldParametersD.hh.
References olb::Vector< T, Size >::getSerializableSize().
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements olb::AbstractedConcreteParameters< T, DESCRIPTOR >.
Definition at line 288 of file fieldParametersD.h.
| ParametersD<T,DESCRIPTOR>::template include<PARAMETERS> olb::ConcreteParametersD< T, DESCRIPTOR, PLATFORM, PARAMETERS >::parameters |
Definition at line 277 of file fieldParametersD.h.