123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995 |
- #pragma once
- /*
- * TECIO.h: Copyright (C) 1988-2014 Tecplot, Inc.
- */
- #if defined TECIOMPI
- #include "mpi.h"
- #endif
- #include "StandardIntegralTypes.h"
- #define INTEGER8 int64_t
- #define INTEGER4 int32_t
- #define INTEGER2 int16_t
- #if defined _WIN32
- #if !defined MSWIN
- #define MSWIN
- #endif
- #endif
- #include "tecio_Exports.h"
- #if !defined STDCALL
- #if defined MSWIN
- #define STDCALL __stdcall
- #else
- #define STDCALL
- #endif
- #endif
- #if !defined EXTERNC
- #if defined __cplusplus
- #define EXTERNC extern "C"
- #else
- #define EXTERNC
- #endif
- #endif
- #if !defined _GLOBAL_H
- enum FieldDataType_e
- {
- FieldDataType_Float = 1,
- FieldDataType_Double,
- FieldDataType_Int32,
- FieldDataType_Int16,
- FieldDataType_Byte,
- };
- enum GeomType_e
- {
- GeomType_LineSegs = 0,
- GeomType_Rectangle = 1,
- GeomType_Square = 2,
- GeomType_Circle = 3,
- GeomType_Ellipse = 4,
- GeomType_LineSegs3D = 5
- };
- enum CoordSys_e
- {
- CoordSys_Grid = 0,
- CoordSys_Frame = 1,
- CoordSys_Grid3D = 6
- };
- #endif
- int32_t const FILEFORMAT_PLT = 0;
- int32_t const FILEFORMAT_SZL = 1;
- int32_t const FILETYPE_FULL = 0;
- int32_t const FILETYPE_GRID = 1;
- int32_t const FILETYPE_SOLUTION = 2;
- // Use these for Tecio; they are different from the ZoneType enum for add-ons in GLOBAL.h.
- int32_t const ZONETYPE_ORDERED = 0;
- int32_t const ZONETYPE_FELINESEG = 1;
- int32_t const ZONETYPE_FETRIANGLE = 2;
- int32_t const ZONETYPE_FEQUADRILATERAL = 3;
- int32_t const ZONETYPE_FETETRAHEDRON = 4;
- int32_t const ZONETYPE_FEBRICK = 5;
- int32_t const ZONETYPE_FEPOLYGON = 6;
- int32_t const ZONETYPE_FEPOLYHEDRON = 7;
- /**
- * New TecIO output routines support 64-bit output, all var types except bit, and out-of-order data output.
- * SZL output only (may support plt in the future), and no polyhedral support yet.
- */
- EXTERNC tecio_API int32_t tecFileWriterOpen(
- char const *fileName,
- char const *dataSetTitle,
- char const *variableList,
- int32_t fileFormat,
- int32_t fileType,
- int32_t defaultVarType,
- void *gridFileHandle,
- void **fileHandle);
- EXTERNC tecio_API int32_t tecFileSetDiagnosticsLevel(
- void *fileHandle,
- int32_t level);
- #if defined TECIOMPI
- EXTERNC tecio_API int32_t tecMPIInitialize(
- void *fileHandle,
- MPI_Comm communicator,
- int32_t mainRank);
- #endif
- EXTERNC tecio_API int32_t tecZoneCreateIJK(
- void *fileHandle,
- char const *zoneTitle,
- int64_t imax,
- int64_t jmax,
- int64_t kmax,
- int32_t const *varTypes,
- int32_t const *shareVarFromZone,
- int32_t const *valueLocations,
- int32_t const *passiveVarList,
- int32_t shareFaceNeighborsFromZone,
- int64_t numFaceConnections,
- int32_t faceNeighborMode,
- int32_t *zone);
- EXTERNC tecio_API int32_t tecZoneCreateFE(
- void *fileHandle,
- char const *zoneTitle,
- int32_t zoneType,
- int64_t numNodes,
- int64_t numCells,
- int32_t const *varTypes,
- int32_t const *shareVarFromZone,
- int32_t const *valueLocations,
- int32_t const *passiveVarList,
- int32_t shareConnectivityFromZone,
- int64_t numFaceConnections,
- int32_t faceNeighborMode,
- int32_t *zone);
- EXTERNC tecio_API int32_t tecZoneCreatePoly(
- void *fileHandle,
- char const *zoneTitle,
- int32_t zoneType,
- int64_t numNodes,
- int64_t numFaces,
- int64_t numCells,
- int64_t totalNumFaceNodes,
- int32_t const *varTypes,
- int32_t const *shareVarFromZone,
- int32_t const *valueLocations,
- int32_t const *passiveVarList,
- int32_t shareConnectivityFromZone,
- int64_t numConnectedBoundaryFaces,
- int64_t totalNumBoundaryConnections,
- int32_t *zone);
- EXTERNC tecio_API int32_t tecZoneSetUnsteadyOptions(
- void *fileHandle,
- int32_t zone,
- double solutionTime,
- int32_t strandID);
- EXTERNC tecio_API int32_t tecZoneSetParentZone(
- void *fileHandle,
- int32_t zone,
- int32_t parentZone);
- #if defined TECIOMPI
- EXTERNC tecio_API int32_t tecZoneMapPartitionsToMPIRanks(
- void *fileHandle,
- int32_t &zone, // Number may change due to communication with the main output rank
- int32_t numPartitions,
- int32_t const *mpiRanksForPartitions);
- #endif
- EXTERNC tecio_API int32_t tecFEPartitionCreate32(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int64_t numNodes,
- int64_t numCells,
- int64_t numGhostNodes,
- int32_t const *ghostNodes,
- int32_t const *neighborPartitions,
- int32_t const *neighborPartitionNodes,
- int64_t numGhostCells,
- int32_t const *ghostCells);
- EXTERNC tecio_API int32_t tecFEPartitionCreate64(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int64_t numNodes,
- int64_t numCells,
- int64_t numGhostNodes,
- int64_t const *ghostNodes,
- int32_t const *neighborPartitions,
- int64_t const *neighborPartitionNodes,
- int64_t numGhostCells,
- int64_t const *ghostCells);
- EXTERNC tecio_API int32_t tecIJKPartitionCreate(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int64_t imin,
- int64_t jmin,
- int64_t kmin,
- int64_t imax,
- int64_t jmax,
- int64_t kmax);
- EXTERNC tecio_API int32_t tecZoneVarWriteDoubleValues(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t partition,
- int64_t count,
- double const *values);
- EXTERNC tecio_API int32_t tecZoneVarWriteFloatValues(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t partition,
- int64_t count,
- float const *values);
- EXTERNC tecio_API int32_t tecZoneVarWriteInt32Values(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t partition,
- int64_t count,
- int32_t const *values);
- EXTERNC tecio_API int32_t tecZoneVarWriteInt16Values(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t partition,
- int64_t count,
- int16_t const *values);
- EXTERNC tecio_API int32_t tecZoneVarWriteUInt8Values(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t partition,
- int64_t count,
- uint8_t const *values);
- EXTERNC tecio_API int32_t tecZoneNodeMapWrite32(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int32_t nodesAreOneBased,
- int64_t count,
- int32_t const *nodes);
- EXTERNC tecio_API int32_t tecZoneNodeMapWrite64(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int32_t nodeAreOneBased,
- int64_t count,
- int64_t const *nodes);
- EXTERNC tecio_API int32_t tecZoneFaceNbrWriteConnections32(
- void *fileHandle,
- int32_t zone,
- int32_t const *faceNeighbors);
- EXTERNC tecio_API int32_t tecZoneFaceNbrWriteConnections64(
- void *fileHandle,
- int32_t zone,
- int64_t const *faceNeighbors);
- EXTERNC tecio_API int32_t tecZoneWritePolyFaces32(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int32_t numFaces,
- int32_t const *faceNodeCounts,
- int32_t const *faceNodes,
- int32_t const *faceLeftElems,
- int32_t const *faceRightElems,
- int32_t isOneBased);
- EXTERNC tecio_API int32_t tecZoneWritePolyFaces64(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int64_t numFaces,
- int32_t const *faceNodeCounts,
- int64_t const *faceNodes,
- int64_t const *faceLeftElems,
- int64_t const *faceRightElems,
- int32_t isOneBased);
- EXTERNC tecio_API int32_t tecZoneWritePolyBoundaryConnections32(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int32_t numBoundaryFaces,
- int32_t const *faceBoundaryConnectionCounts,
- int32_t const *faceBoundaryConnectionElems,
- int32_t const *faceBoundaryConnectionZones,
- int32_t isOneBased);
- EXTERNC tecio_API int32_t tecZoneWritePolyBoundaryConnections64(
- void *fileHandle,
- int32_t zone,
- int32_t partition,
- int64_t numBoundaryFaces,
- int32_t const *faceBoundaryConnectionCounts,
- int64_t const *faceBoundaryConnectionElems,
- int32_t const *faceBoundaryConnectionZones,
- int32_t isOneBased);
- EXTERNC tecio_API int32_t tecDataSetAddAuxData(
- void *fileHandle,
- char const *name,
- char const *value);
- EXTERNC tecio_API int32_t tecVarAddAuxData(
- void *fileHandle,
- int32_t var,
- char const *name,
- char const *value);
- EXTERNC tecio_API int32_t tecZoneAddAuxData(
- void *fileHandle,
- int32_t zone,
- char const *name,
- char const *value);
- EXTERNC tecio_API int32_t tecGeom2DLineSegmentsBegin(
- void *fileHandle,
- double xOrigin,
- double yOrigin,
- int32_t numPoints,
- double const *relativeX,
- double const *relativeY,
- int32_t posCoordMode);
- EXTERNC tecio_API int32_t tecGeom2DMultiLineSegmentsBegin(
- void *fileHandle,
- double xOrigin,
- double yOrigin,
- int32_t numSegments,
- int32_t const *numSegmentPoints,
- double const *relativeX,
- double const *relativeY,
- int32_t posCoordMode);
- EXTERNC tecio_API int32_t tecGeom3DLineSegmentsBegin(
- void *fileHandle,
- double xOrigin,
- double yOrigin,
- double zOrigin,
- int32_t numPoints,
- double const *relativeX,
- double const *relativeY,
- double const *relativeZ);
- EXTERNC tecio_API int32_t tecGeom3DMultiLineSegmentsBegin(
- void *fileHandle,
- double xOrigin,
- double yOrigin,
- double zOrigin,
- int32_t numSegments,
- int32_t const *numSegmentPoints,
- double const *relativeX,
- double const *relativeY,
- double const *relativeZ);
- EXTERNC tecio_API int32_t tecGeomCircleBegin(
- void *fileHandle,
- double xCenter,
- double yCenter,
- double radius,
- int32_t posCoordMode);
- EXTERNC tecio_API int32_t tecGeomEllipseBegin(
- void *fileHandle,
- double xCenter,
- double yCenter,
- double width,
- double height,
- int32_t posCoordMode);
- EXTERNC tecio_API int32_t tecGeomRectangleBegin(
- void *fileHandle,
- double xMin,
- double yMin,
- double xMax,
- double yMax,
- int32_t posCoordMode);
- EXTERNC tecio_API int32_t tecGeomSquareBegin(
- void *fileHandle,
- double xMin,
- double yMin,
- double size,
- int32_t posCoordMode);
- EXTERNC tecio_API int32_t tecGeomArrowheadSetInfo(
- void *fileHandle,
- double angle,
- int32_t attachment,
- double size,
- int32_t style);
- EXTERNC tecio_API int32_t tecGeomEllipseSetNumPoints(
- void *fileHandle,
- int32_t numEllipsePoints);
- EXTERNC tecio_API int32_t tecGeomSetClipping(
- void *fileHandle,
- int32_t clipping);
- EXTERNC tecio_API int32_t tecGeomSetLineInfo(
- void *fileHandle,
- int32_t linePattern,
- double patternLength,
- double thickness,
- int32_t color);
- EXTERNC tecio_API int32_t tecGeomSetMacroFunctionCmd(
- void *fileHandle,
- char const *macroFunctionCmd);
- EXTERNC tecio_API int32_t tecGeomSetScope(
- void *fileHandle,
- int32_t scope);
- EXTERNC tecio_API int32_t tecGeomAttachToZone(
- void *fileHandle,
- int32_t zone);
- EXTERNC tecio_API int32_t tecGeomFill(
- void *fileHandle,
- int32_t fillColor);
- EXTERNC tecio_API int32_t tecGeomEnd(
- void *fileHandle);
- EXTERNC tecio_API int32_t tecCustomLabelsAddSet(
- void *fileHandle,
- char const *labels);
- EXTERNC tecio_API int32_t tecText2DBegin(
- void *fileHandle,
- char const *string,
- double x,
- double y,
- int32_t posCoordMode,
- double height,
- int32_t sizeUnits);
- EXTERNC tecio_API int32_t tecText3DBegin(
- void *fileHandle,
- char const *string,
- double x,
- double y,
- double z,
- double height,
- int32_t sizeUnits);
- EXTERNC tecio_API int32_t tecTextAttachToZone(
- void *fileHandle,
- int32_t zone);
- EXTERNC tecio_API int32_t tecTextBoxSetInfo(
- void *fileHandle,
- int32_t boxType,
- int32_t lineColor,
- int32_t fillColor,
- double lineThickness,
- double margin);
- EXTERNC tecio_API int32_t tecTextSetAnchor(
- void *fileHandle,
- int32_t anchor);
- EXTERNC tecio_API int32_t tecTextSetAngle(
- void *fileHandle,
- double angle);
- EXTERNC tecio_API int32_t tecTextSetClipping(
- void *fileHandle,
- int32_t clipping);
- EXTERNC tecio_API int32_t tecTextSetColor(
- void *fileHandle,
- int32_t color);
- EXTERNC tecio_API int32_t tecTextSetTypeface(
- void *fileHandle,
- char const *family,
- int32_t isBold,
- int32_t isItalic);
- EXTERNC tecio_API int32_t tecTextSetLineSpacing(
- void *fileHandle,
- double lineSpacing);
- EXTERNC tecio_API int32_t tecTextSetMacroFunctionCmd(
- void *fileHandle,
- char const *macroFunctionCmd);
- EXTERNC tecio_API int32_t tecTextSetScope(
- void *fileHandle,
- int32_t scope);
- EXTERNC tecio_API int32_t tecTextEnd(
- void *fileHandle);
- EXTERNC tecio_API int32_t tecUserRecAdd(
- void *fileHandle,
- char const *userRec);
- EXTERNC tecio_API int32_t tecFileWriterFlush(
- void *fileHandle,
- int32_t numZonesToRetain,
- int32_t const *zonesToRetain);
- EXTERNC tecio_API int32_t tecFileWriterClose(
- void **fileHandle);
- /**
- * SZL file reading routines
- */
- EXTERNC tecio_API int32_t tecCustomLabelsGetNumSets(
- void *fileHandle,
- int32_t *numSets);
- EXTERNC tecio_API int32_t
- tecCustomLabelsGetSet(
- void *fileHandle,
- int32_t whichSet,
- char **labelSet);
- EXTERNC tecio_API int32_t tecDataSetAuxDataGetItem(
- void *fileHandle,
- int32_t whichItem,
- char **name,
- char **value);
- EXTERNC tecio_API int32_t tecDataSetAuxDataGetNumItems(
- void *fileHandle,
- int32_t *numItems);
- EXTERNC tecio_API int32_t tecDataSetGetNumVars(
- void *fileHandle,
- int32_t *numVars);
- EXTERNC tecio_API int32_t tecDataSetGetNumZones(
- void *fileHandle,
- int32_t *numZones);
- EXTERNC tecio_API int32_t tecDataSetGetTitle(
- void *fileHandle,
- char **title);
- EXTERNC tecio_API int32_t tecFileGetType(
- void *fileHandle,
- int32_t *fileType);
- EXTERNC tecio_API int32_t tecFileReaderClose(
- void **fileHandle);
- EXTERNC tecio_API int32_t tecFileReaderOpen(
- char const *fileName,
- void **fileHandle);
- EXTERNC tecio_API int32_t tecGeomArrowheadGetAngle(
- void *fileHandle,
- int32_t geom,
- double *angle);
- EXTERNC tecio_API int32_t tecGeomArrowheadGetAttach(
- void *fileHandle,
- int32_t geom,
- int32_t *attachment);
- EXTERNC tecio_API int32_t tecGeomArrowheadGetSize(
- void *fileHandle,
- int32_t geom,
- double *arrowheadSize);
- EXTERNC tecio_API int32_t tecGeomArrowheadGetStyle(
- void *fileHandle,
- int32_t geom,
- int32_t *arrowheadStyle);
- EXTERNC tecio_API int32_t tecGeomCircleGetRadius(
- void *fileHandle,
- int32_t geom,
- double *radius);
- EXTERNC tecio_API int32_t tecGeomEllipseGetNumPoints(
- void *fileHandle,
- int32_t geom,
- int32_t *numEllipsePoints);
- EXTERNC tecio_API int32_t tecGeomEllipseGetSize(
- void *fileHandle,
- int32_t geom,
- double *horizontalAxis,
- double *verticalAxis);
- EXTERNC tecio_API int32_t tecGeomGetAnchorPos(
- void *fileHandle,
- int32_t geom,
- double *x,
- double *y,
- double *z);
- EXTERNC tecio_API int32_t tecGeomGetClipping(
- void *fileHandle,
- int32_t geom,
- int32_t *clipping);
- EXTERNC tecio_API int32_t tecGeomGetColor(
- void *fileHandle,
- int32_t geom,
- int32_t *color);
- EXTERNC tecio_API int32_t tecGeomGetCoordMode(
- void *fileHandle,
- int32_t geom,
- int32_t *coordMode);
- EXTERNC tecio_API int32_t tecGeomGetFillColor(
- void *fileHandle,
- int32_t geom,
- int32_t *fillColor);
- EXTERNC tecio_API int32_t tecGeomGetLinePattern(
- void *fileHandle,
- int32_t geom,
- int32_t *linePattern);
- EXTERNC tecio_API int32_t tecGeomGetLineThickness(
- void *fileHandle,
- int32_t geom,
- double *lineThickness);
- EXTERNC tecio_API int32_t tecGeomGetMacroFunctionCmd(
- void *fileHandle,
- int32_t geom,
- char **macroFunctionCmd);
- EXTERNC tecio_API int32_t tecGeomGetNumGeoms(
- void *fileHandle,
- int32_t *numGeoms);
- EXTERNC tecio_API int32_t tecGeomGetPatternLength(
- void *fileHandle,
- int32_t geom,
- double *patternLength);
- EXTERNC tecio_API int32_t tecGeomGetScope(
- void *fileHandle,
- int32_t geom,
- int32_t *scope);
- EXTERNC tecio_API int32_t tecGeomGetType(
- void *fileHandle,
- int32_t geom,
- int32_t *type);
- EXTERNC tecio_API int32_t tecGeomGetZone(
- void *fileHandle,
- int32_t geom,
- int32_t *zone);
- EXTERNC tecio_API int32_t tecGeomIsAttached(
- void *fileHandle,
- int32_t geom,
- int32_t *isAttached);
- EXTERNC tecio_API int32_t tecGeomIsFilled(
- void *fileHandle,
- int32_t geom,
- int32_t *isFilled);
- EXTERNC tecio_API int32_t tecGeomLineGetPoint(
- void *fileHandle,
- int32_t geom,
- int32_t segment,
- int32_t index,
- double *x,
- double *y,
- double *z);
- EXTERNC tecio_API int32_t tecGeomLineGetSegmentCount(
- void *fileHandle,
- int32_t geom,
- int32_t *segmentCount);
- EXTERNC tecio_API int32_t tecGeomLineSegmentGetPointCount(
- void *fileHandle,
- int32_t geom,
- int32_t segment,
- int32_t *pointCount);
- EXTERNC tecio_API int32_t tecGeomRectangleGetSize(
- void *fileHandle,
- int32_t geom,
- double *width,
- double *height);
- EXTERNC tecio_API int32_t tecGeomSquareGetSize(
- void *fileHandle,
- int32_t geom,
- double *size);
- EXTERNC tecio_API void tecStringFree(
- char **string);
- EXTERNC tecio_API int32_t tecStringLength(
- char const *string);
- EXTERNC tecio_API int32_t tecTextBoxGetColor(
- void *fileHandle,
- int32_t text,
- int32_t *boxColor);
- EXTERNC tecio_API int32_t tecTextBoxGetFillColor(
- void *fileHandle,
- int32_t text,
- int32_t *boxFillColor);
- EXTERNC tecio_API int32_t tecTextBoxGetLineThickness(
- void *fileHandle,
- int32_t text,
- double *boxLineThickness);
- EXTERNC tecio_API int32_t tecTextBoxGetMargin(
- void *fileHandle,
- int32_t text,
- double *boxMargin);
- EXTERNC tecio_API int32_t tecTextBoxGetType(
- void *fileHandle,
- int32_t text,
- int32_t *boxType);
- EXTERNC tecio_API int32_t tecTextGetAnchor(
- void *fileHandle,
- int32_t text,
- int32_t *anchor);
- EXTERNC tecio_API int32_t tecTextGetAnchorPos(
- void *fileHandle,
- int32_t text,
- double *x,
- double *y,
- double *z);
- EXTERNC tecio_API int32_t tecTextGetAngle(
- void *fileHandle,
- int32_t text,
- double *angle);
- EXTERNC tecio_API int32_t tecTextGetClipping(
- void *fileHandle,
- int32_t text,
- int32_t *clipping);
- EXTERNC tecio_API int32_t tecTextGetColor(
- void *fileHandle,
- int32_t text,
- int32_t *color);
- EXTERNC tecio_API int32_t tecTextGetCoordMode(
- void *fileHandle,
- int32_t text,
- int32_t *coordMode);
- EXTERNC tecio_API int32_t tecTextGetHeight(
- void *fileHandle,
- int32_t text,
- double *height);
- EXTERNC tecio_API int32_t tecTextGetLineSpacing(
- void *fileHandle,
- int32_t text,
- double *lineSpacing);
- EXTERNC tecio_API int32_t tecTextGetMacroFunctionCmd(
- void *fileHandle,
- int32_t text,
- char **macroFunctionCmd);
- EXTERNC tecio_API int32_t tecTextGetNumTexts(
- void *fileHandle,
- int32_t *numTexts);
- EXTERNC tecio_API int32_t tecTextGetScope(
- void *fileHandle,
- int32_t text,
- int32_t *scope);
- EXTERNC tecio_API int32_t tecTextGetSizeUnits(
- void *fileHandle,
- int32_t text,
- int32_t *sizeUnits);
- EXTERNC tecio_API int32_t tecTextGetString(
- void *fileHandle,
- int32_t text,
- char **string);
- EXTERNC tecio_API int32_t tecTextGetTypeface(
- void *fileHandle,
- int32_t text,
- char **typeface);
- EXTERNC tecio_API int32_t tecTextGetZone(
- void *fileHandle,
- int32_t text,
- int32_t *zone);
- EXTERNC tecio_API int32_t tecTextIsAttached(
- void *fileHandle,
- int32_t text,
- int32_t *isAttached);
- EXTERNC tecio_API int32_t tecTextIsBold(
- void *fileHandle,
- int32_t text,
- int32_t *isBold);
- EXTERNC tecio_API int32_t tecTextIsItalic(
- void *fileHandle,
- int32_t text,
- int32_t *isItalic);
- EXTERNC tecio_API int32_t tecVarAuxDataGetItem(
- void *fileHandle,
- int32_t var,
- int32_t whichItem,
- char **name,
- char **value);
- EXTERNC tecio_API int32_t tecVarAuxDataGetNumItems(
- void *fileHandle,
- int32_t var,
- int32_t *numItems);
- EXTERNC tecio_API int32_t tecVarGetName(
- void *fileHandle,
- int32_t var,
- char **name);
- EXTERNC tecio_API int32_t tecVarIsEnabled(
- void *fileHandle,
- int32_t var,
- int32_t *isEnabled);
- EXTERNC tecio_API int32_t tecZoneAuxDataGetItem(
- void *fileHandle,
- int32_t zone,
- int32_t whichItem,
- char **name,
- char **value);
- EXTERNC tecio_API int32_t tecZoneAuxDataGetNumItems(
- void *fileHandle,
- int32_t zone,
- int32_t *numItems);
- EXTERNC tecio_API int32_t tecZoneConnectivityGetSharedZone(
- void *fileHandle,
- int32_t zone,
- int32_t *sharedZone);
- EXTERNC tecio_API int32_t tecZoneFaceNbrGetConnections(
- void *fileHandle,
- int32_t zone,
- int32_t *connections);
- EXTERNC tecio_API int32_t tecZoneFaceNbrGetConnections64(
- void *fileHandle,
- int32_t zone,
- int64_t *connections);
- EXTERNC tecio_API int32_t tecZoneFaceNbrGetMode(
- void *fileHandle,
- int32_t zone,
- int32_t *mode);
- EXTERNC tecio_API int32_t tecZoneFaceNbrGetNumConnections(
- void *fileHandle,
- int32_t zone,
- int64_t *numConnections);
- EXTERNC tecio_API int32_t tecZoneFaceNbrGetNumValues(
- void *fileHandle,
- int32_t zone,
- int64_t *numValues);
- EXTERNC tecio_API int32_t tecZoneFaceNbrsAre64Bit(
- void *fileHandle,
- int32_t zone,
- int32_t *are64Bit);
- EXTERNC tecio_API int32_t tecZoneGetIJK(
- void *fileHandle,
- int32_t zone,
- int64_t *iMax,
- int64_t *jMax,
- int64_t *kMax);
- EXTERNC tecio_API int32_t tecZoneGetParentZone(
- void *fileHandle,
- int32_t zone,
- int32_t *parentZone);
- EXTERNC tecio_API int32_t tecZoneGetSolutionTime(
- void *fileHandle,
- int32_t zone,
- double *solutionTime);
- EXTERNC tecio_API int32_t tecZoneGetStrandID(
- void *fileHandle,
- int32_t zone,
- int32_t *strandID);
- EXTERNC tecio_API int32_t tecZoneGetTitle(
- void *fileHandle,
- int32_t zone,
- char **title);
- EXTERNC tecio_API int32_t tecZoneGetType(
- void *fileHandle,
- int32_t zone,
- int32_t *type);
- EXTERNC tecio_API int32_t tecZoneIsEnabled(
- void *fileHandle,
- int32_t zone,
- int32_t *isEnabled);
- EXTERNC tecio_API int32_t tecZoneNodeMapGet(
- void *fileHandle,
- int32_t zone,
- int64_t startCell,
- int64_t numCells,
- int32_t *nodeMap);
- EXTERNC tecio_API int32_t tecZoneNodeMapGet64(
- void *fileHandle,
- int32_t zone,
- int64_t startCell,
- int64_t numCells,
- int64_t *nodeMap);
- EXTERNC tecio_API int32_t tecZoneNodeMapGetNumValues(
- void *fileHandle,
- int32_t zone,
- int64_t numCells,
- int64_t *numValues);
- EXTERNC tecio_API int32_t tecZoneNodeMapIs64Bit(
- void *fileHandle,
- int32_t zone,
- int32_t *is64Bit);
- EXTERNC tecio_API int32_t tecZonePolyGetBoundaryConnectionCounts(
- void *fileHandle,
- int32_t zone,
- int64_t startConnection,
- int64_t numConnections,
- int32_t *connectionCounts);
- EXTERNC tecio_API int32_t tecZonePolyGetBoundaryConnections(
- void *fileHandle,
- int32_t zone,
- int64_t startConnection,
- int64_t numConnections,
- int32_t *connectedElements,
- int32_t *connectedZones);
- EXTERNC tecio_API int32_t tecZonePolyGetFaceElems(
- void *fileHandle,
- int32_t zone,
- int64_t startFace,
- int64_t numFaces,
- int32_t *leftElems,
- int32_t *rightElems);
- EXTERNC tecio_API int32_t tecZonePolyGetFaceNodeCounts(
- void *fileHandle,
- int32_t zone,
- int64_t startFace,
- int64_t numFaces,
- int32_t *nodeCounts);
- EXTERNC tecio_API int32_t tecZonePolyGetFaceNodes(
- void *fileHandle,
- int32_t zone,
- int64_t startFace,
- int64_t numFaces,
- int32_t *faceNodes);
- EXTERNC tecio_API int32_t tecZonePolyGetNumConnectedBoundaryFaces(
- void *fileHandle,
- int32_t zone,
- int64_t *numFaces);
- EXTERNC tecio_API int32_t tecZonePolyGetTotalNumFaceNodes(
- void *fileHandle,
- int32_t zone,
- int64_t *numNodes);
- EXTERNC tecio_API int32_t tecZonePolyGetTotalNumBoundaryConnections(
- void *fileHandle,
- int32_t zone,
- int64_t *numConnections);
- EXTERNC tecio_API int32_t tecZoneVarGetDoubleValues(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int64_t startIndex,
- int64_t numValues,
- double *values);
- EXTERNC tecio_API int32_t tecZoneVarGetFloatValues(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int64_t startIndex,
- int64_t numValues,
- float *values);
- EXTERNC tecio_API int32_t tecZoneVarGetInt16Values(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int64_t startIndex,
- int64_t numValues,
- int16_t *values);
- EXTERNC tecio_API int32_t tecZoneVarGetInt32Values(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int64_t startIndex,
- int64_t numValues,
- int32_t *values);
- EXTERNC tecio_API int32_t tecZoneVarGetNumValues(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int64_t *numValues);
- EXTERNC tecio_API int32_t tecZoneVarGetSharedZone(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t *sharedZone);
- EXTERNC tecio_API int32_t tecZoneVarGetType(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t *type);
- EXTERNC tecio_API int32_t tecZoneVarGetUInt8Values(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int64_t startIndex,
- int64_t numValues,
- uint8_t *values);
- EXTERNC tecio_API int32_t tecZoneVarGetValueLocation(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t *location);
- EXTERNC tecio_API int32_t tecZoneVarIsPassive(
- void *fileHandle,
- int32_t zone,
- int32_t var,
- int32_t *isPassive);
- /* Older routines */
- #if !defined CRAY
- #define TECINI142 tecini142
- #define TECZNE142 teczne142
- #define TECDAT142 tecdat142
- #define TECDATD142 tecdatd142
- #define TECDATF142 tecdatf142
- #define TECNOD142 tecnod142
- #define TECNODE142 tecnode142
- #define TECGEO142 tecgeo142
- #define TECTXT142 tectxt142
- #define TECLAB142 teclab142
- #define TECFIL142 tecfil142
- #define TECFOREIGN142 tecforeign142
- #define TECFLUSH142 tecflush142
- #define TECEND142 tecend142
- #define TECUSR142 tecusr142
- #define TECAUXSTR142 tecauxstr142
- #define TECZAUXSTR142 teczauxstr142
- #define TECVAUXSTR142 tecvauxstr142
- #define TECFACE142 tecface142
- #define TECPOLY142 tecpoly142
- #define TECPOLYFACE142 tecpolyface142
- #define TECPOLYBCONN142 tecpolybconn142
- /*
- * SZL-only API:
- */
- #define TECFEPTN142 tecfeptn142
- #define TECIJKPTN142 tecijkptn142
- /*
- * SZL MPI-only APIs:
- */
- #define TECMPIINIT142 tecmpiinit142
- #define TECZNEMAP142 tecznemap142
- /*
- * Older API versions:
- */
- #define TECINI112 tecini112
- #define TECZNE112 teczne112
- #define TECDAT112 tecdat112
- #define TECNOD112 tecnod112
- #define TECNODE112 tecnode112
- #define TECGEO112 tecgeo112
- #define TECTXT112 tectxt112
- #define TECLAB112 teclab112
- #define TECFIL112 tecfil112
- #define TECFOREIGN112 tecforeign112
- #define TECEND112 tecend112
- #define TECUSR112 tecusr112
- #define TECAUXSTR112 tecauxstr112
- #define TECZAUXSTR112 teczauxstr112
- #define TECVAUXSTR112 tecvauxstr112
- #define TECFACE112 tecface112
- #define TECPOLY112 tecpoly112
- #define TECPOLYFACE112 tecpolyface112
- #define TECPOLYBCONN112 tecpolybconn112
- #define TECINI111 tecini111
- #define TECZNE111 teczne111
- #define TECDAT111 tecdat111
- #define TECNOD111 tecnod111
- #define TECGEO111 tecgeo111
- #define TECTXT111 tectxt111
- #define TECLAB111 teclab111
- #define TECFIL111 tecfil111
- #define TECFOREIGN111 tecforeign111
- #define TECEND111 tecend111
- #define TECUSR111 tecusr111
- #define TECAUXSTR111 tecauxstr111
- #define TECZAUXSTR111 teczauxstr111
- #define TECVAUXSTR111 tecvauxstr111
- #define TECFACE111 tecface111
- #define TECPOLY111 tecpoly111
- #define TECINI110 tecini110
- #define TECZNE110 teczne110
- #define TECDAT110 tecdat110
- #define TECNOD110 tecnod110
- #define TECGEO110 tecgeo110
- #define TECTXT110 tectxt110
- #define TECLAB110 teclab110
- #define TECFIL110 tecfil110
- #define TECFOREIGN110 tecforeign110
- #define TECEND110 tecend110
- #define TECUSR110 tecusr110
- #define TECAUXSTR110 tecauxstr110
- #define TECZAUXSTR110 teczauxstr110
- #define TECVAUXSTR110 tecvauxstr110
- #define TECFACE110 tecface110
- #define TECINI100 tecini100
- #define TECZNE100 teczne100
- #define TECDAT100 tecdat100
- #define TECNOD100 tecnod100
- #define TECGEO100 tecgeo100
- #define TECTXT100 tectxt100
- #define TECLAB100 teclab100
- #define TECFIL100 tecfil100
- #define TECFOREIGN100 tecforeign100
- #define TECEND100 tecend100
- #define TECUSR100 tecusr100
- #define TECAUXSTR100 tecauxstr100
- #define TECZAUXSTR100 teczauxstr100
- #define TECVAUXSTR100 tecvauxstr100
- #define TECFACE100 tecface100
- #define TECINI tecini
- #define TECZNE teczne
- #define TECDAT tecdat
- #define TECNOD tecnod
- #define TECGEO tecgeo
- #define TECTXT tectxt
- #define TECLAB teclab
- #define TECFIL tecfil
- #define TECEND tecend
- #define TECUSR tecusr
- #endif
- /*
- * TecIO API version 142 introduced the ability write both PLT and SZL formatted files.
- * No polyhedral support for SZL files.
- */
- EXTERNC tecio_API INTEGER4 STDCALL TECINI142(
- char const *Title,
- char const *Variables,
- char const *FName,
- char const *ScratchDir,
- INTEGER4 const *FileFormat,
- INTEGER4 const *FileType,
- INTEGER4 const *Debug,
- INTEGER4 const *VIsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNE142(
- char const *ZoneTitle,
- INTEGER4 const *ZoneType,
- INTEGER4 const *IMxOrNumPts,
- INTEGER4 const *JMxOrNumElements,
- INTEGER4 const *KMxOrNumFaces,
- INTEGER4 const *ICellMx,
- INTEGER4 const *JCellMx,
- INTEGER4 const *KCellMx,
- double const *SolutionTime,
- INTEGER4 const *StrandID,
- INTEGER4 const *ParentZone,
- INTEGER4 const *IsBlock,
- INTEGER4 const *NumFaceConnections,
- INTEGER4 const *FaceNeighborMode,
- INTEGER4 const *TotalNumFaceNodes,
- INTEGER4 const *NumConnectedBoundaryFaces,
- INTEGER4 const *TotalNumBoundaryConnections,
- INTEGER4 const *PassiveVarList,
- INTEGER4 const *ValueLocation,
- INTEGER4 const *ShareVarFromZone,
- INTEGER4 const *ShareConnectivityFromZone);
- EXTERNC tecio_API INTEGER4 STDCALL TECDAT142(
- INTEGER4 const *N,
- void const *FieldData,
- INTEGER4 const *IsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECDATD142(
- INTEGER4 const *N,
- double const *FieldData);
- EXTERNC tecio_API INTEGER4 STDCALL TECDATF142(
- INTEGER4 const *N,
- float const *FieldData);
- EXTERNC tecio_API INTEGER4 STDCALL TECNOD142(INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECNODE142(
- INTEGER4 const *N,
- INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECFLUSH142(
- INTEGER4 const *NumZonesToRetain,
- INTEGER4 const *ZonesToRetain);
- EXTERNC tecio_API INTEGER4 STDCALL TECEND142(void);
- EXTERNC tecio_API INTEGER4 STDCALL TECLAB142(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECUSR142(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECGEO142(
- double const *XPos,
- double const *YPos,
- double const *ZPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *Color,
- INTEGER4 const *FillColor,
- INTEGER4 const *IsFilled,
- INTEGER4 const *GeomType,
- INTEGER4 const *LinePattern,
- double const *PatternLength,
- double const *LineThickness,
- INTEGER4 const *NumEllipsePts,
- INTEGER4 const *ArrowheadStyle,
- INTEGER4 const *ArrowheadAttachment,
- double const *ArrowheadSize,
- double const *ArrowheadAngle,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- INTEGER4 const *NumSegments,
- INTEGER4 const *NumSegPts,
- float const *XGeomData,
- float const *YGeomData,
- float const *ZGeomData,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECTXT142(
- double const *XOrThetaPos,
- double const *YOrRPos,
- double const *ZOrUnusedPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *BFont,
- INTEGER4 const *FontHeightUnits,
- double const *FontHeight,
- INTEGER4 const *BoxType,
- double const *BoxMargin,
- double const *BoxLineThickness,
- INTEGER4 const *BoxColor,
- INTEGER4 const *BoxFillColor,
- double const *Angle,
- INTEGER4 const *Anchor,
- double const *LineSpacing,
- INTEGER4 const *TextColor,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- char const *String,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECFIL142(INTEGER4 const *F);
- EXTERNC tecio_API void STDCALL TECFOREIGN142(INTEGER4 const *OutputForeignByteOrder);
- EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR142(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR142(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR142(
- INTEGER4 const *Var,
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECFACE142(INTEGER4 const *FaceConnections);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLY142(
- INTEGER4 const *FaceNodeCounts,
- INTEGER4 const *FaceNodes,
- INTEGER4 const *FaceLeftElems,
- INTEGER4 const *FaceRightElems,
- INTEGER4 const *FaceBndryConnectionCounts,
- INTEGER4 const *FaceBndryConnectionElems,
- INTEGER4 const *FaceBndryConnectionZones);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLYFACE142(
- INTEGER4 const *NumFaces,
- INTEGER4 const *FaceNodeCounts,
- INTEGER4 const *FaceNodes,
- INTEGER4 const *FaceLeftElems,
- INTEGER4 const *FaceRightElems);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLYBCONN142(
- INTEGER4 const *NumBndryFaces,
- INTEGER4 const *FaceBndryConnectionCounts,
- INTEGER4 const *FaceBndryConnectionElems,
- INTEGER4 const *FaceBndryConnectionZones);
- /* SZL-only APIs: */
- EXTERNC tecio_API INTEGER4 STDCALL TECFEPTN142(
- INTEGER4 const *partition,
- INTEGER4 const *numnodes,
- INTEGER4 const *numcells,
- INTEGER4 const *ngnodes,
- INTEGER4 const *gnodes,
- INTEGER4 const *gnpartitions,
- INTEGER4 const *gnpnodes,
- INTEGER4 const *ngcells,
- INTEGER4 const *gcells);
- EXTERNC tecio_API INTEGER4 STDCALL TECIJKPTN142(
- INTEGER4 const *partition,
- INTEGER4 const *imin,
- INTEGER4 const *jmin,
- INTEGER4 const *kmin,
- INTEGER4 const *imax,
- INTEGER4 const *jmax,
- INTEGER4 const *kmax);
- /* SZL MPI-only APIs: */
- EXTERNC tecio_API INTEGER4 STDCALL TECMPIINIT142(
- void *communicator, /* MPI_Comm */
- INTEGER4 const *mainrank);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNEMAP142(
- INTEGER4 const *npartitions,
- INTEGER4 const *ptnranks);
- /*
- * V11.3 tecio functions
- */
- EXTERNC tecio_API INTEGER4 STDCALL TECINI112(
- char const *Title,
- char const *Variables,
- char const *FName,
- char const *ScratchDir,
- INTEGER4 const *FileType,
- INTEGER4 const *Debug,
- INTEGER4 const *VIsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNE112(
- char const *ZoneTitle,
- INTEGER4 const *ZoneType,
- INTEGER4 const *IMxOrNumPts,
- INTEGER4 const *JMxOrNumElements,
- INTEGER4 const *KMxOrNumFaces,
- INTEGER4 const *ICellMx,
- INTEGER4 const *JCellMx,
- INTEGER4 const *KCellMx,
- double const *SolutionTime,
- INTEGER4 const *StrandID,
- INTEGER4 const *ParentZone,
- INTEGER4 const *IsBlock,
- INTEGER4 const *NumFaceConnections,
- INTEGER4 const *FaceNeighborMode,
- INTEGER4 const *TotalNumFaceNodes,
- INTEGER4 const *NumConnectedBoundaryFaces,
- INTEGER4 const *TotalNumBoundaryConnections,
- INTEGER4 const *PassiveVarList,
- INTEGER4 const *ValueLocation,
- INTEGER4 const *ShareVarFromZone,
- INTEGER4 const *ShareConnectivityFromZone);
- EXTERNC tecio_API INTEGER4 STDCALL TECDAT112(
- INTEGER4 const *N,
- void const *FieldData,
- INTEGER4 const *IsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECNOD112(INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECNODE112(
- INTEGER4 const *N,
- INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECEND112(void);
- EXTERNC tecio_API INTEGER4 STDCALL TECLAB112(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECUSR112(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECGEO112(
- double const *XPos,
- double const *YPos,
- double const *ZPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *Color,
- INTEGER4 const *FillColor,
- INTEGER4 const *IsFilled,
- INTEGER4 const *GeomType,
- INTEGER4 const *LinePattern,
- double const *PatternLength,
- double const *LineThickness,
- INTEGER4 const *NumEllipsePts,
- INTEGER4 const *ArrowheadStyle,
- INTEGER4 const *ArrowheadAttachment,
- double const *ArrowheadSize,
- double const *ArrowheadAngle,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- INTEGER4 const *NumSegments,
- INTEGER4 const *NumSegPts,
- float const *XGeomData,
- float const *YGeomData,
- float const *ZGeomData,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECTXT112(
- double const *XOrThetaPos,
- double const *YOrRPos,
- double const *ZOrUnusedPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *BFont,
- INTEGER4 const *FontHeightUnits,
- double const *FontHeight,
- INTEGER4 const *BoxType,
- double const *BoxMargin,
- double const *BoxLineThickness,
- INTEGER4 const *BoxColor,
- INTEGER4 const *BoxFillColor,
- double const *Angle,
- INTEGER4 const *Anchor,
- double const *LineSpacing,
- INTEGER4 const *TextColor,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- char const *String,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECFIL112(INTEGER4 const *F);
- EXTERNC tecio_API void STDCALL TECFOREIGN112(INTEGER4 const *OutputForeignByteOrder);
- EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR112(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR112(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR112(
- INTEGER4 const *Var,
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECFACE112(INTEGER4 const *FaceConnections);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLY112(
- INTEGER4 const *FaceNodeCounts,
- INTEGER4 const *FaceNodes,
- INTEGER4 const *FaceLeftElems,
- INTEGER4 const *FaceRightElems,
- INTEGER4 const *FaceBndryConnectionCounts,
- INTEGER4 const *FaceBndryConnectionElems,
- INTEGER4 const *FaceBndryConnectionZones);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLYFACE112(
- INTEGER4 const *NumFaces,
- INTEGER4 const *FaceNodeCounts,
- INTEGER4 const *FaceNodes,
- INTEGER4 const *FaceLeftElems,
- INTEGER4 const *FaceRightElems);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLYBCONN112(
- INTEGER4 const *NumBndryFaces,
- INTEGER4 const *FaceBndryConnectionCounts,
- INTEGER4 const *FaceBndryConnectionElems,
- INTEGER4 const *FaceBndryConnectionZones);
- /*
- * V11.1 tecio functions TODO (JN): Tecplot's version is still in flux so the .1 may change
- */
- EXTERNC tecio_API INTEGER4 STDCALL TECINI111(
- char const *Title,
- char const *Variables,
- char const *FName,
- char const *ScratchDir,
- INTEGER4 const *FileType,
- INTEGER4 const *Debug,
- INTEGER4 const *VIsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNE111(
- char const *ZoneTitle,
- INTEGER4 const *ZoneType,
- INTEGER4 const *IMxOrNumPts,
- INTEGER4 const *JMxOrNumElements,
- INTEGER4 const *KMxOrNumFaces,
- INTEGER4 const *ICellMx,
- INTEGER4 const *JCellMx,
- INTEGER4 const *KCellMx,
- double const *SolutionTime,
- INTEGER4 const *StrandID,
- INTEGER4 const *ParentZone,
- INTEGER4 const *IsBlock,
- INTEGER4 const *NumFaceConnections,
- INTEGER4 const *FaceNeighborMode,
- INTEGER4 const *TotalNumFaceNodes,
- INTEGER4 const *NumConnectedBoundaryFaces,
- INTEGER4 const *TotalNumBoundaryConnections,
- INTEGER4 const *PassiveVarList,
- INTEGER4 const *ValueLocation,
- INTEGER4 const *ShareVarFromZone,
- INTEGER4 const *ShareConnectivityFromZone);
- EXTERNC tecio_API INTEGER4 STDCALL TECDAT111(
- INTEGER4 const *N,
- void const *FieldData,
- INTEGER4 const *IsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECNOD111(INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECEND111(void);
- EXTERNC tecio_API INTEGER4 STDCALL TECLAB111(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECUSR111(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECGEO111(
- double const *XPos,
- double const *YPos,
- double const *ZPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *Color,
- INTEGER4 const *FillColor,
- INTEGER4 const *IsFilled,
- INTEGER4 const *GeomType,
- INTEGER4 const *LinePattern,
- double const *PatternLength,
- double const *LineThickness,
- INTEGER4 const *NumEllipsePts,
- INTEGER4 const *ArrowheadStyle,
- INTEGER4 const *ArrowheadAttachment,
- double const *ArrowheadSize,
- double const *ArrowheadAngle,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- INTEGER4 const *NumSegments,
- INTEGER4 const *NumSegPts,
- float const *XGeomData,
- float const *YGeomData,
- float const *ZGeomData,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECTXT111(
- double const *XOrThetaPos,
- double const *YOrRPos,
- double const *ZOrUnusedPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *BFont,
- INTEGER4 const *FontHeightUnits,
- double const *FontHeight,
- INTEGER4 const *BoxType,
- double const *BoxMargin,
- double const *BoxLineThickness,
- INTEGER4 const *BoxColor,
- INTEGER4 const *BoxFillColor,
- double const *Angle,
- INTEGER4 const *Anchor,
- double const *LineSpacing,
- INTEGER4 const *TextColor,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- char const *String,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECFIL111(INTEGER4 const *F);
- EXTERNC tecio_API void STDCALL TECFOREIGN111(INTEGER4 const *OutputForeignByteOrder);
- EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR111(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR111(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR111(
- INTEGER4 const *Var,
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECFACE111(INTEGER4 const *FaceConnections);
- EXTERNC tecio_API INTEGER4 STDCALL TECPOLY111(
- INTEGER4 const *FaceNodeCounts,
- INTEGER4 const *FaceNodes,
- INTEGER4 const *FaceLeftElems,
- INTEGER4 const *FaceRightElems,
- INTEGER4 const *FaceBndryConnectionCounts,
- INTEGER4 const *FaceBndryConnectionElems,
- INTEGER2 const *FaceBndryConnectionZones);
- /*
- * V11 tecio functions
- */
- EXTERNC tecio_API INTEGER4 STDCALL TECINI110(
- char const *Title,
- char const *Variables,
- char const *FName,
- char const *ScratchDir,
- INTEGER4 const *Debug,
- INTEGER4 const *VIsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNE110(
- char const *ZoneTitle,
- INTEGER4 const *ZoneType,
- INTEGER4 const *IMxOrNumPts,
- INTEGER4 const *JMxOrNumElements,
- INTEGER4 const *KMxOrNumFaces,
- INTEGER4 const *ICellMx,
- INTEGER4 const *JCellMx,
- INTEGER4 const *KCellMx,
- double const *SolutionTime,
- INTEGER4 const *StrandID,
- INTEGER4 const *ParentZone,
- INTEGER4 const *IsBlock,
- INTEGER4 const *NumFaceConnections,
- INTEGER4 const *FaceNeighborMode,
- INTEGER4 const *PassiveVarList,
- INTEGER4 const *ValueLocation,
- INTEGER4 const *ShareVarFromZone,
- INTEGER4 const *ShareConnectivityFromZone);
- EXTERNC tecio_API INTEGER4 STDCALL TECDAT110(
- INTEGER4 const *N,
- void const *FieldData,
- INTEGER4 const *IsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECNOD110(INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECEND110(void);
- EXTERNC tecio_API INTEGER4 STDCALL TECLAB110(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECUSR110(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECGEO110(
- double const *XPos,
- double const *YPos,
- double const *ZPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *Color,
- INTEGER4 const *FillColor,
- INTEGER4 const *IsFilled,
- INTEGER4 const *GeomType,
- INTEGER4 const *LinePattern,
- double const *PatternLength,
- double const *LineThickness,
- INTEGER4 const *NumEllipsePts,
- INTEGER4 const *ArrowheadStyle,
- INTEGER4 const *ArrowheadAttachment,
- double const *ArrowheadSize,
- double const *ArrowheadAngle,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- INTEGER4 const *NumSegments,
- INTEGER4 const *NumSegPts,
- float const *XGeomData,
- float const *YGeomData,
- float const *ZGeomData,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECTXT110(
- double const *XOrThetaPos,
- double const *YOrRPos,
- double const *ZOrUnusedPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *BFont,
- INTEGER4 const *FontHeightUnits,
- double const *FontHeight,
- INTEGER4 const *BoxType,
- double const *BoxMargin,
- double const *BoxLineThickness,
- INTEGER4 const *BoxColor,
- INTEGER4 const *BoxFillColor,
- double const *Angle,
- INTEGER4 const *Anchor,
- double const *LineSpacing,
- INTEGER4 const *TextColor,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- char const *String,
- char const *mfc);
- EXTERNC tecio_API void STDCALL TECFOREIGN110(INTEGER4 const *OutputForeignByteOrder);
- EXTERNC tecio_API INTEGER4 STDCALL TECFIL110(INTEGER4 const *F);
- EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR110(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR110(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR110(
- INTEGER4 const *Var,
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECFACE110(INTEGER4 const *FaceConnections);
- /*
- * V10 tecio functions kept for backward compatability.
- */
- EXTERNC tecio_API INTEGER4 STDCALL TECINI100(
- char const *Title,
- char const *Variables,
- char const *FName,
- char const *ScratchDir,
- INTEGER4 const *Debug,
- INTEGER4 const *VIsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNE100(
- char const *ZoneTitle,
- INTEGER4 const *ZoneType,
- INTEGER4 const *IMxOrNumPts,
- INTEGER4 const *JMxOrNumElements,
- INTEGER4 const *KMxOrNumFaces,
- INTEGER4 const *ICellMx,
- INTEGER4 const *JCellMx,
- INTEGER4 const *KCellMx,
- INTEGER4 const *IsBlock,
- INTEGER4 const *NumFaceConnections,
- INTEGER4 const *FaceNeighborMode,
- INTEGER4 const *ValueLocation,
- INTEGER4 const *ShareVarFromZone,
- INTEGER4 const *ShareConnectivityFromZone);
- EXTERNC tecio_API INTEGER4 STDCALL TECDAT100(
- INTEGER4 const *N,
- void const *FieldData,
- INTEGER4 const *IsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECNOD100(INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECEND100(void);
- EXTERNC tecio_API INTEGER4 STDCALL TECLAB100(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECUSR100(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECGEO100(
- double const *XPos,
- double const *YPos,
- double const *ZPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *Color,
- INTEGER4 const *FillColor,
- INTEGER4 const *IsFilled,
- INTEGER4 const *GeomType,
- INTEGER4 const *LinePattern,
- double const *PatternLength,
- double const *LineThickness,
- INTEGER4 const *NumEllipsePts,
- INTEGER4 const *ArrowheadStyle,
- INTEGER4 const *ArrowheadAttachment,
- double const *ArrowheadSize,
- double const *ArrowheadAngle,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- INTEGER4 const *NumSegments,
- INTEGER4 const *NumSegPts,
- float const *XGeomData,
- float const *YGeomData,
- float const *ZGeomData,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECTXT100(
- double const *XOrThetaPos,
- double const *YOrRPos,
- double const *ZOrUnusedPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *BFont,
- INTEGER4 const *FontHeightUnits,
- double const *FontHeight,
- INTEGER4 const *BoxType,
- double const *BoxMargin,
- double const *BoxLineThickness,
- INTEGER4 const *BoxColor,
- INTEGER4 const *BoxFillColor,
- double const *Angle,
- INTEGER4 const *Anchor,
- double const *LineSpacing,
- INTEGER4 const *TextColor,
- INTEGER4 const *Scope,
- INTEGER4 const *Clipping,
- char const *String,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECFIL100(INTEGER4 const *F);
- EXTERNC tecio_API void STDCALL TECFOREIGN100(INTEGER4 const *OutputForeignByteOrder);
- EXTERNC tecio_API INTEGER4 STDCALL TECAUXSTR100(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECZAUXSTR100(
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECVAUXSTR100(
- INTEGER4 const *Var,
- char const *Name,
- char const *Value);
- EXTERNC tecio_API INTEGER4 STDCALL TECFACE100(INTEGER4 const *FaceConnections);
- /* Old V9 functions retained for backward compatibility */
- EXTERNC tecio_API INTEGER4 STDCALL TECINI(
- char const *Title,
- char const *Variables,
- char const *FName,
- char const *ScratchDir,
- INTEGER4 const *Debug,
- INTEGER4 const *VIsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECZNE(
- char const *ZoneTitle,
- INTEGER4 const *IMx,
- INTEGER4 const *JMx,
- INTEGER4 const *KMx,
- char const *ZFormat,
- char const *DupList);
- EXTERNC tecio_API INTEGER4 STDCALL TECDAT(
- INTEGER4 const *N,
- void const *FieldData,
- INTEGER4 const *IsDouble);
- EXTERNC tecio_API INTEGER4 STDCALL TECNOD(INTEGER4 const *NData);
- EXTERNC tecio_API INTEGER4 STDCALL TECEND(void);
- EXTERNC tecio_API INTEGER4 STDCALL TECLAB(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECUSR(char const *S);
- EXTERNC tecio_API INTEGER4 STDCALL TECGEO(
- double const *XPos,
- double const *YPos,
- double const *ZPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *Color,
- INTEGER4 const *FillColor,
- INTEGER4 const *IsFilled,
- INTEGER4 const *GeomType,
- INTEGER4 const *LinePattern,
- double const *PatternLength,
- double const *LineThickness,
- INTEGER4 const *NumEllipsePts,
- INTEGER4 const *ArrowheadStyle,
- INTEGER4 const *ArrowheadAttachment,
- double const *ArrowheadSize,
- double const *ArrowheadAngle,
- INTEGER4 const *Scope,
- INTEGER4 const *NumSegments,
- INTEGER4 const *NumSegPts,
- float const *XGeomData,
- float const *YGeomData,
- float const *ZGeomData,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECTXT(
- double const *XPos,
- double const *YPos,
- INTEGER4 const *PosCoordMode,
- INTEGER4 const *AttachToZone,
- INTEGER4 const *Zone,
- INTEGER4 const *BFont,
- INTEGER4 const *FontHeightUnits,
- double const *FontHeight,
- INTEGER4 const *BoxType,
- double const *BoxMargin,
- double const *BoxLineThickness,
- INTEGER4 const *BoxColor,
- INTEGER4 const *BoxFillColor,
- double const *Angle,
- INTEGER4 const *Anchor,
- double const *LineSpacing,
- INTEGER4 const *TextColor,
- INTEGER4 const *Scope,
- char const *Text,
- char const *mfc);
- EXTERNC tecio_API INTEGER4 STDCALL TECFIL(INTEGER4 const *F);
|