|
| NodePeriodicBitsRow | operator[] (index i) |
| |
| NodePeriodicBits * | rowPtr (index i) |
| |
| | ParArray (const t_self &R)=default |
| |
| t_self & | operator= (const t_self &R)=default |
| |
| void | clone (const t_self &R) |
| | Copy-assign from another ParArray. Shallow copy semantics (mirrors Arrayclone): shares structural/data buffers.
|
| |
| void | WriteSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name, Serializer::ArrayGlobalOffset offset) |
| | Serialize (write) the parallel array with MPI-aware metadata.
|
| |
| void | ReadSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name, Serializer::ArrayGlobalOffset &offset) |
| | Deserialize (read) the parallel array with MPI-aware metadata.
|
| |
| MPI_Datatype | getDataType () |
| | MPI element datatype used for ghost exchange (deduced from T).
|
| |
| MPI_int | getTypeMult () |
| | Per-element count multiplier that goes with getDataType.
|
| |
| void | setMPI (const MPIInfo &n_mpi) |
| | Install the MPI context after default construction.
|
| |
| MPIInfo & | getMPI () |
| | Mutable MPI context accessor.
|
| |
| const MPIInfo & | getMPI () const |
| | Read-only MPI context accessor.
|
| |
| void | setDataType (MPI_Datatype n_dType, MPI_int n_TypeMult) |
| | Override the deduced MPI datatype and element multiplier (advanced; needed for custom compound element types).
|
| |
| | ParArray ()=default |
| | Default-construct an uninitialised ParArray; call setMPI and Resize later.
|
| |
| | ParArray (const MPIInfo &n_mpi) |
| | Construct a ParArray bound to the given MPI context.
|
| |
| | ParArray (MPI_Datatype n_dType, MPI_int n_TypeMult, const MPIInfo &n_mpi) |
| | Construct with a custom (MPI datatype, multiplier) pair.
|
| |
| template<typename... Args> |
| | ParArray (ObjName objName, Args &&...args) |
| | Named constructor: sets the object name for tracing/debugging. All existing constructor overloads are supported via perfect forwarding. Inherited by derived classes (ArrayAdjacency, ArrayEigenVector, etc.) through using t_base::t_base.
|
| |
| void | AssertDataType () |
| | Assert the MPI datatype matches sizeof(T) exactly.
|
| |
| bool | AssertConsistent () |
| | Check array consistency across all ranks.
|
| |
| void | createGlobalMapping () |
| | Collective: build the global offsets table.
|
| |
| index | globalSize () const |
| | Returns the total global size (sum of sizes across all ranks).
|
| |
| | Array ()=default |
| | Default-constructed array: empty, no storage.
|
| |
| | Array (ObjName objName) |
| | Named constructor: sets the object name for tracing/debugging. Delegates to the default constructor, then sets the name.
|
| |
| | Array (const self_type &R) |
| | Copy constructor (same semantics as clone).
|
| |
| t_pRowStart | getRowStart () |
| | Shared pointer to the row-start index (CSR layout only).
|
| |
| t_pRowSizes | getRowSizes () |
| | Shared pointer to the per-row size vector (TABLE_Max / TABLE_StaticMax).
|
| |
| | Array ()=default |
| | Default-constructed array: empty, no storage.
|
| |
| | Array (ObjName objName) |
| | Named constructor: sets the object name for tracing/debugging. Delegates to the default constructor, then sets the name.
|
| |
| index | Size () const |
| | Number of rows currently stored. O(1).
|
| |
| rowsize | RowSize () const |
| | Uniform row width for fixed layouts (no row index needed).
|
| |
| rowsize | DataStride () const |
| | Number of T elements per row in flat storage (data stride). For TABLE_StaticMax/TABLE_Max, this is _row_max (padded), not RowSize (used). Not valid for CSR (variable stride per row).
|
| |
| rowsize | RowSize (index iRow) const |
| | Width used by row iRow in number of T elements.
|
| |
| rowsize | RowSizeMax () const |
| | Maximum allowed row width for TABLE_Max / TABLE_StaticMax.
|
| |
| rowsize | RowSizeField () const |
| | "Logical" row-field width used by derived (Eigen) arrays: max for padded layouts, uniform width for fixed layouts. Not valid for CSR.
|
| |
| rowsize | RowSizeField (index iRow) const |
| | Per-row "field" size for CSR (= actual row width). Invalid elsewhere.
|
| |
| bool | IfCompressed () const |
| | (CSR only) Whether the array is in packed / flat form.
|
| |
| void | CSRDecompress () |
| | (CSR only) Switch to the uncompressed (nested vector) representation.
|
| |
| void | CSRCompress () |
| | (CSR only) Pack the nested-vector representation into a flat buffer plus _pRowStart. No-op if already compressed.
|
| |
| void | Compress () |
| | Layout-polymorphic compress: no-op for non-CSR, calls CSRCompress for CSR.
|
| |
| void | Decompress () |
| | Layout-polymorphic decompress: no-op for non-CSR, calls CSRDecompress for CSR.
|
| |
| t_Data & | RawDataVector () |
| | Access to the underlying flat buffer (host_device_vector<T>).
|
| |
| void | Resize (index nSize, rowsize nRow_size_dynamic) |
| | Resize the array, setting a uniform or maximum row width.
|
| |
| void | Resize (index nSize) |
| | Resize using only the row count (layouts with an implicit row width).
|
| |
| template<class TFRowSize > |
| void | Resize (index nSize, TFRowSize &&FRowSize) |
| | Resize a CSR array directly to the compressed form via a width functor.
|
| |
| void | ResizeRow (index iRow, rowsize nRowSize) |
| | Change the width of a single row.
|
| |
| void | ReserveRow (index iRow, rowsize nRowSize) |
| | Reserve capacity for a CSR decompressed row without changing its size.
|
| |
| t_View | view () |
| | Produce a lightweight, device-agnostic view onto the array.
|
| |
| const T & | at (index iRow, rowsize iCol) const |
| | Bounds-checked element access.
|
| |
| T & | operator() (index iRow, rowsize iCol=0) |
| | Bounds-checked 2D element access (writable).
|
| |
| const T & | operator() (index iRow, rowsize iCol=0) const |
| | Bounds-checked 2D element access (read-only).
|
| |
| T * | operator[] (index iRow) |
| | Return a raw pointer to the start of row iRow.
|
| |
| const T * | operator[] (index iRow) const |
| | Const row pointer, see the non-const overload.
|
| |
| T * | data (DeviceBackend B=DeviceBackend::Unknown) |
| | Raw pointer to the flat data buffer.
|
| |
| size_t | DataSize () const |
| | Total number of T elements currently stored in the flat buffer.
|
| |
| size_t | DataSizeBytes () const |
| | Flat buffer size in bytes (= DataSize() * sizeof(T)).
|
| |
| void | CopyRowFrom (index dstRow, const self_type &src, index srcRow) |
| | Copy raw row data from another Array of the same type. Works for all layouts (StaticFixed, Fixed, CSR, etc.) and is not hidden by derived types that make operator()/operator[] private.
|
| |
| template<class TRowSizeFunc > |
| void | ResizeRowsAndCompress (TRowSizeFunc &&rowSizeFunc) |
| | Set per-row sizes from a source, applying an index mapping, then compress. For CSR layout only. rowSizeFunc(i) returns the desired row size for row i. Not hidden by derived types that make ResizeRow private.
|
| |
| size_t | FullSizeBytes () const |
| | Total footprint in bytes including structural arrays.
|
| |
| std::size_t | hash () |
| | Combined hash of size, structural arrays, and data.
|
| |
| constexpr DataLayout | GetDataLayout () |
| | Runtime accessor for the layout tag (constexpr-folded).
|
| |
| void | clone (const self_type &R) |
| | Shallow clone: copies all metadata and shares structural/data storage.
|
| |
| void | CopyData (const self_type &R) |
| | Deep copy alias. Currently delegates to clone; kept for API compatibility and to allow a future true deep-copy implementation.
|
| |
| self_type & | operator= (const self_type &R) |
| | Copy-assignment; implemented via clone with self-assign guard.
|
| |
| | Array (const self_type &R) |
| | Copy constructor (same semantics as clone).
|
| |
| void | SwapData (self_type &R) |
| | Swap the storage of two arrays in-place.
|
| |
| void | __WriteSerializerData (const Serializer::SerializerBaseSSP &serializerP, Serializer::ArrayGlobalOffset offset) |
| |
| void | __ReadSerializerData (const Serializer::SerializerBaseSSP &serializerP, Serializer::ArrayGlobalOffset &offset) |
| |
| void | WriteSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name, Serializer::ArrayGlobalOffset offset, Serializer::ArrayGlobalOffset dataOffset=Serializer::ArrayGlobalOffset_Unknown) |
| | Serialize (write) array data to a serializer.
|
| |
| void | ReadSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name, Serializer::ArrayGlobalOffset &offset) |
| | Convenience overload that discards the dataOffset output.
|
| |
| void | ReadSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name, Serializer::ArrayGlobalOffset &offset, Serializer::ArrayGlobalOffset &dataOffset) |
| | Deserialize (read) array data from a serializer.
|
| |
| ReadSerializerMetaResult | ReadSerializerMeta (Serializer::SerializerBaseSSP serializerP, const std::string &name) |
| | Reads only metadata from a serialized array without reading data.
|
| |
| void | __ReadSerializerStructuralAndResolveDataOffset (const Serializer::SerializerBaseSSP &serializerP, Serializer::ArrayGlobalOffset &offset, Serializer::ArrayGlobalOffset &dataOffset) |
| | Reads structural data (pRowStart / pRowSizes) and resolves dataOffset.
|
| |
| void | __ReadSerializerDataAndPropagateOffset (const Serializer::SerializerBaseSSP &serializerP, Serializer::ArrayGlobalOffset &offset, Serializer::ArrayGlobalOffset &dataOffset) |
| | Reads flat data and propagates resolved offsets back to the caller.
|
| |
| void | to_host () |
| | Mirror the flat/structural buffers back to host memory.
|
| |
| void | to_device (DeviceBackend backend=DeviceBackend::Host) |
| | Mirror the flat/structural buffers to a target device (e.g. CUDA).
|
| |
| void | clear_device () |
| | Release any device-side mirror of this array's buffers.
|
| |
| template<DeviceBackend B> |
| t_deviceView< B > | deviceView () |
| | Mutable device-callable view (Eigen::Map-style row access on GPU).
|
| |
| template<DeviceBackend B> |
| t_deviceViewConst< B > | deviceView () const |
| | Const device-callable view. See non-const overload.
|
| |
| DeviceBackend | device () const |
| | Current device backend the data is mirrored on, or Unknown if host-only.
|
| |
| template<DeviceBackend B> |
| iterator< B > | begin () |
| | Iterator to the first row, viewed on device backend B.
|
| |
| template<DeviceBackend B> |
| iterator< B > | end () |
| | Iterator one past the last row, viewed on device backend B.
|
| |
| | ObjectNaming ()=default |
| |
| | ObjectNaming (const ObjectNaming &)=default |
| |
| | ObjectNaming (ObjectNaming &&)=default |
| |
| ObjectNaming & | operator= (const ObjectNaming &)=default |
| |
| ObjectNaming & | operator= (ObjectNaming &&)=default |
| |
| | ~ObjectNaming ()=default |
| |
| void | setObjectName (const std::string &name) |
| |
| const std::string & | getObjectName () const |
| |
| std::string | getObjectIdentity (const std::string &sig) const |
| |
template<
rowsize _row_size = 1,
rowsize _row_max = _row_size,
rowsize _align = NoAlign>
class DNDS::Geom::ArrayNodePeriodicBits< _row_size, _row_max, _align >
Definition at line 159 of file PeriodicInfo.hpp.