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 Next »

int GiD_fBeginResultHeader(GiD_FILE fd, const char * Result,
const char * Analysis,
double step,
GiD_ResultType Type, GiD_ResultLocation Where,
const char * GaussPointsName);
Description:
Begin Result Block. This function open a result block. Only the result, analysis, location and location name are provided in the function call.
The other result attributes as range table or components names are provided in a separated function calls. See GiD_fResultComponents, GiD_fResultRange and GiD_fResultUnit.
Before set the results GiD_fResultValues must be called
Parameters:
GiD_FILE fd the file descriptor
char* Result
a name for the Result, which will be used for menus.
char* Analysis
the name of the analysis of this Result, which will be used for menus.
double step
the value of the time step inside the analysis "analysis name".
(for multiple steps results)
GiD_ResultType Type
The type of defined result:
GiD_Scalar = 0,
GiD_Vector,
GiD_Matrix,
GiD_PlainDeformationMatrix,
GiD_MainMatrix,
GiD_LocalAxes,
GiD_ComplexScalar,
GiD_ComplexVector,
GiD_ComplexMatrix
GiD_ResultLocation Where
The location of the results
GiD_OnNodes=0
GiD_OnGaussPoints=1
char* GaussPointsName
If Where is GiD_OnGaussPoints a "location name" (predefined in GiD_BeginGaussPoint) should be entered.
Example:
C++:
GiD_fBeginResultHeader(fd,"Result","Static",1.0d0,GiD_Scalar,GiD_OnNodes,NULL);
GiD_fResultUnit(fd,'m/s');
GiD_fResultValues(fd)
for(int i=1;i<10;i++){
GiD_fWriteScalar(fd,i,value[i])
}
GiD_fEndResult(fd)

  • No labels