GiD - The personal pre and post processor
GiD_fWriteCoordinates
int GiD_fWriteCoordinates(GiD_FILE fd, int id, double x, double y, double z);
int GiD_fWriteCoordinates2D(GiD_FILE fd, int id, double x, double y);
Description: Write a coordinate member at the current Coordinates Block.
If the mesh dimension is 2D then you can use GiD_fWriteCoordinates2D
Parameters:
GiD_FILE fd the file descriptor
int id
Node number identifier (starting from 1, is recommended to avoid jumps in the
numeration)
double x,double y,double z
Cartesian coordinates
Example:
C/C++
int id=1; double x=3.5,y=1.5e-2,z=0; GiD_fWriteCoordinates(fd,id,x,y,z);
FORTRAN
REAL*8 rx, ry INTEGER*4 idx idx=1 rx=3.5 ry=-4.67 CALL GID_FWRITECOORDINATES(fd,idx,rx,ry,0.0)
COPYRIGHT © 2022 · GID · CIMNE