int GiD_fMeshUnit(GiD_FILE fd, const char* UnitName);
Description: Define the unit string associated to the mesh coordinates
Parameters:
GiD_FILE fd the file descriptor
char* UnitName ,the string of the unit (length magnitude)
Example:
C/C++
Code Block |
---|
GiD_fBeginMesh(fd,"TestMsh",GiD_2D,GiD_Triangle,3); |
...
GiD_fMeshUnit(fd,"m"); |
FORTRAN
Code Block |
---|
CHARACTER*10 UNITNAME |
...
UNITNAME = 'm' |
...
GID_FMESHUNIT(fd,UNITNAME) |