|
| FieldArrayD (std::size_t count) |
|
const AbstractFieldArrayD< T, DESCRIPTOR, FIELD > & | asAbstract () const |
|
AbstractFieldArrayD< T, DESCRIPTOR, FIELD > & | asAbstract () |
|
void | setProcessingContext (ProcessingContext context) override |
|
void | resize (std::size_t newCount) override |
|
auto | getField (std::size_t iCell) const |
| Return copy of FIELD data for cell iCell.
|
|
void | setField (std::size_t iCell, const FieldD< T, DESCRIPTOR, FIELD > &v) |
| Set FIELD data at cell iCell.
|
|
auto | getFieldPointer (std::size_t iCell) const |
|
auto | getFieldPointer (std::size_t iCell) |
|
Public Member Functions inherited from olb::ColumnVector< ImplementationOf< FIELD::template column_type< T >, PLATFORM >::type, DESCRIPTOR::template size< FIELD >()> |
| ColumnVector (std::size_t count) |
|
| ColumnVector (ColumnVector &&rhs) |
|
std::size_t | getSize () const |
|
const ImplementationOf< FIELD::template column_type< T >, PLATFORM >::type & | operator[] (unsigned iDim) const |
|
ImplementationOf< FIELD::template column_type< T >, PLATFORM >::type & | operator[] (unsigned iDim) |
|
auto | getRow (std::size_t i) const |
| Return copy of data at index i.
|
|
auto | setRow (std::size_t i, const Vector< typename COLUMN::value_t, D > &value) |
|
ptr | getRowPointer (std::size_t i) |
|
const_ptr | getRowPointer (std::size_t i) const |
|
void | resize (std::size_t newCount) |
| Resize columns, potentially invalidates any inbound pointers.
|
|
void | swap (std::size_t i, std::size_t j) |
| Swap contents of row i and row j.
|
|
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.
|
|
void | postLoad () override |
|
Public Member Functions inherited from olb::ColumnVectorBase |
virtual | ~ColumnVectorBase () |
|
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
|
|
const auto & | operator[] (unsigned iDim) const |
|
auto & | operator[] (unsigned iDim) |
|
auto | get (std::size_t i) const |
|
void | set (std::size_t i, const FieldD< T, DESCRIPTOR, FIELD > &data) |
|
const_ptr | getPointer (std::size_t i) const |
|
ptr | getPointer (std::size_t i) |
|
|
Static Public Attributes inherited from olb::ColumnVector< ImplementationOf< FIELD::template column_type< T >, PLATFORM >::type, DESCRIPTOR::template size< FIELD >()> |
static constexpr unsigned | d |
|
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.
|
|
Protected Attributes inherited from olb::ColumnVector< ImplementationOf< FIELD::template column_type< T >, PLATFORM >::type, DESCRIPTOR::template size< FIELD >()> |
std::size_t | _count |
| Number of rows.
|
|
std::array< ImplementationOf< FIELD::template column_type< T >, PLATFORM >::type, D > | _column |
|
template<typename T, typename DESCRIPTOR,
Platform PLATFORM, typename FIELD>
class olb::FieldArrayD< T, DESCRIPTOR, PLATFORM, FIELD >
SoA storage for instances of a single FIELD.
Definition at line 203 of file fieldArrayD.h.