cg_iRIC_Read_Sol_PolyData_Type_WithGridId

Reads the types of calculation results defined at polygons or poly lines.

Format (FORTRAN)

call cg_iRIC_Read_Sol_PolyData_Type_WithGridId(fid, gid, step, groupname, v_arr, ier)

Format (C/C++)

ier = cg_iRIC_Read_Sol_PolyData_Type_WithGridId(fid, gid, step, groupname, v_arr)

Format (Python)

v_arr = cg_iRIC_Read_Sol_PolyData_Type_WithGridId(fid, gid, step, groupname)

Arguments and returned value

fid

Table 1118 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 1119 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

step

Table 1120 Description of step

Item

Value

Name

step

Input/Output

Input

Description

The result step number

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

groupname

Table 1121 Description of groupname

Item

Value

Name

groupname

Input/Output

Input

Description

The name of the polygon (or polyline) group

Data type (FORTRAN)

character(*)

Data type (C/C++)

const char*

Data type (Python)

str

v_arr

Table 1122 Description of v_arr

Item

Value

Name

v_arr

Input/Output

Output

Description

The array of data types (1: polygon, 2: poly line)

Data type (FORTRAN)

integer, dimension(:)

Data type (C/C++)

int*

Data type (Python)

numpy.array

ier

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