1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
#include <hdf5.h>
#include <visit-hdf5.h>
#if HDF5_VERSION_GE(1, 8, 1)
/**
* @file VsSchema.h
*
* @class VsSchema
*
* @brief Describes how instant datasets and meshes are found in the
* file compliant with the schema.
*
* Copyright © 2008 by Tech-X Corporation
*/
#ifndef VS_SCHEMA
#define VS_SCHEMA
#include <string>
struct VsSchema {
// MD elements
static std::string mdAtt;
// Elements of schema
static std::string typeAtt;
static std::string kindAtt;
static std::string meshAtt;
static std::string centeringAtt; // This is deprecated
static std::string cellOffsetAtt; // Instead of offsetAtt
static std::string indexOrderAtt; //component major/minor, index C/Fortran; compMinorC is default
static std::string numSpatialDimsAtt;
static std::string spatialIndicesAtt;
static std::string labelsAtt;
static std::string varKey;
static std::string vsVarsKey;
static std::string varWithMeshKey;
static std::string meshKey;
static std::string zonalCenteringKey;// Node center is default
static std::string structuredMeshKey;
// Index ordering...
static std::string compMajorCKey;
static std::string compMinorCKey;
static std::string compMajorFKey;
static std::string compMinorFKey;
struct Uniform {
static std::string key;
static std::string deprecated_key;
static std::string lowerBounds;
static std::string startCell;
static std::string numCells;
static std::string upperBounds;
};
struct Rectilinear {
static std::string key;
static std::string axis0Key;
static std::string axis0DefaultName;
static std::string axis1Key;
static std::string axis1DefaultName;
static std::string axis2Key;
static std::string axis2DefaultName;
};
struct Unstructured {
static std::string key;
static std::string defaultPolygonsName; //polygons
static std::string defaultPolyhedraName; //polyhedra
static std::string defaultPointsName; //points
static std::string defaultLinesName; //Lines
static std::string defaultTrianglesName; //Triangles
static std::string defaultQuadrilateralsName; //Quadrilaterals
static std::string defaultTetrahedralsName; //Tetrahedral
static std::string defaultPyramidsName; //Pyramids
static std::string defaultPrismsName; //Prisms
static std::string defaultHexahedralsName; //Hexahedrals
static std::string vsPolygons; //polygons
static std::string vsPolyhedra; //polyhedra
static std::string vsPoints; //points
static std::string vsLines; //Lines
static std::string vsTriangles; //Triangles
static std::string vsQuadrilaterals; //Quadrilaterals
static std::string vsTetrahedrals; //Tetrahedral
static std::string vsPyramids; //Pyramids
static std::string vsPrisms; //Prisms
static std::string vsHexahedrals; //Hexahedrals
static std::string vsPoints0; //points
static std::string vsPoints1; //points
static std::string vsPoints2; //points
};
};
#endif
#endif
|