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

Version 1 Current »

int GiD_fResultComponents(GiD_FILE fd, int compc, const char * compv[]);
Description: Define the components names associated to the current
result, either a single result block or the current result defined in a result
group. In FORTRAN you should call a diferent function of each result type:
GiD_fScalarComp(GiD_FILE fd, STRING Comp1) --> for scalar result
GiD_fVectorComp(GiD_FILE fd, STRING Comp1, STRING Comp2, STRING Comp3, STRING Comp4) --> for vector result type
GiD_f2DMatrixComp(GiD_FILE fd, STRING Sxx, STRING Syy, STRING Sxy) --> for matrix result type
GiD_f3DMatrixComp(GiD_FILE fd, STRING Sxx, STRING Syy, STRING Szz, STRING Sxy, STRING Syz, STRING Sxz) --> for matrix result type
GiD_fPDMComp(GiD_FILE fd, STRING Sxx, STRING Syy, STRING Sxy, STRING Szz); --> for plain deformation matrix result type
GiD_fMainMatrixComp(GiD_FILE fd, STRING Si, STRING Sii, STRING Siii, STRING Vix, STRING Viy, STRING Viz,
STRING Viix, STRING Viiy, STRING Viiz, STRING Viiix, STRING Viiiy, STRING Viiiz) --> for main matrix result type
GiD_fLAComponents(GiD_FILE fd, STRING axes_1, STRING axes_2, STRING axes_3) --> for local axis result type
GiD_fComplexScalarComp(GiD_FILE fd, STRING Re,STRING Im)
GiD_fComplexVectorComp(GiD_FILE fd, STRING Rex,STRING Imx,STRING Rey,STRING Imy,STRING Rez,STRING Imz)
Parameters:
GiD_FILE fd the file descriptor
int compc --> number of components names to write.
char * compv[] --> array of names.
Example:
C/C++
char cnames[] = {"X", "Y", "Z", "Mod"};
Gid_fResultComponents(fd,3, cnames);
FORTRAN
CHARACTER*10 XN, YN, ZN, MN
XN = 'X'
YN = 'Y'
ZN = 'Z'
MN = 'Mod'
CALL GiD_fVectorComp(fd,XN, YN, ZN, MN)

  • No labels