cg_iRIC_Write_Sol_ParticleGroupImage_Pos2d_WithGridId

Writes the positions of particles.

Format (FORTRAN)

call cg_iRIC_Write_Sol_ParticleGroupImage_Pos2d_WithGridId(fid, gid, x, y, size, angle, ier)

Format (C/C++)

ier = cg_iRIC_Write_Sol_ParticleGroupImage_Pos2d_WithGridId(fid, gid, x, y, size, angle)

Format (Python)

cg_iRIC_Write_Sol_ParticleGroupImage_Pos2d_WithGridId(fid, gid, x, y, size, angle)

Arguments and returned value

fid

Table 1616 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 1617 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 1618 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 1619 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

size

Table 1620 Description of size

Item

Value

Name

size

Input/Output

Input

Description

The value of size

Data type (FORTRAN)

double precision

Data type (C/C++)

double

Data type (Python)

float

angle

Table 1621 Description of angle

Item

Value

Name

angle

Input/Output

Input

Description

The value of angle

Data type (FORTRAN)

double precision

Data type (C/C++)

double

Data type (Python)

float

ier

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