TECIO.h 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997
  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);