TECIO.h 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995
  1. #pragma once
  2. /*
  3. * TECIO.h: Copyright (C) 1988-2014 Tecplot, Inc.
  4. */
  5. #if defined TECIOMPI
  6. #include "mpi.h"
  7. #endif
  8. #include "StandardIntegralTypes.h"
  9. #define INTEGER8 int64_t
  10. #define INTEGER4 int32_t
  11. #define INTEGER2 int16_t
  12. #if defined _WIN32
  13. #if !defined MSWIN
  14. #define MSWIN
  15. #endif
  16. #endif
  17. #include "tecio_Exports.h"
  18. #if !defined STDCALL
  19. #if defined MSWIN
  20. #define STDCALL __stdcall
  21. #else
  22. #define STDCALL
  23. #endif
  24. #endif
  25. #if !defined EXTERNC
  26. #if defined __cplusplus
  27. #define EXTERNC extern "C"
  28. #else
  29. #define EXTERNC
  30. #endif
  31. #endif
  32. #if !defined _GLOBAL_H
  33. enum FieldDataType_e
  34. {
  35. FieldDataType_Float = 1,
  36. FieldDataType_Double,
  37. FieldDataType_Int32,
  38. FieldDataType_Int16,
  39. FieldDataType_Byte,
  40. };
  41. enum GeomType_e
  42. {
  43. GeomType_LineSegs = 0,
  44. GeomType_Rectangle = 1,
  45. GeomType_Square = 2,
  46. GeomType_Circle = 3,
  47. GeomType_Ellipse = 4,
  48. GeomType_LineSegs3D = 5
  49. };
  50. enum CoordSys_e
  51. {
  52. CoordSys_Grid = 0,
  53. CoordSys_Frame = 1,
  54. CoordSys_Grid3D = 6
  55. };
  56. #endif
  57. int32_t const FILEFORMAT_PLT = 0;
  58. int32_t const FILEFORMAT_SZL = 1;
  59. int32_t const FILETYPE_FULL = 0;
  60. int32_t const FILETYPE_GRID = 1;
  61. int32_t const FILETYPE_SOLUTION = 2;
  62. // Use these for Tecio; they are different from the ZoneType enum for add-ons in GLOBAL.h.
  63. int32_t const ZONETYPE_ORDERED = 0;
  64. int32_t const ZONETYPE_FELINESEG = 1;
  65. int32_t const ZONETYPE_FETRIANGLE = 2;
  66. int32_t const ZONETYPE_FEQUADRILATERAL = 3;
  67. int32_t const ZONETYPE_FETETRAHEDRON = 4;
  68. int32_t const ZONETYPE_FEBRICK = 5;
  69. int32_t const ZONETYPE_FEPOLYGON = 6;
  70. int32_t const ZONETYPE_FEPOLYHEDRON = 7;
  71. /**
  72. * New TecIO output routines support 64-bit output, all var types except bit, and out-of-order data output.
  73. * SZL output only (may support plt in the future), and no polyhedral support yet.
  74. */
  75. EXTERNC tecio_API int32_t tecFileWriterOpen(
  76. char const *fileName,
  77. char const *dataSetTitle,
  78. char const *variableList,
  79. int32_t fileFormat,
  80. int32_t fileType,
  81. int32_t defaultVarType,
  82. void *gridFileHandle,
  83. void **fileHandle);
  84. EXTERNC tecio_API int32_t tecFileSetDiagnosticsLevel(
  85. void *fileHandle,
  86. int32_t level);
  87. #if defined TECIOMPI
  88. EXTERNC tecio_API int32_t tecMPIInitialize(
  89. void *fileHandle,
  90. MPI_Comm communicator,
  91. int32_t mainRank);
  92. #endif
  93. EXTERNC tecio_API int32_t tecZoneCreateIJK(
  94. void *fileHandle,
  95. char const *zoneTitle,
  96. int64_t imax,
  97. int64_t jmax,
  98. int64_t kmax,
  99. int32_t const *varTypes,
  100. int32_t const *shareVarFromZone,
  101. int32_t const *valueLocations,
  102. int32_t const *passiveVarList,
  103. int32_t shareFaceNeighborsFromZone,
  104. int64_t numFaceConnections,
  105. int32_t faceNeighborMode,
  106. int32_t *zone);
  107. EXTERNC tecio_API int32_t tecZoneCreateFE(
  108. void *fileHandle,
  109. char const *zoneTitle,
  110. int32_t zoneType,
  111. int64_t numNodes,
  112. int64_t numCells,
  113. int32_t const *varTypes,
  114. int32_t const *shareVarFromZone,
  115. int32_t const *valueLocations,
  116. int32_t const *passiveVarList,
  117. int32_t shareConnectivityFromZone,
  118. int64_t numFaceConnections,
  119. int32_t faceNeighborMode,
  120. int32_t *zone);
  121. EXTERNC tecio_API int32_t tecZoneCreatePoly(
  122. void *fileHandle,
  123. char const *zoneTitle,
  124. int32_t zoneType,
  125. int64_t numNodes,
  126. int64_t numFaces,
  127. int64_t numCells,
  128. int64_t totalNumFaceNodes,
  129. int32_t const *varTypes,
  130. int32_t const *shareVarFromZone,
  131. int32_t const *valueLocations,
  132. int32_t const *passiveVarList,
  133. int32_t shareConnectivityFromZone,
  134. int64_t numConnectedBoundaryFaces,
  135. int64_t totalNumBoundaryConnections,
  136. int32_t *zone);
  137. EXTERNC tecio_API int32_t tecZoneSetUnsteadyOptions(
  138. void *fileHandle,
  139. int32_t zone,
  140. double solutionTime,
  141. int32_t strandID);
  142. EXTERNC tecio_API int32_t tecZoneSetParentZone(
  143. void *fileHandle,
  144. int32_t zone,
  145. int32_t parentZone);
  146. #if defined TECIOMPI
  147. EXTERNC tecio_API int32_t tecZoneMapPartitionsToMPIRanks(
  148. void *fileHandle,
  149. int32_t &zone, // Number may change due to communication with the main output rank
  150. int32_t numPartitions,
  151. int32_t const *mpiRanksForPartitions);
  152. #endif
  153. EXTERNC tecio_API int32_t tecFEPartitionCreate32(
  154. void *fileHandle,
  155. int32_t zone,
  156. int32_t partition,
  157. int64_t numNodes,
  158. int64_t numCells,
  159. int64_t numGhostNodes,
  160. int32_t const *ghostNodes,
  161. int32_t const *neighborPartitions,
  162. int32_t const *neighborPartitionNodes,
  163. int64_t numGhostCells,
  164. int32_t const *ghostCells);
  165. EXTERNC tecio_API int32_t tecFEPartitionCreate64(
  166. void *fileHandle,
  167. int32_t zone,
  168. int32_t partition,
  169. int64_t numNodes,
  170. int64_t numCells,
  171. int64_t numGhostNodes,
  172. int64_t const *ghostNodes,
  173. int32_t const *neighborPartitions,
  174. int64_t const *neighborPartitionNodes,
  175. int64_t numGhostCells,
  176. int64_t const *ghostCells);
  177. EXTERNC tecio_API int32_t tecIJKPartitionCreate(
  178. void *fileHandle,
  179. int32_t zone,
  180. int32_t partition,
  181. int64_t imin,
  182. int64_t jmin,
  183. int64_t kmin,
  184. int64_t imax,
  185. int64_t jmax,
  186. int64_t kmax);
  187. EXTERNC tecio_API int32_t tecZoneVarWriteDoubleValues(
  188. void *fileHandle,
  189. int32_t zone,
  190. int32_t var,
  191. int32_t partition,
  192. int64_t count,
  193. double const *values);
  194. EXTERNC tecio_API int32_t tecZoneVarWriteFloatValues(
  195. void *fileHandle,
  196. int32_t zone,
  197. int32_t var,
  198. int32_t partition,
  199. int64_t count,
  200. float const *values);
  201. EXTERNC tecio_API int32_t tecZoneVarWriteInt32Values(
  202. void *fileHandle,
  203. int32_t zone,
  204. int32_t var,
  205. int32_t partition,
  206. int64_t count,
  207. int32_t const *values);
  208. EXTERNC tecio_API int32_t tecZoneVarWriteInt16Values(
  209. void *fileHandle,
  210. int32_t zone,
  211. int32_t var,
  212. int32_t partition,
  213. int64_t count,
  214. int16_t const *values);
  215. EXTERNC tecio_API int32_t tecZoneVarWriteUInt8Values(
  216. void *fileHandle,
  217. int32_t zone,
  218. int32_t var,
  219. int32_t partition,
  220. int64_t count,
  221. uint8_t const *values);
  222. EXTERNC tecio_API int32_t tecZoneNodeMapWrite32(
  223. void *fileHandle,
  224. int32_t zone,
  225. int32_t partition,
  226. int32_t nodesAreOneBased,
  227. int64_t count,
  228. int32_t const *nodes);
  229. EXTERNC tecio_API int32_t tecZoneNodeMapWrite64(
  230. void *fileHandle,
  231. int32_t zone,
  232. int32_t partition,
  233. int32_t nodeAreOneBased,
  234. int64_t count,
  235. int64_t const *nodes);
  236. EXTERNC tecio_API int32_t tecZoneFaceNbrWriteConnections32(
  237. void *fileHandle,
  238. int32_t zone,
  239. int32_t const *faceNeighbors);
  240. EXTERNC tecio_API int32_t tecZoneFaceNbrWriteConnections64(
  241. void *fileHandle,
  242. int32_t zone,
  243. int64_t const *faceNeighbors);
  244. EXTERNC tecio_API int32_t tecZoneWritePolyFaces32(
  245. void *fileHandle,
  246. int32_t zone,
  247. int32_t partition,
  248. int32_t numFaces,
  249. int32_t const *faceNodeCounts,
  250. int32_t const *faceNodes,
  251. int32_t const *faceLeftElems,
  252. int32_t const *faceRightElems,
  253. int32_t isOneBased);
  254. EXTERNC tecio_API int32_t tecZoneWritePolyFaces64(
  255. void *fileHandle,
  256. int32_t zone,
  257. int32_t partition,
  258. int64_t numFaces,
  259. int32_t const *faceNodeCounts,
  260. int64_t const *faceNodes,
  261. int64_t const *faceLeftElems,
  262. int64_t const *faceRightElems,
  263. int32_t isOneBased);
  264. EXTERNC tecio_API int32_t tecZoneWritePolyBoundaryConnections32(
  265. void *fileHandle,
  266. int32_t zone,
  267. int32_t partition,
  268. int32_t numBoundaryFaces,
  269. int32_t const *faceBoundaryConnectionCounts,
  270. int32_t const *faceBoundaryConnectionElems,
  271. int32_t const *faceBoundaryConnectionZones,
  272. int32_t isOneBased);
  273. EXTERNC tecio_API int32_t tecZoneWritePolyBoundaryConnections64(
  274. void *fileHandle,
  275. int32_t zone,
  276. int32_t partition,
  277. int64_t numBoundaryFaces,
  278. int32_t const *faceBoundaryConnectionCounts,
  279. int64_t const *faceBoundaryConnectionElems,
  280. int32_t const *faceBoundaryConnectionZones,
  281. int32_t isOneBased);
  282. EXTERNC tecio_API int32_t tecDataSetAddAuxData(
  283. void *fileHandle,
  284. char const *name,
  285. char const *value);
  286. EXTERNC tecio_API int32_t tecVarAddAuxData(
  287. void *fileHandle,
  288. int32_t var,
  289. char const *name,
  290. char const *value);
  291. EXTERNC tecio_API int32_t tecZoneAddAuxData(
  292. void *fileHandle,
  293. int32_t zone,
  294. char const *name,
  295. char const *value);
  296. EXTERNC tecio_API int32_t tecGeom2DLineSegmentsBegin(
  297. void *fileHandle,
  298. double xOrigin,
  299. double yOrigin,
  300. int32_t numPoints,
  301. double const *relativeX,
  302. double const *relativeY,
  303. int32_t posCoordMode);
  304. EXTERNC tecio_API int32_t tecGeom2DMultiLineSegmentsBegin(
  305. void *fileHandle,
  306. double xOrigin,
  307. double yOrigin,
  308. int32_t numSegments,
  309. int32_t const *numSegmentPoints,
  310. double const *relativeX,
  311. double const *relativeY,
  312. int32_t posCoordMode);
  313. EXTERNC tecio_API int32_t tecGeom3DLineSegmentsBegin(
  314. void *fileHandle,
  315. double xOrigin,
  316. double yOrigin,
  317. double zOrigin,
  318. int32_t numPoints,
  319. double const *relativeX,
  320. double const *relativeY,
  321. double const *relativeZ);
  322. EXTERNC tecio_API int32_t tecGeom3DMultiLineSegmentsBegin(
  323. void *fileHandle,
  324. double xOrigin,
  325. double yOrigin,
  326. double zOrigin,
  327. int32_t numSegments,
  328. int32_t const *numSegmentPoints,
  329. double const *relativeX,
  330. double const *relativeY,
  331. double const *relativeZ);
  332. EXTERNC tecio_API int32_t tecGeomCircleBegin(
  333. void *fileHandle,
  334. double xCenter,
  335. double yCenter,
  336. double radius,
  337. int32_t posCoordMode);
  338. EXTERNC tecio_API int32_t tecGeomEllipseBegin(
  339. void *fileHandle,
  340. double xCenter,
  341. double yCenter,
  342. double width,
  343. double height,
  344. int32_t posCoordMode);
  345. EXTERNC tecio_API int32_t tecGeomRectangleBegin(
  346. void *fileHandle,
  347. double xMin,
  348. double yMin,
  349. double xMax,
  350. double yMax,
  351. int32_t posCoordMode);
  352. EXTERNC tecio_API int32_t tecGeomSquareBegin(
  353. void *fileHandle,
  354. double xMin,
  355. double yMin,
  356. double size,
  357. int32_t posCoordMode);
  358. EXTERNC tecio_API int32_t tecGeomArrowheadSetInfo(
  359. void *fileHandle,
  360. double angle,
  361. int32_t attachment,
  362. double size,
  363. int32_t style);
  364. EXTERNC tecio_API int32_t tecGeomEllipseSetNumPoints(
  365. void *fileHandle,
  366. int32_t numEllipsePoints);
  367. EXTERNC tecio_API int32_t tecGeomSetClipping(
  368. void *fileHandle,
  369. int32_t clipping);
  370. EXTERNC tecio_API int32_t tecGeomSetLineInfo(
  371. void *fileHandle,
  372. int32_t linePattern,
  373. double patternLength,
  374. double thickness,
  375. int32_t color);
  376. EXTERNC tecio_API int32_t tecGeomSetMacroFunctionCmd(
  377. void *fileHandle,
  378. char const *macroFunctionCmd);
  379. EXTERNC tecio_API int32_t tecGeomSetScope(
  380. void *fileHandle,
  381. int32_t scope);
  382. EXTERNC tecio_API int32_t tecGeomAttachToZone(
  383. void *fileHandle,
  384. int32_t zone);
  385. EXTERNC tecio_API int32_t tecGeomFill(
  386. void *fileHandle,
  387. int32_t fillColor);
  388. EXTERNC tecio_API int32_t tecGeomEnd(
  389. void *fileHandle);
  390. EXTERNC tecio_API int32_t tecCustomLabelsAddSet(
  391. void *fileHandle,
  392. char const *labels);
  393. EXTERNC tecio_API int32_t tecText2DBegin(
  394. void *fileHandle,
  395. char const *string,
  396. double x,
  397. double y,
  398. int32_t posCoordMode,
  399. double height,
  400. int32_t sizeUnits);
  401. EXTERNC tecio_API int32_t tecText3DBegin(
  402. void *fileHandle,
  403. char const *string,
  404. double x,
  405. double y,
  406. double z,
  407. double height,
  408. int32_t sizeUnits);
  409. EXTERNC tecio_API int32_t tecTextAttachToZone(
  410. void *fileHandle,
  411. int32_t zone);
  412. EXTERNC tecio_API int32_t tecTextBoxSetInfo(
  413. void *fileHandle,
  414. int32_t boxType,
  415. int32_t lineColor,
  416. int32_t fillColor,
  417. double lineThickness,
  418. double margin);
  419. EXTERNC tecio_API int32_t tecTextSetAnchor(
  420. void *fileHandle,
  421. int32_t anchor);
  422. EXTERNC tecio_API int32_t tecTextSetAngle(
  423. void *fileHandle,
  424. double angle);
  425. EXTERNC tecio_API int32_t tecTextSetClipping(
  426. void *fileHandle,
  427. int32_t clipping);
  428. EXTERNC tecio_API int32_t tecTextSetColor(
  429. void *fileHandle,
  430. int32_t color);
  431. EXTERNC tecio_API int32_t tecTextSetTypeface(
  432. void *fileHandle,
  433. char const *family,
  434. int32_t isBold,
  435. int32_t isItalic);
  436. EXTERNC tecio_API int32_t tecTextSetLineSpacing(
  437. void *fileHandle,
  438. double lineSpacing);
  439. EXTERNC tecio_API int32_t tecTextSetMacroFunctionCmd(
  440. void *fileHandle,
  441. char const *macroFunctionCmd);
  442. EXTERNC tecio_API int32_t tecTextSetScope(
  443. void *fileHandle,
  444. int32_t scope);
  445. EXTERNC tecio_API int32_t tecTextEnd(
  446. void *fileHandle);
  447. EXTERNC tecio_API int32_t tecUserRecAdd(
  448. void *fileHandle,
  449. char const *userRec);
  450. EXTERNC tecio_API int32_t tecFileWriterFlush(
  451. void *fileHandle,
  452. int32_t numZonesToRetain,
  453. int32_t const *zonesToRetain);
  454. EXTERNC tecio_API int32_t tecFileWriterClose(
  455. void **fileHandle);
  456. /**
  457. * SZL file reading routines
  458. */
  459. EXTERNC tecio_API int32_t tecCustomLabelsGetNumSets(
  460. void *fileHandle,
  461. int32_t *numSets);
  462. EXTERNC tecio_API int32_t
  463. tecCustomLabelsGetSet(
  464. void *fileHandle,
  465. int32_t whichSet,
  466. char **labelSet);
  467. EXTERNC tecio_API int32_t tecDataSetAuxDataGetItem(
  468. void *fileHandle,
  469. int32_t whichItem,
  470. char **name,
  471. char **value);
  472. EXTERNC tecio_API int32_t tecDataSetAuxDataGetNumItems(
  473. void *fileHandle,
  474. int32_t *numItems);
  475. EXTERNC tecio_API int32_t tecDataSetGetNumVars(
  476. void *fileHandle,
  477. int32_t *numVars);
  478. EXTERNC tecio_API int32_t tecDataSetGetNumZones(
  479. void *fileHandle,
  480. int32_t *numZones);
  481. EXTERNC tecio_API int32_t tecDataSetGetTitle(
  482. void *fileHandle,
  483. char **title);
  484. EXTERNC tecio_API int32_t tecFileGetType(
  485. void *fileHandle,
  486. int32_t *fileType);
  487. EXTERNC tecio_API int32_t tecFileReaderClose(
  488. void **fileHandle);
  489. EXTERNC tecio_API int32_t tecFileReaderOpen(
  490. char const *fileName,
  491. void **fileHandle);
  492. EXTERNC tecio_API int32_t tecGeomArrowheadGetAngle(
  493. void *fileHandle,
  494. int32_t geom,
  495. double *angle);
  496. EXTERNC tecio_API int32_t tecGeomArrowheadGetAttach(
  497. void *fileHandle,
  498. int32_t geom,
  499. int32_t *attachment);
  500. EXTERNC tecio_API int32_t tecGeomArrowheadGetSize(
  501. void *fileHandle,
  502. int32_t geom,
  503. double *arrowheadSize);
  504. EXTERNC tecio_API int32_t tecGeomArrowheadGetStyle(
  505. void *fileHandle,
  506. int32_t geom,
  507. int32_t *arrowheadStyle);
  508. EXTERNC tecio_API int32_t tecGeomCircleGetRadius(
  509. void *fileHandle,
  510. int32_t geom,
  511. double *radius);
  512. EXTERNC tecio_API int32_t tecGeomEllipseGetNumPoints(
  513. void *fileHandle,
  514. int32_t geom,
  515. int32_t *numEllipsePoints);
  516. EXTERNC tecio_API int32_t tecGeomEllipseGetSize(
  517. void *fileHandle,
  518. int32_t geom,
  519. double *horizontalAxis,
  520. double *verticalAxis);
  521. EXTERNC tecio_API int32_t tecGeomGetAnchorPos(
  522. void *fileHandle,
  523. int32_t geom,
  524. double *x,
  525. double *y,
  526. double *z);
  527. EXTERNC tecio_API int32_t tecGeomGetClipping(
  528. void *fileHandle,
  529. int32_t geom,
  530. int32_t *clipping);
  531. EXTERNC tecio_API int32_t tecGeomGetColor(
  532. void *fileHandle,
  533. int32_t geom,
  534. int32_t *color);
  535. EXTERNC tecio_API int32_t tecGeomGetCoordMode(
  536. void *fileHandle,
  537. int32_t geom,
  538. int32_t *coordMode);
  539. EXTERNC tecio_API int32_t tecGeomGetFillColor(
  540. void *fileHandle,
  541. int32_t geom,
  542. int32_t *fillColor);
  543. EXTERNC tecio_API int32_t tecGeomGetLinePattern(
  544. void *fileHandle,
  545. int32_t geom,
  546. int32_t *linePattern);
  547. EXTERNC tecio_API int32_t tecGeomGetLineThickness(
  548. void *fileHandle,
  549. int32_t geom,
  550. double *lineThickness);
  551. EXTERNC tecio_API int32_t tecGeomGetMacroFunctionCmd(
  552. void *fileHandle,
  553. int32_t geom,
  554. char **macroFunctionCmd);
  555. EXTERNC tecio_API int32_t tecGeomGetNumGeoms(
  556. void *fileHandle,
  557. int32_t *numGeoms);
  558. EXTERNC tecio_API int32_t tecGeomGetPatternLength(
  559. void *fileHandle,
  560. int32_t geom,
  561. double *patternLength);
  562. EXTERNC tecio_API int32_t tecGeomGetScope(
  563. void *fileHandle,
  564. int32_t geom,
  565. int32_t *scope);
  566. EXTERNC tecio_API int32_t tecGeomGetType(
  567. void *fileHandle,
  568. int32_t geom,
  569. int32_t *type);
  570. EXTERNC tecio_API int32_t tecGeomGetZone(
  571. void *fileHandle,
  572. int32_t geom,
  573. int32_t *zone);
  574. EXTERNC tecio_API int32_t tecGeomIsAttached(
  575. void *fileHandle,
  576. int32_t geom,
  577. int32_t *isAttached);
  578. EXTERNC tecio_API int32_t tecGeomIsFilled(
  579. void *fileHandle,
  580. int32_t geom,
  581. int32_t *isFilled);
  582. EXTERNC tecio_API int32_t tecGeomLineGetPoint(
  583. void *fileHandle,
  584. int32_t geom,
  585. int32_t segment,
  586. int32_t index,
  587. double *x,
  588. double *y,
  589. double *z);
  590. EXTERNC tecio_API int32_t tecGeomLineGetSegmentCount(
  591. void *fileHandle,
  592. int32_t geom,
  593. int32_t *segmentCount);
  594. EXTERNC tecio_API int32_t tecGeomLineSegmentGetPointCount(
  595. void *fileHandle,
  596. int32_t geom,
  597. int32_t segment,
  598. int32_t *pointCount);
  599. EXTERNC tecio_API int32_t tecGeomRectangleGetSize(
  600. void *fileHandle,
  601. int32_t geom,
  602. double *width,
  603. double *height);
  604. EXTERNC tecio_API int32_t tecGeomSquareGetSize(
  605. void *fileHandle,
  606. int32_t geom,
  607. double *size);
  608. EXTERNC tecio_API void tecStringFree(
  609. char **string);
  610. EXTERNC tecio_API int32_t tecStringLength(
  611. char const *string);
  612. EXTERNC tecio_API int32_t tecTextBoxGetColor(
  613. void *fileHandle,
  614. int32_t text,
  615. int32_t *boxColor);
  616. EXTERNC tecio_API int32_t tecTextBoxGetFillColor(
  617. void *fileHandle,
  618. int32_t text,
  619. int32_t *boxFillColor);
  620. EXTERNC tecio_API int32_t tecTextBoxGetLineThickness(
  621. void *fileHandle,
  622. int32_t text,
  623. double *boxLineThickness);
  624. EXTERNC tecio_API int32_t tecTextBoxGetMargin(
  625. void *fileHandle,
  626. int32_t text,
  627. double *boxMargin);
  628. EXTERNC tecio_API int32_t tecTextBoxGetType(
  629. void *fileHandle,
  630. int32_t text,
  631. int32_t *boxType);
  632. EXTERNC tecio_API int32_t tecTextGetAnchor(
  633. void *fileHandle,
  634. int32_t text,
  635. int32_t *anchor);
  636. EXTERNC tecio_API int32_t tecTextGetAnchorPos(
  637. void *fileHandle,
  638. int32_t text,
  639. double *x,
  640. double *y,
  641. double *z);
  642. EXTERNC tecio_API int32_t tecTextGetAngle(
  643. void *fileHandle,
  644. int32_t text,
  645. double *angle);
  646. EXTERNC tecio_API int32_t tecTextGetClipping(
  647. void *fileHandle,
  648. int32_t text,
  649. int32_t *clipping);
  650. EXTERNC tecio_API int32_t tecTextGetColor(
  651. void *fileHandle,
  652. int32_t text,
  653. int32_t *color);
  654. EXTERNC tecio_API int32_t tecTextGetCoordMode(
  655. void *fileHandle,
  656. int32_t text,
  657. int32_t *coordMode);
  658. EXTERNC tecio_API int32_t tecTextGetHeight(
  659. void *fileHandle,
  660. int32_t text,
  661. double *height);
  662. EXTERNC tecio_API int32_t tecTextGetLineSpacing(
  663. void *fileHandle,
  664. int32_t text,
  665. double *lineSpacing);
  666. EXTERNC tecio_API int32_t tecTextGetMacroFunctionCmd(
  667. void *fileHandle,
  668. int32_t text,
  669. char **macroFunctionCmd);
  670. EXTERNC tecio_API int32_t tecTextGetNumTexts(
  671. void *fileHandle,
  672. int32_t *numTexts);
  673. EXTERNC tecio_API int32_t tecTextGetScope(
  674. void *fileHandle,
  675. int32_t text,
  676. int32_t *scope);
  677. EXTERNC tecio_API int32_t tecTextGetSizeUnits(
  678. void *fileHandle,
  679. int32_t text,
  680. int32_t *sizeUnits);
  681. EXTERNC tecio_API int32_t tecTextGetString(
  682. void *fileHandle,
  683. int32_t text,
  684. char **string);
  685. EXTERNC tecio_API int32_t tecTextGetTypeface(
  686. void *fileHandle,
  687. int32_t text,
  688. char **typeface);
  689. EXTERNC tecio_API int32_t tecTextGetZone(
  690. void *fileHandle,
  691. int32_t text,
  692. int32_t *zone);
  693. EXTERNC tecio_API int32_t tecTextIsAttached(
  694. void *fileHandle,
  695. int32_t text,
  696. int32_t *isAttached);
  697. EXTERNC tecio_API int32_t tecTextIsBold(
  698. void *fileHandle,
  699. int32_t text,
  700. int32_t *isBold);
  701. EXTERNC tecio_API int32_t tecTextIsItalic(
  702. void *fileHandle,
  703. int32_t text,
  704. int32_t *isItalic);
  705. EXTERNC tecio_API int32_t tecVarAuxDataGetItem(
  706. void *fileHandle,
  707. int32_t var,
  708. int32_t whichItem,
  709. char **name,
  710. char **value);
  711. EXTERNC tecio_API int32_t tecVarAuxDataGetNumItems(
  712. void *fileHandle,
  713. int32_t var,
  714. int32_t *numItems);
  715. EXTERNC tecio_API int32_t tecVarGetName(
  716. void *fileHandle,
  717. int32_t var,
  718. char **name);
  719. EXTERNC tecio_API int32_t tecVarIsEnabled(
  720. void *fileHandle,
  721. int32_t var,
  722. int32_t *isEnabled);
  723. EXTERNC tecio_API int32_t tecZoneAuxDataGetItem(
  724. void *fileHandle,
  725. int32_t zone,
  726. int32_t whichItem,
  727. char **name,
  728. char **value);
  729. EXTERNC tecio_API int32_t tecZoneAuxDataGetNumItems(
  730. void *fileHandle,
  731. int32_t zone,
  732. int32_t *numItems);
  733. EXTERNC tecio_API int32_t tecZoneConnectivityGetSharedZone(
  734. void *fileHandle,
  735. int32_t zone,
  736. int32_t *sharedZone);
  737. EXTERNC tecio_API int32_t tecZoneFaceNbrGetConnections(
  738. void *fileHandle,
  739. int32_t zone,
  740. int32_t *connections);
  741. EXTERNC tecio_API int32_t tecZoneFaceNbrGetConnections64(
  742. void *fileHandle,
  743. int32_t zone,
  744. int64_t *connections);
  745. EXTERNC tecio_API int32_t tecZoneFaceNbrGetMode(
  746. void *fileHandle,
  747. int32_t zone,
  748. int32_t *mode);
  749. EXTERNC tecio_API int32_t tecZoneFaceNbrGetNumConnections(
  750. void *fileHandle,
  751. int32_t zone,
  752. int64_t *numConnections);
  753. EXTERNC tecio_API int32_t tecZoneFaceNbrGetNumValues(
  754. void *fileHandle,
  755. int32_t zone,
  756. int64_t *numValues);
  757. EXTERNC tecio_API int32_t tecZoneFaceNbrsAre64Bit(
  758. void *fileHandle,
  759. int32_t zone,
  760. int32_t *are64Bit);
  761. EXTERNC tecio_API int32_t tecZoneGetIJK(
  762. void *fileHandle,
  763. int32_t zone,
  764. int64_t *iMax,
  765. int64_t *jMax,
  766. int64_t *kMax);
  767. EXTERNC tecio_API int32_t tecZoneGetParentZone(
  768. void *fileHandle,
  769. int32_t zone,
  770. int32_t *parentZone);
  771. EXTERNC tecio_API int32_t tecZoneGetSolutionTime(
  772. void *fileHandle,
  773. int32_t zone,
  774. double *solutionTime);
  775. EXTERNC tecio_API int32_t tecZoneGetStrandID(
  776. void *fileHandle,
  777. int32_t zone,
  778. int32_t *strandID);
  779. EXTERNC tecio_API int32_t tecZoneGetTitle(
  780. void *fileHandle,
  781. int32_t zone,
  782. char **title);
  783. EXTERNC tecio_API int32_t tecZoneGetType(
  784. void *fileHandle,
  785. int32_t zone,
  786. int32_t *type);
  787. EXTERNC tecio_API int32_t tecZoneIsEnabled(
  788. void *fileHandle,
  789. int32_t zone,
  790. int32_t *isEnabled);
  791. EXTERNC tecio_API int32_t tecZoneNodeMapGet(
  792. void *fileHandle,
  793. int32_t zone,
  794. int64_t startCell,
  795. int64_t numCells,
  796. int32_t *nodeMap);
  797. EXTERNC tecio_API int32_t tecZoneNodeMapGet64(
  798. void *fileHandle,
  799. int32_t zone,
  800. int64_t startCell,
  801. int64_t numCells,
  802. int64_t *nodeMap);
  803. EXTERNC tecio_API int32_t tecZoneNodeMapGetNumValues(
  804. void *fileHandle,
  805. int32_t zone,
  806. int64_t numCells,
  807. int64_t *numValues);
  808. EXTERNC tecio_API int32_t tecZoneNodeMapIs64Bit(
  809. void *fileHandle,
  810. int32_t zone,
  811. int32_t *is64Bit);
  812. EXTERNC tecio_API int32_t tecZonePolyGetBoundaryConnectionCounts(
  813. void *fileHandle,
  814. int32_t zone,
  815. int64_t startConnection,
  816. int64_t numConnections,
  817. int32_t *connectionCounts);
  818. EXTERNC tecio_API int32_t tecZonePolyGetBoundaryConnections(
  819. void *fileHandle,
  820. int32_t zone,
  821. int64_t startConnection,
  822. int64_t numConnections,
  823. int32_t *connectedElements,
  824. int32_t *connectedZones);
  825. EXTERNC tecio_API int32_t tecZonePolyGetFaceElems(
  826. void *fileHandle,
  827. int32_t zone,
  828. int64_t startFace,
  829. int64_t numFaces,
  830. int32_t *leftElems,
  831. int32_t *rightElems);
  832. EXTERNC tecio_API int32_t tecZonePolyGetFaceNodeCounts(
  833. void *fileHandle,
  834. int32_t zone,
  835. int64_t startFace,
  836. int64_t numFaces,
  837. int32_t *nodeCounts);
  838. EXTERNC tecio_API int32_t tecZonePolyGetFaceNodes(
  839. void *fileHandle,
  840. int32_t zone,
  841. int64_t startFace,
  842. int64_t numFaces,
  843. int32_t *faceNodes);
  844. EXTERNC tecio_API int32_t tecZonePolyGetNumConnectedBoundaryFaces(
  845. void *fileHandle,
  846. int32_t zone,
  847. int64_t *numFaces);
  848. EXTERNC tecio_API int32_t tecZonePolyGetTotalNumFaceNodes(
  849. void *fileHandle,
  850. int32_t zone,
  851. int64_t *numNodes);
  852. EXTERNC tecio_API int32_t tecZonePolyGetTotalNumBoundaryConnections(
  853. void *fileHandle,
  854. int32_t zone,
  855. int64_t *numConnections);
  856. EXTERNC tecio_API int32_t tecZoneVarGetDoubleValues(
  857. void *fileHandle,
  858. int32_t zone,
  859. int32_t var,
  860. int64_t startIndex,
  861. int64_t numValues,
  862. double *values);
  863. EXTERNC tecio_API int32_t tecZoneVarGetFloatValues(
  864. void *fileHandle,
  865. int32_t zone,
  866. int32_t var,
  867. int64_t startIndex,
  868. int64_t numValues,
  869. float *values);
  870. EXTERNC tecio_API int32_t tecZoneVarGetInt16Values(
  871. void *fileHandle,
  872. int32_t zone,
  873. int32_t var,
  874. int64_t startIndex,
  875. int64_t numValues,
  876. int16_t *values);
  877. EXTERNC tecio_API int32_t tecZoneVarGetInt32Values(
  878. void *fileHandle,
  879. int32_t zone,
  880. int32_t var,
  881. int64_t startIndex,
  882. int64_t numValues,
  883. int32_t *values);
  884. EXTERNC tecio_API int32_t tecZoneVarGetNumValues(
  885. void *fileHandle,
  886. int32_t zone,
  887. int32_t var,
  888. int64_t *numValues);
  889. EXTERNC tecio_API int32_t tecZoneVarGetSharedZone(
  890. void *fileHandle,
  891. int32_t zone,
  892. int32_t var,
  893. int32_t *sharedZone);
  894. EXTERNC tecio_API int32_t tecZoneVarGetType(
  895. void *fileHandle,
  896. int32_t zone,
  897. int32_t var,
  898. int32_t *type);
  899. EXTERNC tecio_API int32_t tecZoneVarGetUInt8Values(
  900. void *fileHandle,
  901. int32_t zone,
  902. int32_t var,
  903. int64_t startIndex,
  904. int64_t numValues,
  905. uint8_t *values);
  906. EXTERNC tecio_API int32_t tecZoneVarGetValueLocation(
  907. void *fileHandle,
  908. int32_t zone,
  909. int32_t var,
  910. int32_t *location);
  911. EXTERNC tecio_API int32_t tecZoneVarIsPassive(
  912. void *fileHandle,
  913. int32_t zone,
  914. int32_t var,
  915. int32_t *isPassive);
  916. /* Older routines */
  917. #if !defined CRAY
  918. #define TECINI142 tecini142
  919. #define TECZNE142 teczne142
  920. #define TECDAT142 tecdat142
  921. #define TECDATD142 tecdatd142
  922. #define TECDATF142 tecdatf142
  923. #define TECNOD142 tecnod142
  924. #define TECNODE142 tecnode142
  925. #define TECGEO142 tecgeo142
  926. #define TECTXT142 tectxt142
  927. #define TECLAB142 teclab142
  928. #define TECFIL142 tecfil142
  929. #define TECFOREIGN142 tecforeign142
  930. #define TECFLUSH142 tecflush142
  931. #define TECEND142 tecend142
  932. #define TECUSR142 tecusr142
  933. #define TECAUXSTR142 tecauxstr142
  934. #define TECZAUXSTR142 teczauxstr142
  935. #define TECVAUXSTR142 tecvauxstr142
  936. #define TECFACE142 tecface142
  937. #define TECPOLY142 tecpoly142
  938. #define TECPOLYFACE142 tecpolyface142
  939. #define TECPOLYBCONN142 tecpolybconn142
  940. /*
  941. * SZL-only API:
  942. */
  943. #define TECFEPTN142 tecfeptn142
  944. #define TECIJKPTN142 tecijkptn142
  945. /*
  946. * SZL MPI-only APIs:
  947. */
  948. #define TECMPIINIT142 tecmpiinit142
  949. #define TECZNEMAP142 tecznemap142
  950. /*
  951. * Older API versions:
  952. */
  953. #define TECINI112 tecini112
  954. #define TECZNE112 teczne112
  955. #define TECDAT112 tecdat112
  956. #define TECNOD112 tecnod112
  957. #define TECNODE112 tecnode112
  958. #define TECGEO112 tecgeo112
  959. #define TECTXT112 tectxt112
  960. #define TECLAB112 teclab112
  961. #define TECFIL112 tecfil112
  962. #define TECFOREIGN112 tecforeign112
  963. #define TECEND112 tecend112
  964. #define TECUSR112 tecusr112
  965. #define TECAUXSTR112 tecauxstr112
  966. #define TECZAUXSTR112 teczauxstr112
  967. #define TECVAUXSTR112 tecvauxstr112
  968. #define TECFACE112 tecface112
  969. #define TECPOLY112 tecpoly112
  970. #define TECPOLYFACE112 tecpolyface112
  971. #define TECPOLYBCONN112 tecpolybconn112
  972. #define TECINI111 tecini111
  973. #define TECZNE111 teczne111
  974. #define TECDAT111 tecdat111
  975. #define TECNOD111 tecnod111
  976. #define TECGEO111 tecgeo111
  977. #define TECTXT111 tectxt111
  978. #define TECLAB111 teclab111
  979. #define TECFIL111 tecfil111
  980. #define TECFOREIGN111 tecforeign111
  981. #define TECEND111 tecend111
  982. #define TECUSR111 tecusr111
  983. #define TECAUXSTR111 tecauxstr111
  984. #define TECZAUXSTR111 teczauxstr111
  985. #define TECVAUXSTR111 tecvauxstr111
  986. #define TECFACE111 tecface111
  987. #define TECPOLY111 tecpoly111
  988. #define TECINI110 tecini110
  989. #define TECZNE110 teczne110
  990. #define TECDAT110 tecdat110
  991. #define TECNOD110 tecnod110
  992. #define TECGEO110 tecgeo110
  993. #define TECTXT110 tectxt110
  994. #define TECLAB110 teclab110
  995. #define TECFIL110 tecfil110
  996. #define TECFOREIGN110 tecforeign110
  997. #define TECEND110 tecend110
  998. #define TECUSR110 tecusr110
  999. #define TECAUXSTR110 tecauxstr110
  1000. #define TECZAUXSTR110 teczauxstr110
  1001. #define TECVAUXSTR110 tecvauxstr110
  1002. #define TECFACE110 tecface110
  1003. #define TECINI100 tecini100
  1004. #define TECZNE100 teczne100
  1005. #define TECDAT100 tecdat100
  1006. #define TECNOD100 tecnod100
  1007. #define TECGEO100 tecgeo100
  1008. #define TECTXT100 tectxt100
  1009. #define TECLAB100 teclab100
  1010. #define TECFIL100 tecfil100
  1011. #define TECFOREIGN100 tecforeign100
  1012. #define TECEND100 tecend100
  1013. #define TECUSR100 tecusr100
  1014. #define TECAUXSTR100 tecauxstr100
  1015. #define TECZAUXSTR100 teczauxstr100
  1016. #define TECVAUXSTR100 tecvauxstr100
  1017. #define TECFACE100 tecface100
  1018. #define TECINI tecini
  1019. #define TECZNE teczne
  1020. #define TECDAT tecdat
  1021. #define TECNOD tecnod
  1022. #define TECGEO tecgeo
  1023. #define TECTXT tectxt
  1024. #define TECLAB teclab
  1025. #define TECFIL tecfil
  1026. #define TECEND tecend
  1027. #define TECUSR tecusr
  1028. #endif
  1029. /*
  1030. * TecIO API version 142 introduced the ability write both PLT and SZL formatted files.
  1031. * No polyhedral support for SZL files.
  1032. */
  1033. EXTERNC tecio_API INTEGER4 STDCALL TECINI142(
  1034. char const *Title,
  1035. char const *Variables,
  1036. char const *FName,
  1037. char const *ScratchDir,
  1038. INTEGER4 const *FileFormat,
  1039. INTEGER4 const *FileType,
  1040. INTEGER4 const *Debug,
  1041. INTEGER4 const *VIsDouble);
  1042. EXTERNC tecio_API INTEGER4 STDCALL TECZNE142(
  1043. char const *ZoneTitle,
  1044. INTEGER4 const *ZoneType,
  1045. INTEGER4 const *IMxOrNumPts,
  1046. INTEGER4 const *JMxOrNumElements,
  1047. INTEGER4 const *KMxOrNumFaces,
  1048. INTEGER4 const *ICellMx,
  1049. INTEGER4 const *JCellMx,
  1050. INTEGER4 const *KCellMx,
  1051. double const *SolutionTime,
  1052. INTEGER4 const *StrandID,
  1053. INTEGER4 const *ParentZone,
  1054. INTEGER4 const *IsBlock,
  1055. INTEGER4 const *NumFaceConnections,
  1056. INTEGER4 const *FaceNeighborMode,
  1057. INTEGER4 const *TotalNumFaceNodes,
  1058. INTEGER4 const *NumConnectedBoundaryFaces,
  1059. INTEGER4 const *TotalNumBoundaryConnections,
  1060. INTEGER4 const *PassiveVarList,
  1061. INTEGER4 const *ValueLocation,
  1062. INTEGER4 const *ShareVarFromZone,
  1063. INTEGER4 const *ShareConnectivityFromZone);
  1064. EXTERNC tecio_API INTEGER4 STDCALL TECDAT142(
  1065. INTEGER4 const *N,
  1066. void const *FieldData,
  1067. INTEGER4 const *IsDouble);
  1068. EXTERNC tecio_API INTEGER4 STDCALL TECDATD142(
  1069. INTEGER4 const *N,
  1070. double const *FieldData);
  1071. EXTERNC tecio_API INTEGER4 STDCALL TECDATF142(
  1072. INTEGER4 const *N,
  1073. float const *FieldData);
  1074. EXTERNC tecio_API INTEGER4 STDCALL TECNOD142(INTEGER4 const *NData);
  1075. EXTERNC tecio_API INTEGER4 STDCALL TECNODE142(
  1076. INTEGER4 const *N,
  1077. INTEGER4 const *NData);
  1078. EXTERNC tecio_API INTEGER4 STDCALL TECFLUSH142(
  1079. INTEGER4 const *NumZonesToRetain,
  1080. INTEGER4 const *ZonesToRetain);
  1081. EXTERNC tecio_API INTEGER4 STDCALL TECEND142(void);
  1082. EXTERNC tecio_API INTEGER4 STDCALL TECLAB142(char const *S);
  1083. EXTERNC tecio_API INTEGER4 STDCALL TECUSR142(char const *S);
  1084. EXTERNC tecio_API INTEGER4 STDCALL TECGEO142(
  1085. double const *XPos,
  1086. double const *YPos,
  1087. double const *ZPos,
  1088. INTEGER4 const *PosCoordMode,
  1089. INTEGER4 const *AttachToZone,
  1090. INTEGER4 const *Zone,
  1091. INTEGER4 const *Color,
  1092. INTEGER4 const *FillColor,
  1093. INTEGER4 const *IsFilled,
  1094. INTEGER4 const *GeomType,
  1095. INTEGER4 const *LinePattern,
  1096. double const *PatternLength,
  1097. double const *LineThickness,
  1098. INTEGER4 const *NumEllipsePts,
  1099. INTEGER4 const *ArrowheadStyle,
  1100. INTEGER4 const *ArrowheadAttachment,
  1101. double const *ArrowheadSize,
  1102. double const *ArrowheadAngle,
  1103. INTEGER4 const *Scope,
  1104. INTEGER4 const *Clipping,
  1105. INTEGER4 const *NumSegments,
  1106. INTEGER4 const *NumSegPts,
  1107. float const *XGeomData,
  1108. float const *YGeomData,
  1109. float const *ZGeomData,
  1110. char const *mfc);
  1111. EXTERNC tecio_API INTEGER4 STDCALL TECTXT142(
  1112. double const *XOrThetaPos,
  1113. double const *YOrRPos,
  1114. double const *ZOrUnusedPos,
  1115. INTEGER4 const *PosCoordMode,
  1116. INTEGER4 const *AttachToZone,
  1117. INTEGER4 const *Zone,
  1118. INTEGER4 const *BFont,
  1119. INTEGER4 const *FontHeightUnits,
  1120. double const *FontHeight,
  1121. INTEGER4 const *BoxType,
  1122. double const *BoxMargin,
  1123. double const *BoxLineThickness,
  1124. INTEGER4 const *BoxColor,
  1125. INTEGER4 const *BoxFillColor,
  1126. double const *Angle,
  1127. INTEGER4 const *Anchor,
  1128. double const *LineSpacing,
  1129. INTEGER4 const *TextColor,
  1130. INTEGER4 const *Scope,
  1131. INTEGER4 const *Clipping,
  1132. char const *String,
  1133. char const *mfc);
  1134. EXTERNC tecio_API INTEGER4 STDCALL TECFIL142(INTEGER4 const *F);
  1135. EXTERNC tecio_API void STDCALL TECFOREIGN142(INTEGER4 const *OutputForeignByteOrder);
  1136. EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR142(
  1137. char const *Name,
  1138. char const *Value);
  1139. EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR142(
  1140. char const *Name,
  1141. char const *Value);
  1142. EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR142(
  1143. INTEGER4 const *Var,
  1144. char const *Name,
  1145. char const *Value);
  1146. EXTERNC tecio_API INTEGER4 STDCALL TECFACE142(INTEGER4 const *FaceConnections);
  1147. EXTERNC tecio_API INTEGER4 STDCALL TECPOLY142(
  1148. INTEGER4 const *FaceNodeCounts,
  1149. INTEGER4 const *FaceNodes,
  1150. INTEGER4 const *FaceLeftElems,
  1151. INTEGER4 const *FaceRightElems,
  1152. INTEGER4 const *FaceBndryConnectionCounts,
  1153. INTEGER4 const *FaceBndryConnectionElems,
  1154. INTEGER4 const *FaceBndryConnectionZones);
  1155. EXTERNC tecio_API INTEGER4 STDCALL TECPOLYFACE142(
  1156. INTEGER4 const *NumFaces,
  1157. INTEGER4 const *FaceNodeCounts,
  1158. INTEGER4 const *FaceNodes,
  1159. INTEGER4 const *FaceLeftElems,
  1160. INTEGER4 const *FaceRightElems);
  1161. EXTERNC tecio_API INTEGER4 STDCALL TECPOLYBCONN142(
  1162. INTEGER4 const *NumBndryFaces,
  1163. INTEGER4 const *FaceBndryConnectionCounts,
  1164. INTEGER4 const *FaceBndryConnectionElems,
  1165. INTEGER4 const *FaceBndryConnectionZones);
  1166. /* SZL-only APIs: */
  1167. EXTERNC tecio_API INTEGER4 STDCALL TECFEPTN142(
  1168. INTEGER4 const *partition,
  1169. INTEGER4 const *numnodes,
  1170. INTEGER4 const *numcells,
  1171. INTEGER4 const *ngnodes,
  1172. INTEGER4 const *gnodes,
  1173. INTEGER4 const *gnpartitions,
  1174. INTEGER4 const *gnpnodes,
  1175. INTEGER4 const *ngcells,
  1176. INTEGER4 const *gcells);
  1177. EXTERNC tecio_API INTEGER4 STDCALL TECIJKPTN142(
  1178. INTEGER4 const *partition,
  1179. INTEGER4 const *imin,
  1180. INTEGER4 const *jmin,
  1181. INTEGER4 const *kmin,
  1182. INTEGER4 const *imax,
  1183. INTEGER4 const *jmax,
  1184. INTEGER4 const *kmax);
  1185. /* SZL MPI-only APIs: */
  1186. EXTERNC tecio_API INTEGER4 STDCALL TECMPIINIT142(
  1187. void *communicator, /* MPI_Comm */
  1188. INTEGER4 const *mainrank);
  1189. EXTERNC tecio_API INTEGER4 STDCALL TECZNEMAP142(
  1190. INTEGER4 const *npartitions,
  1191. INTEGER4 const *ptnranks);
  1192. /*
  1193. * V11.3 tecio functions
  1194. */
  1195. EXTERNC tecio_API INTEGER4 STDCALL TECINI112(
  1196. char const *Title,
  1197. char const *Variables,
  1198. char const *FName,
  1199. char const *ScratchDir,
  1200. INTEGER4 const *FileType,
  1201. INTEGER4 const *Debug,
  1202. INTEGER4 const *VIsDouble);
  1203. EXTERNC tecio_API INTEGER4 STDCALL TECZNE112(
  1204. char const *ZoneTitle,
  1205. INTEGER4 const *ZoneType,
  1206. INTEGER4 const *IMxOrNumPts,
  1207. INTEGER4 const *JMxOrNumElements,
  1208. INTEGER4 const *KMxOrNumFaces,
  1209. INTEGER4 const *ICellMx,
  1210. INTEGER4 const *JCellMx,
  1211. INTEGER4 const *KCellMx,
  1212. double const *SolutionTime,
  1213. INTEGER4 const *StrandID,
  1214. INTEGER4 const *ParentZone,
  1215. INTEGER4 const *IsBlock,
  1216. INTEGER4 const *NumFaceConnections,
  1217. INTEGER4 const *FaceNeighborMode,
  1218. INTEGER4 const *TotalNumFaceNodes,
  1219. INTEGER4 const *NumConnectedBoundaryFaces,
  1220. INTEGER4 const *TotalNumBoundaryConnections,
  1221. INTEGER4 const *PassiveVarList,
  1222. INTEGER4 const *ValueLocation,
  1223. INTEGER4 const *ShareVarFromZone,
  1224. INTEGER4 const *ShareConnectivityFromZone);
  1225. EXTERNC tecio_API INTEGER4 STDCALL TECDAT112(
  1226. INTEGER4 const *N,
  1227. void const *FieldData,
  1228. INTEGER4 const *IsDouble);
  1229. EXTERNC tecio_API INTEGER4 STDCALL TECNOD112(INTEGER4 const *NData);
  1230. EXTERNC tecio_API INTEGER4 STDCALL TECNODE112(
  1231. INTEGER4 const *N,
  1232. INTEGER4 const *NData);
  1233. EXTERNC tecio_API INTEGER4 STDCALL TECEND112(void);
  1234. EXTERNC tecio_API INTEGER4 STDCALL TECLAB112(char const *S);
  1235. EXTERNC tecio_API INTEGER4 STDCALL TECUSR112(char const *S);
  1236. EXTERNC tecio_API INTEGER4 STDCALL TECGEO112(
  1237. double const *XPos,
  1238. double const *YPos,
  1239. double const *ZPos,
  1240. INTEGER4 const *PosCoordMode,
  1241. INTEGER4 const *AttachToZone,
  1242. INTEGER4 const *Zone,
  1243. INTEGER4 const *Color,
  1244. INTEGER4 const *FillColor,
  1245. INTEGER4 const *IsFilled,
  1246. INTEGER4 const *GeomType,
  1247. INTEGER4 const *LinePattern,
  1248. double const *PatternLength,
  1249. double const *LineThickness,
  1250. INTEGER4 const *NumEllipsePts,
  1251. INTEGER4 const *ArrowheadStyle,
  1252. INTEGER4 const *ArrowheadAttachment,
  1253. double const *ArrowheadSize,
  1254. double const *ArrowheadAngle,
  1255. INTEGER4 const *Scope,
  1256. INTEGER4 const *Clipping,
  1257. INTEGER4 const *NumSegments,
  1258. INTEGER4 const *NumSegPts,
  1259. float const *XGeomData,
  1260. float const *YGeomData,
  1261. float const *ZGeomData,
  1262. char const *mfc);
  1263. EXTERNC tecio_API INTEGER4 STDCALL TECTXT112(
  1264. double const *XOrThetaPos,
  1265. double const *YOrRPos,
  1266. double const *ZOrUnusedPos,
  1267. INTEGER4 const *PosCoordMode,
  1268. INTEGER4 const *AttachToZone,
  1269. INTEGER4 const *Zone,
  1270. INTEGER4 const *BFont,
  1271. INTEGER4 const *FontHeightUnits,
  1272. double const *FontHeight,
  1273. INTEGER4 const *BoxType,
  1274. double const *BoxMargin,
  1275. double const *BoxLineThickness,
  1276. INTEGER4 const *BoxColor,
  1277. INTEGER4 const *BoxFillColor,
  1278. double const *Angle,
  1279. INTEGER4 const *Anchor,
  1280. double const *LineSpacing,
  1281. INTEGER4 const *TextColor,
  1282. INTEGER4 const *Scope,
  1283. INTEGER4 const *Clipping,
  1284. char const *String,
  1285. char const *mfc);
  1286. EXTERNC tecio_API INTEGER4 STDCALL TECFIL112(INTEGER4 const *F);
  1287. EXTERNC tecio_API void STDCALL TECFOREIGN112(INTEGER4 const *OutputForeignByteOrder);
  1288. EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR112(
  1289. char const *Name,
  1290. char const *Value);
  1291. EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR112(
  1292. char const *Name,
  1293. char const *Value);
  1294. EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR112(
  1295. INTEGER4 const *Var,
  1296. char const *Name,
  1297. char const *Value);
  1298. EXTERNC tecio_API INTEGER4 STDCALL TECFACE112(INTEGER4 const *FaceConnections);
  1299. EXTERNC tecio_API INTEGER4 STDCALL TECPOLY112(
  1300. INTEGER4 const *FaceNodeCounts,
  1301. INTEGER4 const *FaceNodes,
  1302. INTEGER4 const *FaceLeftElems,
  1303. INTEGER4 const *FaceRightElems,
  1304. INTEGER4 const *FaceBndryConnectionCounts,
  1305. INTEGER4 const *FaceBndryConnectionElems,
  1306. INTEGER4 const *FaceBndryConnectionZones);
  1307. EXTERNC tecio_API INTEGER4 STDCALL TECPOLYFACE112(
  1308. INTEGER4 const *NumFaces,
  1309. INTEGER4 const *FaceNodeCounts,
  1310. INTEGER4 const *FaceNodes,
  1311. INTEGER4 const *FaceLeftElems,
  1312. INTEGER4 const *FaceRightElems);
  1313. EXTERNC tecio_API INTEGER4 STDCALL TECPOLYBCONN112(
  1314. INTEGER4 const *NumBndryFaces,
  1315. INTEGER4 const *FaceBndryConnectionCounts,
  1316. INTEGER4 const *FaceBndryConnectionElems,
  1317. INTEGER4 const *FaceBndryConnectionZones);
  1318. /*
  1319. * V11.1 tecio functions TODO (JN): Tecplot's version is still in flux so the .1 may change
  1320. */
  1321. EXTERNC tecio_API INTEGER4 STDCALL TECINI111(
  1322. char const *Title,
  1323. char const *Variables,
  1324. char const *FName,
  1325. char const *ScratchDir,
  1326. INTEGER4 const *FileType,
  1327. INTEGER4 const *Debug,
  1328. INTEGER4 const *VIsDouble);
  1329. EXTERNC tecio_API INTEGER4 STDCALL TECZNE111(
  1330. char const *ZoneTitle,
  1331. INTEGER4 const *ZoneType,
  1332. INTEGER4 const *IMxOrNumPts,
  1333. INTEGER4 const *JMxOrNumElements,
  1334. INTEGER4 const *KMxOrNumFaces,
  1335. INTEGER4 const *ICellMx,
  1336. INTEGER4 const *JCellMx,
  1337. INTEGER4 const *KCellMx,
  1338. double const *SolutionTime,
  1339. INTEGER4 const *StrandID,
  1340. INTEGER4 const *ParentZone,
  1341. INTEGER4 const *IsBlock,
  1342. INTEGER4 const *NumFaceConnections,
  1343. INTEGER4 const *FaceNeighborMode,
  1344. INTEGER4 const *TotalNumFaceNodes,
  1345. INTEGER4 const *NumConnectedBoundaryFaces,
  1346. INTEGER4 const *TotalNumBoundaryConnections,
  1347. INTEGER4 const *PassiveVarList,
  1348. INTEGER4 const *ValueLocation,
  1349. INTEGER4 const *ShareVarFromZone,
  1350. INTEGER4 const *ShareConnectivityFromZone);
  1351. EXTERNC tecio_API INTEGER4 STDCALL TECDAT111(
  1352. INTEGER4 const *N,
  1353. void const *FieldData,
  1354. INTEGER4 const *IsDouble);
  1355. EXTERNC tecio_API INTEGER4 STDCALL TECNOD111(INTEGER4 const *NData);
  1356. EXTERNC tecio_API INTEGER4 STDCALL TECEND111(void);
  1357. EXTERNC tecio_API INTEGER4 STDCALL TECLAB111(char const *S);
  1358. EXTERNC tecio_API INTEGER4 STDCALL TECUSR111(char const *S);
  1359. EXTERNC tecio_API INTEGER4 STDCALL TECGEO111(
  1360. double const *XPos,
  1361. double const *YPos,
  1362. double const *ZPos,
  1363. INTEGER4 const *PosCoordMode,
  1364. INTEGER4 const *AttachToZone,
  1365. INTEGER4 const *Zone,
  1366. INTEGER4 const *Color,
  1367. INTEGER4 const *FillColor,
  1368. INTEGER4 const *IsFilled,
  1369. INTEGER4 const *GeomType,
  1370. INTEGER4 const *LinePattern,
  1371. double const *PatternLength,
  1372. double const *LineThickness,
  1373. INTEGER4 const *NumEllipsePts,
  1374. INTEGER4 const *ArrowheadStyle,
  1375. INTEGER4 const *ArrowheadAttachment,
  1376. double const *ArrowheadSize,
  1377. double const *ArrowheadAngle,
  1378. INTEGER4 const *Scope,
  1379. INTEGER4 const *Clipping,
  1380. INTEGER4 const *NumSegments,
  1381. INTEGER4 const *NumSegPts,
  1382. float const *XGeomData,
  1383. float const *YGeomData,
  1384. float const *ZGeomData,
  1385. char const *mfc);
  1386. EXTERNC tecio_API INTEGER4 STDCALL TECTXT111(
  1387. double const *XOrThetaPos,
  1388. double const *YOrRPos,
  1389. double const *ZOrUnusedPos,
  1390. INTEGER4 const *PosCoordMode,
  1391. INTEGER4 const *AttachToZone,
  1392. INTEGER4 const *Zone,
  1393. INTEGER4 const *BFont,
  1394. INTEGER4 const *FontHeightUnits,
  1395. double const *FontHeight,
  1396. INTEGER4 const *BoxType,
  1397. double const *BoxMargin,
  1398. double const *BoxLineThickness,
  1399. INTEGER4 const *BoxColor,
  1400. INTEGER4 const *BoxFillColor,
  1401. double const *Angle,
  1402. INTEGER4 const *Anchor,
  1403. double const *LineSpacing,
  1404. INTEGER4 const *TextColor,
  1405. INTEGER4 const *Scope,
  1406. INTEGER4 const *Clipping,
  1407. char const *String,
  1408. char const *mfc);
  1409. EXTERNC tecio_API INTEGER4 STDCALL TECFIL111(INTEGER4 const *F);
  1410. EXTERNC tecio_API void STDCALL TECFOREIGN111(INTEGER4 const *OutputForeignByteOrder);
  1411. EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR111(
  1412. char const *Name,
  1413. char const *Value);
  1414. EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR111(
  1415. char const *Name,
  1416. char const *Value);
  1417. EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR111(
  1418. INTEGER4 const *Var,
  1419. char const *Name,
  1420. char const *Value);
  1421. EXTERNC tecio_API INTEGER4 STDCALL TECFACE111(INTEGER4 const *FaceConnections);
  1422. EXTERNC tecio_API INTEGER4 STDCALL TECPOLY111(
  1423. INTEGER4 const *FaceNodeCounts,
  1424. INTEGER4 const *FaceNodes,
  1425. INTEGER4 const *FaceLeftElems,
  1426. INTEGER4 const *FaceRightElems,
  1427. INTEGER4 const *FaceBndryConnectionCounts,
  1428. INTEGER4 const *FaceBndryConnectionElems,
  1429. INTEGER2 const *FaceBndryConnectionZones);
  1430. /*
  1431. * V11 tecio functions
  1432. */
  1433. EXTERNC tecio_API INTEGER4 STDCALL TECINI110(
  1434. char const *Title,
  1435. char const *Variables,
  1436. char const *FName,
  1437. char const *ScratchDir,
  1438. INTEGER4 const *Debug,
  1439. INTEGER4 const *VIsDouble);
  1440. EXTERNC tecio_API INTEGER4 STDCALL TECZNE110(
  1441. char const *ZoneTitle,
  1442. INTEGER4 const *ZoneType,
  1443. INTEGER4 const *IMxOrNumPts,
  1444. INTEGER4 const *JMxOrNumElements,
  1445. INTEGER4 const *KMxOrNumFaces,
  1446. INTEGER4 const *ICellMx,
  1447. INTEGER4 const *JCellMx,
  1448. INTEGER4 const *KCellMx,
  1449. double const *SolutionTime,
  1450. INTEGER4 const *StrandID,
  1451. INTEGER4 const *ParentZone,
  1452. INTEGER4 const *IsBlock,
  1453. INTEGER4 const *NumFaceConnections,
  1454. INTEGER4 const *FaceNeighborMode,
  1455. INTEGER4 const *PassiveVarList,
  1456. INTEGER4 const *ValueLocation,
  1457. INTEGER4 const *ShareVarFromZone,
  1458. INTEGER4 const *ShareConnectivityFromZone);
  1459. EXTERNC tecio_API INTEGER4 STDCALL TECDAT110(
  1460. INTEGER4 const *N,
  1461. void const *FieldData,
  1462. INTEGER4 const *IsDouble);
  1463. EXTERNC tecio_API INTEGER4 STDCALL TECNOD110(INTEGER4 const *NData);
  1464. EXTERNC tecio_API INTEGER4 STDCALL TECEND110(void);
  1465. EXTERNC tecio_API INTEGER4 STDCALL TECLAB110(char const *S);
  1466. EXTERNC tecio_API INTEGER4 STDCALL TECUSR110(char const *S);
  1467. EXTERNC tecio_API INTEGER4 STDCALL TECGEO110(
  1468. double const *XPos,
  1469. double const *YPos,
  1470. double const *ZPos,
  1471. INTEGER4 const *PosCoordMode,
  1472. INTEGER4 const *AttachToZone,
  1473. INTEGER4 const *Zone,
  1474. INTEGER4 const *Color,
  1475. INTEGER4 const *FillColor,
  1476. INTEGER4 const *IsFilled,
  1477. INTEGER4 const *GeomType,
  1478. INTEGER4 const *LinePattern,
  1479. double const *PatternLength,
  1480. double const *LineThickness,
  1481. INTEGER4 const *NumEllipsePts,
  1482. INTEGER4 const *ArrowheadStyle,
  1483. INTEGER4 const *ArrowheadAttachment,
  1484. double const *ArrowheadSize,
  1485. double const *ArrowheadAngle,
  1486. INTEGER4 const *Scope,
  1487. INTEGER4 const *Clipping,
  1488. INTEGER4 const *NumSegments,
  1489. INTEGER4 const *NumSegPts,
  1490. float const *XGeomData,
  1491. float const *YGeomData,
  1492. float const *ZGeomData,
  1493. char const *mfc);
  1494. EXTERNC tecio_API INTEGER4 STDCALL TECTXT110(
  1495. double const *XOrThetaPos,
  1496. double const *YOrRPos,
  1497. double const *ZOrUnusedPos,
  1498. INTEGER4 const *PosCoordMode,
  1499. INTEGER4 const *AttachToZone,
  1500. INTEGER4 const *Zone,
  1501. INTEGER4 const *BFont,
  1502. INTEGER4 const *FontHeightUnits,
  1503. double const *FontHeight,
  1504. INTEGER4 const *BoxType,
  1505. double const *BoxMargin,
  1506. double const *BoxLineThickness,
  1507. INTEGER4 const *BoxColor,
  1508. INTEGER4 const *BoxFillColor,
  1509. double const *Angle,
  1510. INTEGER4 const *Anchor,
  1511. double const *LineSpacing,
  1512. INTEGER4 const *TextColor,
  1513. INTEGER4 const *Scope,
  1514. INTEGER4 const *Clipping,
  1515. char const *String,
  1516. char const *mfc);
  1517. EXTERNC tecio_API void STDCALL TECFOREIGN110(INTEGER4 const *OutputForeignByteOrder);
  1518. EXTERNC tecio_API INTEGER4 STDCALL TECFIL110(INTEGER4 const *F);
  1519. EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR110(
  1520. char const *Name,
  1521. char const *Value);
  1522. EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR110(
  1523. char const *Name,
  1524. char const *Value);
  1525. EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR110(
  1526. INTEGER4 const *Var,
  1527. char const *Name,
  1528. char const *Value);
  1529. EXTERNC tecio_API INTEGER4 STDCALL TECFACE110(INTEGER4 const *FaceConnections);
  1530. /*
  1531. * V10 tecio functions kept for backward compatability.
  1532. */
  1533. EXTERNC tecio_API INTEGER4 STDCALL TECINI100(
  1534. char const *Title,
  1535. char const *Variables,
  1536. char const *FName,
  1537. char const *ScratchDir,
  1538. INTEGER4 const *Debug,
  1539. INTEGER4 const *VIsDouble);
  1540. EXTERNC tecio_API INTEGER4 STDCALL TECZNE100(
  1541. char const *ZoneTitle,
  1542. INTEGER4 const *ZoneType,
  1543. INTEGER4 const *IMxOrNumPts,
  1544. INTEGER4 const *JMxOrNumElements,
  1545. INTEGER4 const *KMxOrNumFaces,
  1546. INTEGER4 const *ICellMx,
  1547. INTEGER4 const *JCellMx,
  1548. INTEGER4 const *KCellMx,
  1549. INTEGER4 const *IsBlock,
  1550. INTEGER4 const *NumFaceConnections,
  1551. INTEGER4 const *FaceNeighborMode,
  1552. INTEGER4 const *ValueLocation,
  1553. INTEGER4 const *ShareVarFromZone,
  1554. INTEGER4 const *ShareConnectivityFromZone);
  1555. EXTERNC tecio_API INTEGER4 STDCALL TECDAT100(
  1556. INTEGER4 const *N,
  1557. void const *FieldData,
  1558. INTEGER4 const *IsDouble);
  1559. EXTERNC tecio_API INTEGER4 STDCALL TECNOD100(INTEGER4 const *NData);
  1560. EXTERNC tecio_API INTEGER4 STDCALL TECEND100(void);
  1561. EXTERNC tecio_API INTEGER4 STDCALL TECLAB100(char const *S);
  1562. EXTERNC tecio_API INTEGER4 STDCALL TECUSR100(char const *S);
  1563. EXTERNC tecio_API INTEGER4 STDCALL TECGEO100(
  1564. double const *XPos,
  1565. double const *YPos,
  1566. double const *ZPos,
  1567. INTEGER4 const *PosCoordMode,
  1568. INTEGER4 const *AttachToZone,
  1569. INTEGER4 const *Zone,
  1570. INTEGER4 const *Color,
  1571. INTEGER4 const *FillColor,
  1572. INTEGER4 const *IsFilled,
  1573. INTEGER4 const *GeomType,
  1574. INTEGER4 const *LinePattern,
  1575. double const *PatternLength,
  1576. double const *LineThickness,
  1577. INTEGER4 const *NumEllipsePts,
  1578. INTEGER4 const *ArrowheadStyle,
  1579. INTEGER4 const *ArrowheadAttachment,
  1580. double const *ArrowheadSize,
  1581. double const *ArrowheadAngle,
  1582. INTEGER4 const *Scope,
  1583. INTEGER4 const *Clipping,
  1584. INTEGER4 const *NumSegments,
  1585. INTEGER4 const *NumSegPts,
  1586. float const *XGeomData,
  1587. float const *YGeomData,
  1588. float const *ZGeomData,
  1589. char const *mfc);
  1590. EXTERNC tecio_API INTEGER4 STDCALL TECTXT100(
  1591. double const *XOrThetaPos,
  1592. double const *YOrRPos,
  1593. double const *ZOrUnusedPos,
  1594. INTEGER4 const *PosCoordMode,
  1595. INTEGER4 const *AttachToZone,
  1596. INTEGER4 const *Zone,
  1597. INTEGER4 const *BFont,
  1598. INTEGER4 const *FontHeightUnits,
  1599. double const *FontHeight,
  1600. INTEGER4 const *BoxType,
  1601. double const *BoxMargin,
  1602. double const *BoxLineThickness,
  1603. INTEGER4 const *BoxColor,
  1604. INTEGER4 const *BoxFillColor,
  1605. double const *Angle,
  1606. INTEGER4 const *Anchor,
  1607. double const *LineSpacing,
  1608. INTEGER4 const *TextColor,
  1609. INTEGER4 const *Scope,
  1610. INTEGER4 const *Clipping,
  1611. char const *String,
  1612. char const *mfc);
  1613. EXTERNC tecio_API INTEGER4 STDCALL TECFIL100(INTEGER4 const *F);
  1614. EXTERNC tecio_API void STDCALL TECFOREIGN100(INTEGER4 const *OutputForeignByteOrder);
  1615. EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR100(
  1616. char const *Name,
  1617. char const *Value);
  1618. EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR100(
  1619. char const *Name,
  1620. char const *Value);
  1621. EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR100(
  1622. INTEGER4 const *Var,
  1623. char const *Name,
  1624. char const *Value);
  1625. EXTERNC tecio_API INTEGER4 STDCALL TECFACE100(INTEGER4 const *FaceConnections);
  1626. /* Old V9 functions retained for backward compatibility */
  1627. EXTERNC tecio_API INTEGER4 STDCALL TECINI(
  1628. char const *Title,
  1629. char const *Variables,
  1630. char const *FName,
  1631. char const *ScratchDir,
  1632. INTEGER4 const *Debug,
  1633. INTEGER4 const *VIsDouble);
  1634. EXTERNC tecio_API INTEGER4 STDCALL TECZNE(
  1635. char const *ZoneTitle,
  1636. INTEGER4 const *IMx,
  1637. INTEGER4 const *JMx,
  1638. INTEGER4 const *KMx,
  1639. char const *ZFormat,
  1640. char const *DupList);
  1641. EXTERNC tecio_API INTEGER4 STDCALL TECDAT(
  1642. INTEGER4 const *N,
  1643. void const *FieldData,
  1644. INTEGER4 const *IsDouble);
  1645. EXTERNC tecio_API INTEGER4 STDCALL TECNOD(INTEGER4 const *NData);
  1646. EXTERNC tecio_API INTEGER4 STDCALL TECEND(void);
  1647. EXTERNC tecio_API INTEGER4 STDCALL TECLAB(char const *S);
  1648. EXTERNC tecio_API INTEGER4 STDCALL TECUSR(char const *S);
  1649. EXTERNC tecio_API INTEGER4 STDCALL TECGEO(
  1650. double const *XPos,
  1651. double const *YPos,
  1652. double const *ZPos,
  1653. INTEGER4 const *PosCoordMode,
  1654. INTEGER4 const *AttachToZone,
  1655. INTEGER4 const *Zone,
  1656. INTEGER4 const *Color,
  1657. INTEGER4 const *FillColor,
  1658. INTEGER4 const *IsFilled,
  1659. INTEGER4 const *GeomType,
  1660. INTEGER4 const *LinePattern,
  1661. double const *PatternLength,
  1662. double const *LineThickness,
  1663. INTEGER4 const *NumEllipsePts,
  1664. INTEGER4 const *ArrowheadStyle,
  1665. INTEGER4 const *ArrowheadAttachment,
  1666. double const *ArrowheadSize,
  1667. double const *ArrowheadAngle,
  1668. INTEGER4 const *Scope,
  1669. INTEGER4 const *NumSegments,
  1670. INTEGER4 const *NumSegPts,
  1671. float const *XGeomData,
  1672. float const *YGeomData,
  1673. float const *ZGeomData,
  1674. char const *mfc);
  1675. EXTERNC tecio_API INTEGER4 STDCALL TECTXT(
  1676. double const *XPos,
  1677. double const *YPos,
  1678. INTEGER4 const *PosCoordMode,
  1679. INTEGER4 const *AttachToZone,
  1680. INTEGER4 const *Zone,
  1681. INTEGER4 const *BFont,
  1682. INTEGER4 const *FontHeightUnits,
  1683. double const *FontHeight,
  1684. INTEGER4 const *BoxType,
  1685. double const *BoxMargin,
  1686. double const *BoxLineThickness,
  1687. INTEGER4 const *BoxColor,
  1688. INTEGER4 const *BoxFillColor,
  1689. double const *Angle,
  1690. INTEGER4 const *Anchor,
  1691. double const *LineSpacing,
  1692. INTEGER4 const *TextColor,
  1693. INTEGER4 const *Scope,
  1694. char const *Text,
  1695. char const *mfc);
  1696. EXTERNC tecio_API INTEGER4 STDCALL TECFIL(INTEGER4 const *F);