4 #include "senseiConfig.h" 5 #include "BinaryStream.h" 25 void SetAll(){ Flags = 0xffffffffffffffff; }
26 void ClearAll(){ Flags = 0; }
87 int ToStream(ostream &str)
const;
98 enum { DECOMP = 0x1, SIZE = 0x2, EXTENTS = 0x4,
99 BOUNDS = 0x8, RANGE = 0x10 };
105 using MeshMetadataPtr = std::shared_ptr<sensei::MeshMetadata>;
118 MeshMetadataPtr mdp = MeshMetadataPtr(
new MeshMetadata);
138 int ToStream(ostream &str)
const;
152 int Validate(MPI_Comm comm,
158 int GlobalizeView(MPI_Comm);
163 int ClearBlockInfo();
166 int CopyBlockInfo(
const sensei::MeshMetadataPtr &other,
int bid);
169 int ClearArrayInfo();
172 int CopyArrayInfo(
const sensei::MeshMetadataPtr &other,
173 const std::string &arrayName);
219 std::vector<std::array<int,6>> BlockExtents;
220 std::vector<std::array<double,6>> BlockBounds;
222 std::vector<std::vector<std::array<double,2>>> BlockArrayRange;
225 std::vector<std::array<int,3>> RefRatio;
226 std::vector<int> BlocksPerLevel;
227 std::vector<int> BlockLevel;
228 std::array<int,3> PeriodicBoundary;
238 MeshType(SVTK_MULTIBLOCK_DATA_SET), BlockType(SVTK_DATA_SET), NumBlocks(0),
239 NumBlocksLocal(), Extent(), Bounds(), CoordinateType(SVTK_DOUBLE),
240 NumPoints(0), NumCells(0), CellArraySize(0), CellArrayType(SVTK_TYPE_INT64),
241 NumArrays(0), NumGhostCells(0), NumGhostNodes(0), NumLevels(0),
242 StaticMesh(0), ArrayName(), ArrayCentering(), ArrayType(),
243 ArrayRange(),BlockOwner(), BlockIds(), BlockNumPoints(), BlockNumCells(),
244 BlockCellArraySize(), BlockExtents(), BlockBounds(), BlockArrayRange(),
245 RefRatio(), BlocksPerLevel(), BlockLevel(), PeriodicBoundary(), Flags()
Definition: BinaryStream.h:19
SENSEI.
Definition: ADIOS2AnalysisAdaptor.h:27