cg_iRIC_Read_Grid_KFaceCount_WithGridId

Reads the number of K-direction cell boudary faces (edges).

Format (FORTRAN)

call cg_iRIC_Read_Grid_KFaceCount_WithGridId(fid, gid, count, ier)

Format (C/C++)

ier = cg_iRIC_Read_Grid_KFaceCount_WithGridId(fid, gid, count)

Format (Python)

count = cg_iRIC_Read_Grid_KFaceCount_WithGridId(fid, gid)

Arguments and returned value

fid

Table 661 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

gid

Table 662 Description of gid

Item

Value

Name

gid

Input/Output

Input

Description

Grid ID (Start from 1)

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

count

Table 663 Description of count

Item

Value

Name

count

Input/Output

Output

Description

The number of K-direction cell boudary faces (edges)

Data type (FORTRAN)

integer

Data type (C/C++)

int*

Data type (Python)

int

ier

Table 664 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)