fileStuff.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. #pragma once
  2. #include "ThirdPartyHeadersBegin.h"
  3. #include <map>
  4. #include <string>
  5. #include <sstream>
  6. #include <stdarg.h>
  7. #include <boost/assign.hpp>
  8. #include "ThirdPartyHeadersEnd.h"
  9. namespace tecplot { namespace ___3933 { typedef std::map<uint16_t, std::string> ___3942; typedef std::map<uint16_t, uint64_t> ___3945; typedef std::map<std::string, std::string> TagDescriptionToDescriptionMap; std::string getFileNameSansFolder(std::string const& ___1394); }}
  10. #define SZPLT_FILE_TYPE_NAME "SZPLT files"
  11. #define SZPLT_FILE_FILTER "*.szplt"
  12. #define SZPLT_FILE_TYPE "SZPLT"
  13. #define SZPLT_MIN_READ_VERSION 104
  14. #define SZPLT_MAX_READ_VERSION 105
  15. #define SZPLT_CUR_WRITE_VERSION 105
  16. #define SZPLT_FILE_MARKER 0x01020304
  17. #define SZPLT_ZONE_MARKER 0x02030405
  18. #define SZPLT_CSZ_CONNECTIVITY_MARKER 0x03040506
  19. #define SZPLT_NSZ_CONNECTIVITY_MARKER 0x04050607
  20. #define SZPLT_CSZ_FIELD_DATA_MARKER 0x05060708
  21. #define SZPLT_NSZ_FIELD_DATA_MARKER 0x06070809
  22. #define SZPLT_CC_FIELD_DATA_MARKER 0x07080910
  23. #define SZPLT_NODAL_FIELD_DATA_MARKER 0x08091011
  24. #define SZPLT_NODE_MAP_MARKER 0x09101112
  25. #define SZPLT_USER_FACE_NEIGHBOR_MARKER 0x10111213
  26. #define SZPLT_AUX_DATA_MARKER 0x11121314
  27. #define SZPLT_GEOMETRY_MARKER 0x12131415
  28. #define SZPLT_TEXT_MARKER 0x13141516
  29. #define SZPLT_CUSTOM_LABELS_MARKER 0x14151617
  30. #define SZPLT_PARTITION_MARKER 0x15161718
  31. #define SZPLT_ZONE_MARKER_DESCRIPTION "zoneMarker*"
  32. #define SZPLT_ZONE_NUM_DESCRIPTION "zoneNum*"
  33. #define SZPLT_VARIABLE_NUM_DESCRIPTION "variableNum*"
  34. #define SZPLT_CC_FIELD_DATA_MARKER_DESCRIPTION "ccFieldDataMarker*"
  35. #define SZPLT_NODAL_FIELD_DATA_MARKER_DESCRIPTION "nodalFieldDataMarker*"
  36. #define SZPLT_CSZ_FIELD_DATA_MARKER_DESCRIPTION "cszFieldDataMarker*"
  37. #define SZPLT_NSZ_FIELD_DATA_MARKER_DESCRIPTION "nszFieldDataMarker*"
  38. #define SZPLT_SUBZONE_NUM_DESCRIPTION "subzoneNum*"
  39. #define SZL_ISTART_DESCRIPTION "iStart*"
  40. #define SZL_IEND_DESCRIPTION "iEnd*"
  41. #define SZL_JSTART_DESCRIPTION "jStart*"
  42. #define SZL_JEND_DESCRIPTION "jEnd*"
  43. #define SZL_KSTART_DESCRIPTION "kStart*"
  44. #define SZL_KEND_DESCRIPTION "kEnd*"
  45. #define SZPLT_CSZ_FIELD_DATA_DESCRIPTION "cszFieldData"
  46. #define SZPLT_NSZ_FIELD_DATA_DESCRIPTION "nszFieldData"
  47. #define SZPLT_NODE_MAP_MARKER_DESCRIPTION "nodeMapMarker*"
  48. #define SZPLT_NSZ_CONNECTIVITY_MARKER_DESCRIPTION "nszConnectivityMarker*"
  49. #define SZPLT_CSZ_CONNECTIVITY_MARKER_DESCRIPTION "cszConnectivityMarker*"
  50. #define SZPLT_USER_FACE_NEIGHBORS_COUNT_DESCRIPTION "userFaceNeighborCount"
  51. #define SZPLT_USER_FACE_NEIGHBOR_MARKER_DESCRIPTION "userFaceNeighborMarker*"
  52. #define SZPLT_USER_FACE_NEIGHBORS_DESCRIPTION "UserFaceNeighbors"
  53. #define SZPLT_FIELD_DATA_DESCRIPTION "FieldData"
  54. #define SZPLT_NODEMAP_DESCRIPTION "NodeMap"
  55. #define SZPLT_AUX_DATA_MARKER_DESCRIPTION "auxData*"
  56. #define SZPLT_GEOMETRY_MARKER_DESCRIPTION "geometry*"
  57. #define SZPLT_TEXT_MARKER_DESCRIPTION "text*"
  58. #define SZPLT_CUSTOM_LABELS_MARKER_DESCRIPTION "customLabels*"
  59. #define SZPLT_PARTITION_MARKER_DESCRIPTION "partitionMarker*"
  60. #define SZPLT_PARTITION_NUM_DESCRIPTION "partitionNum*"
  61. #define SZPLT_NUM_INTERMEDIATE_HEADERS "numIntermediateHeaders"
  62. #define SZPLT_FILE_HEADER_MIN_SIZE 16
  63. #define ___206 40
  64. #define VALID_DESCRIPTION_OR_NULL(___972) (((___972)==NULL) || (VALID_REF((___972)) && strlen((___972))<___206))
  65. #define VALID_DESCRIPTION(___972) (VALID_REF((___972)) && strlen((___972)) < ___206)
  66. #define ___194 1
  67. #define ASCII_INT16_LEN 6
  68. #define ___208 5
  69. #define ASCII_INT32_LEN 11
  70. #define ___209 10
  71. #define ASCII_INT64_LEN 20
  72. #define ___210 19
  73. #define ___211 3
  74. #define ___196 15
  75. #define ___195 23
  76. #define ASCII_HEXUINT8_LEN 2
  77. #define ASCII_HEXUINT16_LEN 4
  78. #define ASCII_HEXUINT32_LEN 8
  79. #define ___197 16
  80. #define ASCII_SPACING_LEN 2
  81. #define ASCII_VAR_LEN 16
  82. #define ASCII_UINT8_MINMAX_LEN (2*___211 + 1)
  83. #define ASCII_INT16_MINMAX_LEN (2*ASCII_INT16_LEN + 1)
  84. #define ASCII_INT32_MINMAX_LEN (2*ASCII_INT32_LEN + 1)
  85. #define ASCII_FLOAT_MINMAX_LEN (2*___196 + 1)
  86. #define ASCII_DOUBLE_MINMAX_LEN (2*___195 + 1)
  87. #define ___1385 0x0102030405060708
  88. #define ___1386 "fileByteOrderIndicator"
  89. #define ___895 "dataSetHeaderFileLoc"
  90. #define ___2849 0x0001
  91. #define ___2845 0x0002
  92. #define SUBZONE_MAX_I_SIZE_TAG 0x0003
  93. #define SUBZONE_MAX_J_SIZE_TAG 0x0004
  94. #define SUBZONE_MAX_K_SIZE_TAG 0x0005
  95. #define SUBZONE_MAX_FE_SIZE_TAG 0x0006
  96. #define ___241 0x0007
  97. #define ___1581 0x0008
  98. #define ___795 0x0009
  99. #define ___4083 0x000A
  100. #define NUM_PARTITION_FILES_TAG 0x000B
  101. #define DATA_SET_TITLE_TAG 0X000C
  102. #define ___4651 0x0100
  103. #define ZONE_TYPE_FILE_LOC_TAG 0x0101
  104. #define ___4630 0x0102
  105. #define ___4610 0x0103
  106. #define ___4676 0x0104
  107. #define ___4686 0x0105
  108. #define ___4670 0x0106
  109. #define ZONE_IMAX_OR_NUM_NODES_FILE_LOC_TAG 0x0107
  110. #define ZONE_JMAX_OR_NUM_CELLS_FILE_LOC_TAG 0x0108
  111. #define ZONE_KMAX_OR_NUM_CORNERS_FILE_LOC_TAG 0x0109
  112. #define ___4674 0x010C
  113. #define ___4365 0x0200
  114. #define VAR_ZONE_MIN_MAX_FILE_LOC_TAG 0x0300
  115. #define ___4393 0x0301
  116. #define ___4384 0x0302
  117. #define ___4387 0x0303
  118. #define ___4390 0x0304
  119. #define ___2839 "numTags"
  120. #define ___3943 "tags"
  121. #define DATA_SET_TITLE_LENGTH "dataSetTitleLength"
  122. #define DATA_SET_TITLE_DESCRIPTION "dataSetTitle"
  123. #define NUM_ZONES_DESCRIPTION "numberOfZones"
  124. #define NUM_VARS_DESCRIPTION "numberOfVars"
  125. #define SUBZONE_MAX_I_SIZE_DESCRIPTION "subzoneMaxISize"
  126. #define SUBZONE_MAX_J_SIZE_DESCRIPTION "subzoneMaxJSize"
  127. #define SUBZONE_MAX_K_SIZE_DESCRIPTION "subzoneMaxKSize"
  128. #define SUBZONE_MAX_FE_SIZE_DESCRIPTION "subzoneMaxFESize"
  129. #define AUX_DATA_FILE_LOC_DESCRIPTION "auxDataFileLoc"
  130. #define GEOMETRY_FILE_LOC_DESCRIPTION "geometry"
  131. #define CUSTOM_LABELS_FILE_LOC_DESCRIPTION "customLabels"
  132. #define TEXT_FILE_LOC_DESCRIPTION "text"
  133. #define NUM_PARTITION_FILES_DESCRIPTION "numPartitionFiles"
  134. #define ZONE_NAME_FILE_LOC_DESCRIPTION "zoneNames"
  135. #define ZONE_TYPE_FILE_LOC_DESCRIPTION "zoneTypes"
  136. #define ZONE_HEADER_FILE_LOC_DESCRIPTION "zoneHeaderFileLocs"
  137. #define ZONE_FACE_NEIGHBOR_MODE_FILE_LOC_DESCRIPTION "zoneFaceNbrModes"
  138. #define ZONE_SOLUTION_TIME_FILE_LOC_DESCRIPTION "zoneSolutionTimes"
  139. #define ZONE_STRAND_ID_FILE_LOC_DESCRIPTION "zoneStrandIDs"
  140. #define ZONE_PARENT_ZONE_FILE_LOC_DESCRIPTION "zoneParentZones"
  141. #define ZONE_IMAX_OR_NUM_NODES_FILE_LOC_DESCRIPTION "zoneIMaxOrNumNodes"
  142. #define ZONE_JMAX_OR_NUM_CELLS_FILE_LOC_DESCRIPTION "zoneJMaxOrNumCells"
  143. #define ZONE_KMAX_OR_NUM_CORNERS_FILE_LOC_DESCRIPTION "zoneKMaxOrNumFaces"
  144. #define ZONE_SHARE_CONNECTIVITY_FILE_LOC_DESCRIPTION "zoneShareConnectivity"
  145. #define VAR_NAME_FILE_LOC_DESCRIPTION "varNames"
  146. #define VAR_ZONE_MIN_MAX_FILE_LOC_DESCRIPTION "zoneMinMaxes"
  147. #define VAR_ZONE_VALUE_LOCATION_FILE_LOC_DESCRIPTION "valueLocations"
  148. #define VAR_ZONE_FIELD_DATA_TYPE_FILE_LOC_DESCRIPTION "fieldDataTypes"
  149. #define VAR_ZONE_IS_PASSIVE_FILE_LOC_DESCRIPTION "passiveVar"
  150. #define VAR_ZONE_SHARE_FILE_LOC_DESCRIPTION "shareVar"
  151. #define ___233 "numAuxData"
  152. #define NUM_GEOMS_DESCRIPTION "numGeometries"
  153. #define ___793 "numCustomLabelSets"
  154. #define ___2820 "numLabels"
  155. #define ___794 "customLabelSet"
  156. #define NUM_TEXTS_DESCRIPTION "numTexts"
  157. #define ___4650 "zoneNamesArray"
  158. #define ___4694 "zoneTypesArray"
  159. #define ___4628 "zoneHeaderFileLocsArray"
  160. #define ___4609 "zoneFaceNbrModesArray"
  161. #define ___4675 "zoneSolutionTimesArray"
  162. #define ___4685 "zoneStrandIDsArray"
  163. #define ___4669 "zoneParentZonesArray"
  164. #define ZONE_IMAX_OR_NUM_NODES_ARRAY_DESCRIPTION "zoneIMaxOrNumNodesArray"
  165. #define ZONE_JMAX_OR_NUM_CELLS_ARRAY_DESCRIPTION "zoneJMaxOrNumCellsArray"
  166. #define ZONE_KMAX_OR_NUM_CORNERS_ARRAY_DESCRIPTION "zoneKMaxOrNumFacesArray"
  167. #define ___4673 "zoneShareConnectivityArray"
  168. #define ___4364 "varNamesArray"
  169. #define VAR_ZONE_MIN_MAX_ARRAY_DESCRIPTION "zoneMinMaxesForVar"
  170. #define ___4392 "valueLocationsForVar"
  171. #define ___4383 "fieldDataTypesForVar"
  172. #define ___4386 "passiveForVar"
  173. #define ___4389 "shareForVar"
  174. #define ___252 "auxDataLocation"
  175. #define ___239 "auxDataEntity"
  176. #define ___262 "auxDataNameLength"
  177. #define ___261 "auxDataName"
  178. #define ___268 "auxDataType"
  179. #define ___272 "auxDataValueLength"
  180. #define ___271 "auxDataValue"
  181. #define ___1653 "xOrThetaPos"
  182. #define ___1655 "yOrRPos"
  183. #define ___1658 "zPos"
  184. #define ___1627 "posCoordMode"
  185. #define ___1611 "isAttached"
  186. #define ___1657 "zone"
  187. #define ___1571 "color"
  188. #define ___1582 "fillColor"
  189. #define ___1612 "isFilled"
  190. #define GEOM_GEOM_TYPE "geomType"
  191. #define ___1613 "linePattern"
  192. #define ___1625 "patternLength"
  193. #define ___1614 "lineThickness"
  194. #define ___1621 "numEllipsePts"
  195. #define ___1569 "arrowheadStyle"
  196. #define ___1563 "arrowheadAttachment"
  197. #define ___1568 "arrowheadSize"
  198. #define ___1562 "arrowheadAngle"
  199. #define ___1633 "scope"
  200. #define GEOM_CLIPPING "clipping"
  201. #define ___1616 "macroFunctionCommandLength"
  202. #define ___1615 "macroFunctionCommand"
  203. #define ___1630 "rectangleWidth"
  204. #define ___1629 "rectangleHeight"
  205. #define ___1649 "squareSize"
  206. #define ___1608 "circleRadius"
  207. #define ___1578 "ellipseHorizontalAxis"
  208. #define ___1579 "ellipseVerticalAxis"
  209. #define ___1623 "numSegments"
  210. #define ___1622 "numPointsInSegment"
  211. #define ___1654 "xValuesForSegment"
  212. #define ___1656 "yValuesForSegment"
  213. #define ___1659 "zValuesForSegment"
  214. #define ___4136 "xOrThetaPos"
  215. #define ___4137 "yOrRPos"
  216. #define ___4140 "zPos"
  217. #define ___4082 "textColor"
  218. #define ___4060 "textBoxColor"
  219. #define ___4062 "textBoxFillColor"
  220. #define ___4072 "textBoxLineThickness"
  221. #define ___4074 "textBoxMargin"
  222. #define TEXT_BOX_TYPE "textBoxType"
  223. #define ___4044 "textAnchor"
  224. #define ___4057 "textAngle"
  225. #define TEXT_CLIPPING "textClipping"
  226. #define TEXT_HEIGHT "textHeight"
  227. #define ___4108 "textLineSpacing"
  228. #define ___4111 "textMacroFunctionCmdLength"
  229. #define ___4110 "textMacroFunctionCmd"
  230. #define ___4116 "textPositionCoordSys"
  231. #define ___4120 "textScope"
  232. #define ___4125 "textSizeUnits"
  233. #define ___4128 "textStringLength"
  234. #define ___4127 "textString"
  235. #define ___4131 "textTypefaceFamilyLength"
  236. #define ___4130 "textTypefaceFamily"
  237. #define ___4133 "textTypefaceIsBold"
  238. #define ___4135 "textTypefaceIsItalic"
  239. #define ___4139 "textZoneOrMap"
  240. #define ___4106 "textIsAttached"
  241. #define DATASET_HEADER_TAG_MAP_INITIALIZER boost::assign::map_list_of<uint16_t, uint64_t> \
  242. (DATA_SET_TITLE_TAG, 0) \
  243. (___2849, 0) \
  244. (___2845, 0) \
  245. (SUBZONE_MAX_I_SIZE_TAG, 0) \
  246. (SUBZONE_MAX_J_SIZE_TAG, 0) \
  247. (SUBZONE_MAX_K_SIZE_TAG, 0) \
  248. (SUBZONE_MAX_FE_SIZE_TAG, 0) \
  249. (___241, 0) \
  250. (___1581, 0) \
  251. (___795, 0) \
  252. (___4083, 0) \
  253. (___4651, 0) \
  254. (ZONE_TYPE_FILE_LOC_TAG, 0) \
  255. (___4630, 0) \
  256. (___4610, 0) \
  257. (___4676, 0) \
  258. (___4686, 0) \
  259. (___4670, 0) \
  260. (ZONE_IMAX_OR_NUM_NODES_FILE_LOC_TAG, 0) \
  261. (ZONE_JMAX_OR_NUM_CELLS_FILE_LOC_TAG, 0) \
  262. (ZONE_KMAX_OR_NUM_CORNERS_FILE_LOC_TAG, 0) \
  263. (___4674, 0) \
  264. (___4365, 0) \
  265. (VAR_ZONE_MIN_MAX_FILE_LOC_TAG, 0) \
  266. (___4393, 0) \
  267. (___4384, 0) \
  268. (___4387, 0) \
  269. (___4390, 0)
  270. #define DATSET_HEADER_TAG_DESCRIPTIONS_MAP_INITIALIZER boost::assign::map_list_of<uint16_t, std::string> \
  271. (DATA_SET_TITLE_TAG, DATA_SET_TITLE_DESCRIPTION) \
  272. (___2849, NUM_ZONES_DESCRIPTION) \
  273. (___2845, NUM_VARS_DESCRIPTION) \
  274. (SUBZONE_MAX_I_SIZE_TAG, SUBZONE_MAX_I_SIZE_DESCRIPTION) \
  275. (SUBZONE_MAX_J_SIZE_TAG, SUBZONE_MAX_J_SIZE_DESCRIPTION) \
  276. (SUBZONE_MAX_K_SIZE_TAG, SUBZONE_MAX_K_SIZE_DESCRIPTION) \
  277. (SUBZONE_MAX_FE_SIZE_TAG, SUBZONE_MAX_FE_SIZE_DESCRIPTION) \
  278. (___241, AUX_DATA_FILE_LOC_DESCRIPTION) \
  279. (___1581, GEOMETRY_FILE_LOC_DESCRIPTION) \
  280. (___795, CUSTOM_LABELS_FILE_LOC_DESCRIPTION) \
  281. (___4083, TEXT_FILE_LOC_DESCRIPTION) \
  282. (NUM_PARTITION_FILES_TAG, NUM_PARTITION_FILES_DESCRIPTION) \
  283. (___4651, ZONE_NAME_FILE_LOC_DESCRIPTION) \
  284. (ZONE_TYPE_FILE_LOC_TAG, ZONE_TYPE_FILE_LOC_DESCRIPTION) \
  285. (___4630, ZONE_HEADER_FILE_LOC_DESCRIPTION) \
  286. (___4610, ZONE_FACE_NEIGHBOR_MODE_FILE_LOC_DESCRIPTION) \
  287. (___4676, ZONE_SOLUTION_TIME_FILE_LOC_DESCRIPTION) \
  288. (___4686, ZONE_STRAND_ID_FILE_LOC_DESCRIPTION) \
  289. (___4670, ZONE_PARENT_ZONE_FILE_LOC_DESCRIPTION) \
  290. (ZONE_IMAX_OR_NUM_NODES_FILE_LOC_TAG, ZONE_IMAX_OR_NUM_NODES_FILE_LOC_DESCRIPTION) \
  291. (ZONE_JMAX_OR_NUM_CELLS_FILE_LOC_TAG, ZONE_JMAX_OR_NUM_CELLS_FILE_LOC_DESCRIPTION) \
  292. (ZONE_KMAX_OR_NUM_CORNERS_FILE_LOC_TAG, ZONE_KMAX_OR_NUM_CORNERS_FILE_LOC_DESCRIPTION) \
  293. (___4674, ZONE_SHARE_CONNECTIVITY_FILE_LOC_DESCRIPTION) \
  294. (___4365, VAR_NAME_FILE_LOC_DESCRIPTION) \
  295. (VAR_ZONE_MIN_MAX_FILE_LOC_TAG, VAR_ZONE_MIN_MAX_FILE_LOC_DESCRIPTION) \
  296. (___4393, VAR_ZONE_VALUE_LOCATION_FILE_LOC_DESCRIPTION) \
  297. (___4384, VAR_ZONE_FIELD_DATA_TYPE_FILE_LOC_DESCRIPTION) \
  298. (___4387, VAR_ZONE_IS_PASSIVE_FILE_LOC_DESCRIPTION) \
  299. (___4390, VAR_ZONE_SHARE_FILE_LOC_DESCRIPTION)
  300. #define ___2784 0x0400
  301. #define ___2824 0x0401
  302. #define NUM_CELL_SUBZONES_DESCRIPTION "numCellSubzones"
  303. #define NUM_NODE_SUBZONES_DESCRIPTION "numNodeSubzones"
  304. #define NSZ_CONNECT_FILE_LOC_TAG 0x0500
  305. #define CSZ_CONNECT_FILE_LOC_TAG 0x0501
  306. #define UNUSED1_ZONE_TAG 0x0502
  307. #define NUM_REF_PARTITIONS_TAG 0x0503
  308. #define REF_PARTITIONS_TAG 0x0504
  309. #define NUM_REF_NODE_SUBZONES_TAG 0x0505
  310. #define NUM_REF_CELL_SUBZONES_TAG 0x0506
  311. #define CELL_SUBZONE_INCLUDES_PARTITIONS_TAG 0x0507
  312. #define NODE_SUBZONE_INCLUDES_PARTITIONS_TAG 0x0508
  313. #define NSZ_CONNECT_FILE_LOC_DESCRIPTION "nszConnFileLocs"
  314. #define CSZ_CONNECT_FILE_LOC_DESCRIPTION "cszConnFileLocs"
  315. #define ZONE_UNUSED1_TAG_DESCRIPTION "zoneUnusedTag1"
  316. #define NUM_REF_PARTITIONS_DESCRIPTION "numRefPartitions"
  317. #define REF_PARTITIONS_DESCRIPTION "refPartitions"
  318. #define NUM_REF_NODE_SUBZONES_DESCRIPTION "cszNumRefNszs"
  319. #define NUM_REF_CELL_SUBZONES_DESCRIPTION "nszNumRefCszs"
  320. #define NUM_REF_NODE_SUBZONES_ARRAY_DESCRIPTION "cszNumRefNszsForZone"
  321. #define NUM_REF_CELL_SUBZONES_ARRAY_DESCRIPTION "nszNumRefCszsForZone"
  322. #define CELL_SUBZONE_INCLUDES_PARTITIONS_DESCRIPTION "cszInclPtnBitArray"
  323. #define NODE_SUBZONE_INCLUDES_PARTITIONS_DESCRIPTION "nszInclPtnBitArray"
  324. #define ___4342 0x0600
  325. #define ___2725 0x0601
  326. #define USER_FACE_NBR_FILE_LOC_TAG 0x0602
  327. #define VAR_FILE_LOC_DESCRIPTION "varFileLocs"
  328. #define NODE_MAP_FILE_LOC_DESCRIPTION "nodeMapFileLoc"
  329. #define USER_FACE_NBR_FILE_LOC_DESCRIPTION "userFaceNbrFileLoc"
  330. #define NUM_PARTITIONS_TAG 0x0700
  331. #define PARTITION_FILE_NUM_TAG 0x0701
  332. #define PARTITION_FILE_LOC_TAG 0x0702
  333. #define PARTITION_NUM_CELLS_TAG 0x0703
  334. #define PARTITION_NUM_NODES_TAG 0x0704
  335. #define VAR_PARTITION_MIN_MAX_TAG 0x0705
  336. #define PARTITION_MIN_NODE_NUMBERS_TAG 0x0706
  337. #define PARTITION_MAX_NODE_NUMBERS_TAG 0x0707
  338. #define NUM_PARTITIONS_DESCRIPTION "numPartitions"
  339. #define PARTITION_FILE_NUM_DESCRIPTION "partitionFileNums"
  340. #define PARTITION_FILE_LOC_DESCRIPTION "partitionFileLocs"
  341. #define PARTITION_NUM_CELLS_DESCRIPTION "partitionNumCells"
  342. #define PARTITION_NUM_NODES_DESCRIPTION "partitionNumNodes"
  343. #define VAR_PARTITION_MIN_MAX_DESCRIPTION "partitionMinMaxes"
  344. #define PARTITION_MIN_NODE_NUMBERS_DESCRIPTION "partitionMinNodeNumbers"
  345. #define PARTITION_MAX_NODE_NUMBERS_DESCRIPTION "partitionMaxNodeNumbers"
  346. #define PARTITION_FILE_NUM_ARRAY_DESCRIPTION "partitionFileNumsForZone"
  347. #define PARTITION_FILE_LOC_ARRAY_DESCRIPTION "partitionFileLocsForZone"
  348. #define PARTITION_NUM_CELLS_ARRAY_DESCRIPTION "partitionNumCellsForZone"
  349. #define PARTITION_NUM_NODES_ARRAY_DESCRIPTION "partitionNumNodesForZone"
  350. #define ___4689 boost::assign::map_list_of<uint16_t, std::string> \
  351. ((uint16_t)___2784, NUM_CELL_SUBZONES_DESCRIPTION) \
  352. ((uint16_t)___2824, NUM_NODE_SUBZONES_DESCRIPTION) \
  353. ((uint16_t)CSZ_CONNECT_FILE_LOC_TAG, CSZ_CONNECT_FILE_LOC_DESCRIPTION) \
  354. ((uint16_t)NSZ_CONNECT_FILE_LOC_TAG, NSZ_CONNECT_FILE_LOC_DESCRIPTION) \
  355. ((uint16_t)UNUSED1_ZONE_TAG, ZONE_UNUSED1_TAG_DESCRIPTION) \
  356. ((uint16_t)NUM_REF_PARTITIONS_TAG, NUM_REF_PARTITIONS_DESCRIPTION) \
  357. ((uint16_t)REF_PARTITIONS_TAG, REF_PARTITIONS_DESCRIPTION) \
  358. ((uint16_t)NUM_REF_NODE_SUBZONES_TAG, NUM_REF_NODE_SUBZONES_DESCRIPTION) \
  359. ((uint16_t)NUM_REF_CELL_SUBZONES_TAG, NUM_REF_CELL_SUBZONES_DESCRIPTION) \
  360. ((uint16_t)CELL_SUBZONE_INCLUDES_PARTITIONS_TAG, CELL_SUBZONE_INCLUDES_PARTITIONS_DESCRIPTION) \
  361. ((uint16_t)NODE_SUBZONE_INCLUDES_PARTITIONS_TAG, NODE_SUBZONE_INCLUDES_PARTITIONS_DESCRIPTION) \
  362. ((uint16_t)___4342, VAR_FILE_LOC_DESCRIPTION) \
  363. ((uint16_t)___2725, NODE_MAP_FILE_LOC_DESCRIPTION) \
  364. ((uint16_t)USER_FACE_NBR_FILE_LOC_TAG, USER_FACE_NBR_FILE_LOC_DESCRIPTION) \
  365. ((uint16_t)NUM_PARTITIONS_TAG, NUM_PARTITIONS_DESCRIPTION) \
  366. ((uint16_t)PARTITION_FILE_NUM_TAG, PARTITION_FILE_NUM_DESCRIPTION) \
  367. ((uint16_t)PARTITION_FILE_LOC_TAG, PARTITION_FILE_LOC_DESCRIPTION) \
  368. ((uint16_t)PARTITION_NUM_CELLS_TAG, PARTITION_NUM_CELLS_DESCRIPTION) \
  369. ((uint16_t)PARTITION_NUM_NODES_TAG, PARTITION_NUM_NODES_DESCRIPTION) \
  370. ((uint16_t)VAR_PARTITION_MIN_MAX_TAG, VAR_PARTITION_MIN_MAX_DESCRIPTION) \
  371. ((uint16_t)PARTITION_MIN_NODE_NUMBERS_TAG, PARTITION_MIN_NODE_NUMBERS_DESCRIPTION) \
  372. ((uint16_t)PARTITION_MAX_NODE_NUMBERS_TAG, PARTITION_MAX_NODE_NUMBERS_DESCRIPTION)
  373. #define PARTITION_TAG_DESCRIPTIONS_MAP_INITIALIZER boost::assign::map_list_of<uint16_t, std::string> \
  374. ((uint16_t)CSZ_CONNECT_FILE_LOC_TAG, CSZ_CONNECT_FILE_LOC_DESCRIPTION) \
  375. ((uint16_t)NSZ_CONNECT_FILE_LOC_TAG, NSZ_CONNECT_FILE_LOC_DESCRIPTION) \
  376. ((uint16_t)NUM_REF_PARTITIONS_TAG, NUM_REF_PARTITIONS_DESCRIPTION) \
  377. ((uint16_t)REF_PARTITIONS_TAG, REF_PARTITIONS_DESCRIPTION) \
  378. ((uint16_t)NUM_REF_NODE_SUBZONES_TAG, NUM_REF_NODE_SUBZONES_DESCRIPTION) \
  379. ((uint16_t)NUM_REF_CELL_SUBZONES_TAG, NUM_REF_CELL_SUBZONES_DESCRIPTION) \
  380. ((uint16_t)CELL_SUBZONE_INCLUDES_PARTITIONS_TAG, CELL_SUBZONE_INCLUDES_PARTITIONS_DESCRIPTION) \
  381. ((uint16_t)NODE_SUBZONE_INCLUDES_PARTITIONS_TAG, NODE_SUBZONE_INCLUDES_PARTITIONS_DESCRIPTION) \
  382. ((uint16_t)___4342, VAR_FILE_LOC_DESCRIPTION) \
  383. ((uint16_t)___2784, NUM_CELL_SUBZONES_DESCRIPTION) \
  384. ((uint16_t)___2824, NUM_NODE_SUBZONES_DESCRIPTION)
  385. #define NSZ_CONNECT_FILE_LOC_ARRAY_DESCRIPTION "nszConnFileLocsForZone"
  386. #define CSZ_CONNECT_FILE_LOC_ARRAY_DESCRIPTION "cszConnFileLocsForZone"
  387. #define ___4341 "varFileLocsForZone"
  388. #define CELL_SUBZONE_DATA_MIN_MAX_ARRAY_DESCRIPTION_INPUT "cszDataMinMaxes"
  389. #define NODE_SUBZONE_DATA_MIN_MAX_ARRAY_DESCRIPTION_INPUT "nszDataMinMaxes"
  390. #define CELL_SUBZONE_DATA_MIN_MAX_ARRAY_DESCRIPTION "cszDataMinMaxesForVar"
  391. #define NODE_SUBZONE_DATA_MIN_MAX_ARRAY_DESCRIPTION "nszDataMinMaxesForVar"
  392. #define SZ_CONNECT_REF_PTN_OFFSET_2BIT_ARRAY_DESCRIPTION "refPtn2BitOffsets"
  393. #define SZ_CONNECT_REF_PTN_OFFSET_4BIT_ARRAY_DESCRIPTION "refPtn4BitOffsets"
  394. #define SZ_CONNECT_REF_PTN_OFFSET_8BIT_ARRAY_DESCRIPTION "refPtn8BitOffsets"
  395. #define SZ_CONNECT_REF_PTN_OFFSET_16BIT_ARRAY_DESCRIPTION "refPtn16BitOffsets"
  396. #define NSZ_CONNECT_NUM_REF_CSZ "numRefCellSubzones"
  397. #define NSZ_CONNECT_REF_CSZS "refCellSubzones"
  398. #define CSZ_CONNECT_NUM_REF_NSZ "numRefNodeSubzones"
  399. #define CSZ_CONNECT_REF_NSZ_ARRAY_DESCRIPTION "refNodeSubzones"
  400. #define CSZ_CONNECT_REF_NSZ_OFFSET_2BIT_ARRAY_DESCRIPTION "refNsz2BitOffsets"
  401. #define CSZ_CONNECT_REF_NSZ_OFFSET_4BIT_ARRAY_DESCRIPTION "refNsz4BitOffsets"
  402. #define CSZ_CONNECT_REF_NSZ_OFFSET_8BIT_ARRAY_DESCRIPTION "refNsz8BitOffsets"
  403. #define CSZ_CONNECT_REF_NSZ_OFFSET_16BIT_ARRAY_DESCRIPTION "refNsz16BitOffsets"
  404. #define CSZ_CONNECT_NSZ_OFFSET_ARRAY_DESCRIPTION "nszOffsets"
  405. #define ___4705 'o'
  406. #define ZONETYPE_FETRIANGLE_CHAR 'r'
  407. #define ZONETYPE_FEQUAD_CHAR 'q'
  408. #define ZONETYPE_FETETRA_CHAR 't'
  409. #define ZONETYPE_FEBRICK_CHAR 'b'
  410. #define ZONETYPE_FELINESEG_CHAR 'l'
  411. #define ZONETYPE_FEPOLYGON_CHAR 'g'
  412. #define ZONETYPE_FEPOLYHEDRON_CHAR 'p'
  413. #define ZONETYPE_FEMIXEDVOLUME_CHAR 'm'
  414. #define ALT_TAG_DESCRIPTIONS_MAP_INITIALIZER boost::assign::map_list_of<std::string, std::string> \
  415. (NSZ_CONNECT_FILE_LOC_DESCRIPTION, "nszConnectivityFileLocs") \
  416. (CSZ_CONNECT_FILE_LOC_DESCRIPTION, "cszConnectivityFileLocs") \
  417. (NSZ_CONNECT_FILE_LOC_ARRAY_DESCRIPTION, "nszConnectivityFileLocsForZone") \
  418. (CSZ_CONNECT_FILE_LOC_ARRAY_DESCRIPTION, "cszConnectivityFileLocsForZone") \
  419. (VAR_ZONE_IS_PASSIVE_FILE_LOC_DESCRIPTION, "passive") \
  420. (VAR_ZONE_SHARE_FILE_LOC_DESCRIPTION, "share")