GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

int GiD_fWriteScalar(GiD_FILE fd, int id, double v);
int GiD_fWrite2DVector(GiD_FILE fd, int id, double x, double y);
int GiD_fWriteVector(GiD_FILE fd, int id, double x, double y, double z);
int GiD_fWriteVectorModule(GiD_FILE fd, int id, double x, double y, double z, double mod);
int GiD_fWrite2DMatrix(GiD_FILE fd, int id, double Sxx, double Syy, double Sxy);
int GiD_fWrite3DMatrix(GiD_FILE fd, int id, double Sxx, double Syy, double Szz, double Sxy, double Syz, double Sxz);
int GiD_fWritePlainDefMatrix(GiD_FILE fd, int id, double Sxx, double Syy, double Sxy, double Szz);
int GiD_fWriteMainMatrix(GiD_FILE fd, int id,double Si, double Sii, double Siii,double Vix, double Viy, double Viz,double Viix, double Viiy, double Viiz,double Viiix, double Viiiy, double Viiiz);
int GiD_fWriteLocalAxes(GiD_FILE fd, int id, double euler_1, double euler_2, double euler_3);
int GiD_WriteComplexScalar( int id, double complex_real, double complex_imag);
int GiD_fWriteComplexScalar( GiD_FILE fd, int id, double complex_real, double complex_imag);
int GiD_fWrite2DComplexVector( GiD_FILE fd, int id,double x_real, double x_imag,double y_real, double y_imag);
int GiD_fWriteComplexVector( GiD_FILE fd, int id,double x_real, double x_imag,double y_real, double y_imag,double z_real, double z_imag);
int GiD_fWrite2DComplexMatrix(GiD_FILE fd, int id,double Sxx_real, double Syy_real, double Sxy_real,double Sxx_imag, double Syy_imag, double Sxy_imag);
int GiD_fWrite3DComplexMatrix(GiD_FILE fd, int id,double Sxx_real, double Syy_real, double Szz_real,double Sxy_real, double Syz_real, double Sxz_real,double Sxx_imag, double Syy_imag, double Szz_imag,double Sxy_imag, double Syz_imag, double Sxz_imag);
int GiD_fWriteNurbsSurface(GiD_FILE fd, int id, int n, double * v);
int GiD_fWriteNurbsSurfaceVector(GiD_FILE fd, int id, int n, int num_comp, double * v);


Description:
Write result functions. Must be between GiD_fBeginResult and GiD_fEndResult


Parameters:
GiD_FILE fd the file descriptor
For GiD_fWriteNurbsSurface and GiD_fWriteNurbsSurfaceVector:
n: the number of control points
num_comp: number of vector components
v: the results in order like:
R1 = u1, v1
R2 = u1, v2
R3 = u1, v3
...
Rn = u1, vn
Rn+1 = u2,v1
Rn+2= u2,v2
Rn+3=u2,v3
R2n=u2,vn
....
Rk=um,vn
where u and v are nurbs directions.
In case that one result is not defined use GP_UNKNOWN.


Example:
C/C++

GiD_fWriteScalar(fd,3,4.6);

FORTRAN

INTEGER*4 idx
REAL*8 value
idx=3
value=4.6
CALL GID_FWRITESCALAR(fd,idx,value)
  • No labels