cg_iRIC_Read_Sol_ParticleGroupImage_Count_WithGridId

Reads the number of particles.

Format (FORTRAN)

call cg_iRIC_Read_Sol_ParticleGroupImage_Count_WithGridId(fid, gid, step, groupname, count, ier)

Format (C/C++)

ier = cg_iRIC_Read_Sol_ParticleGroupImage_Count_WithGridId(fid, gid, step, groupname, count)

Format (Python)

count = cg_iRIC_Read_Sol_ParticleGroupImage_Count_WithGridId(fid, gid, step, groupname)

Arguments and returned value

fid

Table 909 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 910 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 911 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 912 Description of groupname

Item

Value

Name

groupname

Input/Output

Input

Description

The name of the particle group

Data type (FORTRAN)

character(*)

Data type (C/C++)

const char*

Data type (Python)

str

count

Table 913 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 914 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)