Template Class DistributedSparseGridDataContainer
Defined in File DistributedSparseGridUniform.hpp
Class Documentation
-
template<typename FG_ELEMENT>
class DistributedSparseGridDataContainer Container for distributed sparse grid data.
This class is used to store the data of a distributed sparse grid in a contiguous memory block. In addition, it provides storage for Kahan summation terms.
Public Types
-
using SubspaceIndexType = AnyDistributedSparseGrid::SubspaceIndexType
Public Functions
-
inline explicit DistributedSparseGridDataContainer(DistributedSparseGridUniform<FG_ELEMENT> &dsgu)
-
inline void createSubspaceData()
-
inline void createKahanBuffer()
-
inline void deleteSubspaceData()
-
inline void setZero()
-
inline size_t getRawDataSize() const
-
inline bool isSubspaceDataCreated() const
-
inline void swap(DistributedSparseGridDataContainer &other)
-
inline void allocateDifferentSubspaces(std::set<SubspaceIndexType> &&subspaces)
-
using SubspaceIndexType = AnyDistributedSparseGrid::SubspaceIndexType