cg_iRIC_Read_Sol_Particle_Count

Reads the number of particles.

Format (FORTRAN)

call cg_iRIC_Read_Sol_Particle_Count(fid, step, count, ier)

Format (C/C++)

ier = cg_iRIC_Read_Sol_Particle_Count(fid, step, count)

Format (Python)

count = cg_iRIC_Read_Sol_Particle_Count(fid, step)

Arguments and returned value

fid

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

step

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

count

Table 999 Description of count

Item

Value

Name

count

Input/Output

Output

Description

The number of particles

Data type (FORTRAN)

integer

Data type (C/C++)

int*

Data type (Python)

int

ier

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