23 inline static const std::string CATALYST_DATABASE_TYPE =
"catalyst";
24 inline static const std::string CATALYST_DUMMY_DATABASE =
"dummy.db";
29 IOSSparams(
const std::string &fileName,
const std::string &dbType,
31 : fileName(fileName), dbType(dbType), databaseIO(nullptr), isCatalyst(false),
42 std::unique_ptr<Ioss::Region>
region;
50 void addBlockMesh(
const BlockMesh &blockMesh);
55 int getNumLocalPointsInMeshSet();
57 std::string getStructuredBlockName(
int index);
58 std::string getStructuredNodeBlockName(
int index);
60 std::string getUnstructuredBlockName(
int index);
63 std::vector<BlockMesh>
bms;
70 void switchStateDefineTransient(
IOSSparams &iop);
73 void writeStructuredBlockDefinitions(
IOSSparams &iop);
74 void writeStructuredBlockBulkData(
IOSSparams &iop);
75 void writeStructuredTransientFieldDefinitions(
IOSSparams &iop);
76 void writeStructuredTransientBulkData(
IOSSparams &iop);
78 void writeUnstructuredBlockDefinitions(
IOSSparams &iop);
79 void writeUnstructuredBlockBulkData(
IOSSparams &iop);
80 void writeUnstructuredTransientFieldDefinitions(
IOSSparams &iop);
84 void writeUnstructuredTransientBulkData(
IOSSparams &iop);
91 inline static const std::string CGNS_DATABASE_TYPE =
"cgns";
92 inline static const std::string EXODUS_DATABASE_TYPE =
"exodus";
93 inline static const std::string IOSS_CELL_FIELD =
"cell";
94 inline static const std::string IOSS_POINT_FIELD =
"point";
95 inline static const std::string IOSS_GLOBAL_FIELD =
"global";
96 inline static const std::string IOSS_SCALAR_STORAGE =
"scalar";