GiD - The personal pre and post processor

GiD_fBeginResultGroup

int GiD_fBeginResultGroup(GiD_FILE fd, const char * Analysis, double step,GiD_ResultLocation Where,const char * GaussPointsName);


Description: Begin a result group. All grouped in the same analysis and step. See GiD online help on this topic.


Parameters:
See GiD_fBeginResult.


Example:
C/C++

GiD_fBeginResultGroup(fd,"Analysis", 1.0d0, GiD_OnNodes, NULL);
GiD_fResultDescription(fd,"ScalarNodes", GiD_Scalar);
GiD_fResultDescription(fd,"VectorNodes", GiD_Vector);
GiD_fResultDescription(fd,"Matrix", GiD_Matrix);
GiD_fResultDescription(fd,"Local Axes", GiD_LocalAxes);
GiD_fResultDescription(fd,"A complex Scalar", GiD_ComplexScalar);
GiD_fResultDescription(fd,"A complex Vector", GiD_ComplexVector);
GiD_fResultDescription(fd,"A complex Matrix", GiD_ComplexMatrix);
for (int i = 0; i < 9; i++ ) {
  GiD_fWriteScalar(fd,nodes[i].id, Random());
  GiD_fWriteVector(fd,nodes[i].id, Random(), Random(), Random());
  GiD_fWrite3DMatrix(fd,nodes[i].id, Random(), Random(), Random(), Random(), Random(), Random());
  GiD_fWriteComplexScalar(fd,nodes[i].id, Random(), Random());
  GiD_fWriteComplexVector(fd,nodes[i].id, Random(), Random(), Random(), Random(), Random(), Random());
  GiD_fWrite3DMatrix(fd,nodes[i].id, Random(), Random(), Random(), Random(), Random(), Random(),
          Random(), Random(), Random(), Random(), Random(), Random());
}
GiD_EndResult(fd);


FORTRAN

CALL GID_FBEGINRESULTGROUP(fd,"Analysis", 1.0d0, 0, NULL)
CALL GID_FRESULTDESCRIPTION(fd,"ScalarNodes", 0)
CALL GID_FRESULTDESCRIPTION(fd,"VectorNodes",1)
CALL GID_FRESULTDESCRIPTION(fd,"Matrix",2)
CALL GID_FRESULTDESCRIPTION(fd,"Local Axes",5)
do idx=1,9
value = idx*1.5;
CALL GID_FWRITESCALAR(fd,nodes[i].id, value)
CALL GID_FWRITEVECTOR(fd,nodes[i].id, value, value*2, value*3)
CALL GID_FWRITE3DMATRIX(fd,i+1,value,value*2,value*3,value*4,value*7,value*1.1)
CALL GID_FWRITELOCALAXES(fd,i+1,value,value*3,value*5)
end do
GID_ENDRESULT(fd);

COPYRIGHT © 2022 · GID · CIMNE