1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
| // tecio interface
%module tecio
%{
#include "TECXXX.h"
%}
#if !defined TECXXX_H_
#define TECXXX_H_
#if !defined CRAY
# define TECFOREIGN112 tecforeign112
# define TECINI112 tecini112
# define TECZNE112 teczne112
# define TECDAT112 tecdat112
# define TECNOD112 tecnod112
# define TECGEO112 tecgeo112
# define TECTXT112 tectxt112
# define TECLAB112 teclab112
# define TECFIL112 tecfil112
# define TECEND112 tecend112
# define TECUSR112 tecusr112
# define TECAUXSTR112 tecauxstr112
# define TECZAUXSTR112 teczauxstr112
# define TECVAUXSTR112 tecvauxstr112
# define TECFACE112 tecface112
# define TECPOLY112 tecpoly112
#if defined TECPLOTKERNEL
/* CORE SOURCE CODE REMOVED */
#else
#define INTEGER2 short
#endif
#if defined _WIN32
#if !defined MSWIN
#define MSWIN /* MSWIN */
#endif
#endif /* _WIN32 */
#if !defined (EXTERNC)
# if defined (__cplusplus)
# define EXTERNC extern "C"
# else
# define EXTERNC
# endif /* __cplusplus */
#endif /* EXTERN_C */
#if !defined (STDCALL)
# if defined MSWIN
# define STDCALL __stdcall
# else /* !MSWIN */
# define STDCALL
# endif /* MSWIN */
#endif /* STDCALL */
#if !defined (DLLEXPORT)
# if defined (MSWIN)
# define DLLEXPORT _declspec (dllexport)
# else
# define DLLEXPORT
# endif /* MSWIN */
#endif /* DLLEXPORT */
#if !defined (DLLIMPORT)
# if defined (MSWIN)
# define DLLIMPORT _declspec (dllimport)
# else
# define DLLIMPORT
# endif /* MSWIN */
#endif /* DLLIMPORT */
#if defined (TECPLOTKERNEL)
/* CORE SOURCE CODE REMOVED */
#else /* !TECPLOTKERNAL && !MAKEARCHIVE */
# define LIBCALL STDCALL
# define LIBFUNCTION EXTERNC DLLIMPORT
#endif
/*
* V11.3 tecio functions
*/
LIBFUNCTION int LIBCALL TECINI112(char *Title,
char *Variables,
char *FName,
char *ScratchDir,
int *FileType,
int *Debug,
int *VIsDouble);
LIBFUNCTION int LIBCALL TECZNE112(char *ZoneTitle,
int *ZoneType,
int *IMxOrNumPts,
int *JMxOrNumElements,
int *KMxOrNumFaces,
int *ICellMx,
int *JCellMx,
int *KCellMx,
double *SolutionTime,
int *StrandID,
int *ParentZone,
int *IsBlock,
int *NumFaceConnections,
int *FaceNeighborMode,
int *TotalNumFaceNodes,
int *NumConnectedBoundaryFaces,
int *TotalNumBoundaryConnections,
int *PassiveVarList,
int *ValueLocation,
int *ShareVarFromZone,
int *ShareConnectivityFromZone);
LIBFUNCTION int LIBCALL TECDAT112(int *N,
void *FieldData,
int *IsDouble);
LIBFUNCTION int LIBCALL TECNOD112(int *NData);
LIBFUNCTION int LIBCALL TECEND112(void);
LIBFUNCTION int LIBCALL TECLAB112(char *S);
LIBFUNCTION int LIBCALL TECUSR112(char *S);
LIBFUNCTION int LIBCALL TECGEO112(double *XPos,
double *YPos,
double *ZPos,
int *PosCoordMode,
int *AttachToZone,
int *Zone,
int *Color,
int *FillColor,
int *IsFilled,
int *GeomType,
int *LinePattern,
double *PatternLength,
double *LineThickness,
int *NumEllipsePts,
int *ArrowheadStyle,
int *ArrowheadAttachment,
double *ArrowheadSize,
double *ArrowheadAngle,
int *Scope,
int *Clipping,
int *NumSegments,
int *NumSegPts,
float *XGeomData,
float *YGeomData,
float *ZGeomData,
char *mfc);
LIBFUNCTION int LIBCALL TECTXT112(double *XOrThetaPos,
double *YOrRPos,
double *ZOrUnusedPos,
int *PosCoordMode,
int *AttachToZone,
int *Zone,
int *BFont,
int *FontHeightUnits,
double *FontHeight,
int *BoxType,
double *BoxMargin,
double *BoxLineThickness,
int *BoxColor,
int *BoxFillColor,
double *Angle,
int *Anchor,
double *LineSpacing,
int *TextColor,
int *Scope,
int *Clipping,
char *String,
char *mfc);
LIBFUNCTION int LIBCALL TECFIL112(int *F);
LIBFUNCTION int LIBCALL TECAUXSTR112(char *Name,
char *Value);
LIBFUNCTION int LIBCALL TECZAUXSTR112(char *Name,
char *Value);
LIBFUNCTION int LIBCALL TECVAUXSTR112(int *Var,
char *Name,
char *Value);
LIBFUNCTION int LIBCALL TECFACE112(int *FaceConnections);
LIBFUNCTION int LIBCALL TECPOLY112(int *FaceNodeCounts,
int *FaceNodes,
int *FaceLeftElems,
int *FaceRightElems,
int *FaceBndryConnectionCounts,
int *FaceBndryConnectionElems,
int *FaceBndryConnectionZones);
#endif /* TECXXX_H_ */ |
Partager