cg_iRIC_Open

Opens a CGNS file.

Format (FORTRAN)

call cg_iRIC_Open(filename, mode, fid, ier)

Format (C/C++)

ier = cg_iRIC_Open(filename, mode, fid)

Format (Python)

fid = cg_iRIC_Open(filename, mode)

Arguments and returned value

filename

Table 98 Description of filename

Item

Value

Name

filename

Input/Output

Input

Description

File name

Data type (FORTRAN)

character(*)

Data type (C/C++)

const char*

Data type (Python)

str

mode

Table 99 Description of mode

Item

Value

Name

mode

Input/Output

Input

Description

Mode (IRIC_MODE_READ, IRIC_MODE_WRITE or IRIC_MODE_MODIFY)

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

fid

Table 100 Description of fid

Item

Value

Name

fid

Input/Output

Output

Description

File ID

Data type (FORTRAN)

integer

Data type (C/C++)

int*

Data type (Python)

int

ier

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