cg_iRIC_Read_Grid_TriangleElementsSize

Reads the size of array needed to load the IDs of nodes for each triangles in an unstructured grid.

Format (FORTRAN)

call cg_iRIC_Read_Grid_TriangleElementsSize(fid, tsize, ier)

Format (C/C++)

ier = cg_iRIC_Read_Grid_TriangleElementsSize(fid, tsize)

Format (Python)

tsize = cg_iRIC_Read_Grid_TriangleElementsSize(fid)

Arguments and returned value

fid

Table 717 Description of fid

Item

Value

Name

fid

Input/Output

Input

Description

File ID

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

tsize

Table 718 Description of tsize

Item

Value

Name

tsize

Input/Output

Output

Description

The number of triangles

Data type (FORTRAN)

integer

Data type (C/C++)

int*

Data type (Python)

int

ier

Table 719 Description of ier

Item

Value

Name

ier

Input/Output

Output

Description

Error code. 0 means success, other values mean error.

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

(Not defined)