cg_iRIC_Write_Sol_ParticleGroup_Pos3d_WithGridId

Writes the positions of particles.

Format (FORTRAN)

call cg_iRIC_Write_Sol_ParticleGroup_Pos3d_WithGridId(fid, gid, x, y, z, ier)

Format (C/C++)

ier = cg_iRIC_Write_Sol_ParticleGroup_Pos3d_WithGridId(fid, gid, x, y, z)

Format (Python)

cg_iRIC_Write_Sol_ParticleGroup_Pos3d_WithGridId(fid, gid, x, y, z)

Arguments and returned value

fid

Table 1658 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 1659 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 1660 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 1661 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

z

Table 1662 Description of z

Item

Value

Name

z

Input/Output

Input

Description

Z coordinate value

Data type (FORTRAN)

double precision

Data type (C/C++)

double

Data type (Python)

float

ier

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