cg_iRIC_Read_Grid2d_CellNodeCount¶
Reads the number of nodes in the specified cell.
The value of g_handle that should be passed to this function, can be obtained by calling cg_iRIC_Read_Grid2d_Open or cg_iRIC_Read_Sol_Grid2d_Open.
Format (FORTRAN)¶
call cg_iRIC_Read_Grid2d_CellNodeCount(grid_handle, cellId, count, ier)
Format (C/C++)¶
ier = cg_iRIC_Read_Grid2d_CellNodeCount(grid_handle, cellId, count)
Format (Python)¶
count = cg_iRIC_Read_Grid2d_CellNodeCount(grid_handle, cellId)
Arguments and returned value¶
grid_handle¶
Item |
Value |
---|---|
Name |
grid_handle |
Input/Output |
Input |
Description |
The handle of the grid |
Data type (FORTRAN) |
integer |
Data type (C/C++) |
int |
Data type (Python) |
int |
cellId¶
Item |
Value |
---|---|
Name |
cellId |
Input/Output |
Input |
Description |
Cell ID (Start from 1) |
Data type (FORTRAN) |
integer |
Data type (C/C++) |
int |
Data type (Python) |
int |
count¶
Item |
Value |
---|---|
Name |
count |
Input/Output |
Output |
Description |
The number of nodes constituting a cell |
Data type (FORTRAN) |
integer |
Data type (C/C++) |
int* |
Data type (Python) |
int |
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) |