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
|
#include <hdf5.h>
#include <visit-hdf5.h>
#if HDF5_VERSION_GE(1,8,1)
/**
* @file VsSchema.cpp
*
* @class VsSchema
*
* @brief Describes how instant datasets and meshes are found in the
* file compliant with the schema.
*
* Copyright © 2008 by Tech-X Corporation
*/
#include <VsSchema.h>
std::string VsSchema::mdAtt ="vsMD";
std::string VsSchema::typeAtt ="vsType";
std::string VsSchema::kindAtt = "vsKind";
std::string VsSchema::meshAtt = "vsMesh";
std::string VsSchema::centeringAtt ="vsCentering";
std::string VsSchema::indexOrderAtt = "vsIndexOrder";
std::string VsSchema::numSpatialDimsAtt = "vsNumSpatialDims";
std::string VsSchema::spatialIndicesAtt = "vsSpatialIndices";
std::string VsSchema::labelsAtt = "vsLabels";
std::string VsSchema::varKey = "variable";
std::string VsSchema::varWithMeshKey = "variableWithMesh";
std::string VsSchema::meshKey = "mesh";
std::string VsSchema::vsVarsKey = "vsVars";
std::string VsSchema::zonalCenteringKey = "zonal"; // Default is nodal
// Index ordering...
std::string VsSchema::compMajorCKey = "compMajorC"; //currently not supported
std::string VsSchema::compMinorCKey = "compMinorC"; //default ordering
std::string VsSchema::compMajorFKey = "compMajorF"; //currently not supported
std::string VsSchema::compMinorFKey = "compMinorF"; //supported
// Meshes
std::string VsSchema::structuredMeshKey = "structured";
std::string VsSchema::Rectilinear::key = "rectilinear";
std::string VsSchema::Rectilinear::axis0Key = "vsAxis0";
std::string VsSchema::Rectilinear::axis0DefaultName = "axis0";
std::string VsSchema::Rectilinear::axis1Key = "vsAxis1";
std::string VsSchema::Rectilinear::axis1DefaultName = "axis1";
std::string VsSchema::Rectilinear::axis2Key = "vsAxis2";
std::string VsSchema::Rectilinear::axis2DefaultName = "axis2";
std::string VsSchema::Uniform::key = "uniform";
std::string VsSchema::Uniform::deprecated_key = "uniformCartesian";
std::string VsSchema::Uniform::lowerBounds = "vsLowerBounds";
std::string VsSchema::Uniform::startCell = "vsStartCell";
std::string VsSchema::Uniform::numCells = "vsNumCells";
std::string VsSchema::Uniform::upperBounds = "vsUpperBounds";
std::string VsSchema::Unstructured::key = "unstructured";
std::string VsSchema::Unstructured::defaultPolygonsName = "polygons";
std::string VsSchema::Unstructured::defaultPolyhedraName = "polyhedra";
std::string VsSchema::Unstructured::defaultPointsName = "points";
std::string VsSchema::Unstructured::defaultLinesName = "lines";
std::string VsSchema::Unstructured::defaultTrianglesName = "triangles";
std::string VsSchema::Unstructured::defaultQuadrilateralsName = "quadrilaterals";
std::string VsSchema::Unstructured::defaultTetrahedralsName = "tetrahedrals";
std::string VsSchema::Unstructured::defaultPyramidsName = "pyramids";
std::string VsSchema::Unstructured::defaultPrismsName = "prisms";
std::string VsSchema::Unstructured::defaultHexahedralsName = "hexahedrals";
std::string VsSchema::Unstructured::vsPolygons = "vsPolygons";
std::string VsSchema::Unstructured::vsPolyhedra = "vsPolyhedra";
std::string VsSchema::Unstructured::vsPoints = "vsPoints";
std::string VsSchema::Unstructured::vsLines = "vsLines";
std::string VsSchema::Unstructured::vsTriangles = "vsTriangles";
std::string VsSchema::Unstructured::vsQuadrilaterals = "vsQuadrilaterals";
std::string VsSchema::Unstructured::vsTetrahedrals = "vsTetrahedrals";
std::string VsSchema::Unstructured::vsPyramids = "vsPyramids";
std::string VsSchema::Unstructured::vsPrisms = "vsPrisms";
std::string VsSchema::Unstructured::vsHexahedrals = "vsHexahedrals";
std::string VsSchema::Unstructured::vsPoints0 = "vsPoints0";
std::string VsSchema::Unstructured::vsPoints1 = "vsPoints1";
std::string VsSchema::Unstructured::vsPoints2 = "vsPoints2";
#endif
|