cg_iRIC_Write_Sol_ParticleGroup_Pos2d_WithGridId

Writes the positions of particles.

Format (FORTRAN)

call cg_iRIC_Write_Sol_ParticleGroup_Pos2d_WithGridId(fid, gid, x, y, ier)

Format (C/C++)

ier = cg_iRIC_Write_Sol_ParticleGroup_Pos2d_WithGridId(fid, gid, x, y)

Format (Python)

cg_iRIC_Write_Sol_ParticleGroup_Pos2d_WithGridId(fid, gid, x, y)

Arguments and returned value

fid

Table 1648 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 1649 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

x

Table 1650 Description of x

Item

Value

Name

x

Input/Output

Input

Description

X coordinate value

Data type (FORTRAN)

double precision

Data type (C/C++)

double

Data type (Python)

float

y

Table 1651 Description of y

Item

Value

Name

y

Input/Output

Input

Description

Y coordinate value

Data type (FORTRAN)

double precision

Data type (C/C++)

double

Data type (Python)

float

ier

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