Skip to content

Latest commit

 

History

History
185 lines (144 loc) · 2.93 KB

cg_iRIC_Write_Grid2d_Coords_WithGridId.rst

File metadata and controls

185 lines (144 loc) · 2.93 KB

cg_iRIC_Write_Grid2d_Coords_WithGridId

2次元構造格子を出力する。

形式 (FORTRAN)

call cg_iRIC_Write_Grid2d_Coords_WithGridId(fid, isize, jsize, x_arr, y_arr, gid, ier)

形式 (C/C++)

ier = cg_iRIC_Write_Grid2d_Coords_WithGridId(fid, isize, jsize, x_arr, y_arr, gid)

形式 (Python)

cg_iRIC_Write_Grid2d_Coords_WithGridId(fid, isize, jsize, x_arr, y_arr, gid)

引数と戻り値

fid

fid の説明
項目
名前 fid
入力/出力 入力
説明 ファイルID
データ型 (FORTRAN) integer
データ型 (C/C++) int
データ型 (Python) int

isize

isize の説明
項目
名前 isize
入力/出力 入力
説明 I方向の格子点数
データ型 (FORTRAN) integer
データ型 (C/C++) int
データ型 (Python) int

jsize

jsize の説明
項目
名前 jsize
入力/出力 入力
説明 J方向の格子点数
データ型 (FORTRAN) integer
データ型 (C/C++) int
データ型 (Python) int

x_arr

x_arr の説明
項目
名前 x_arr
入力/出力 出力
説明 X座標の配列
データ型 (FORTRAN) double precision, dimension(:)
データ型 (C/C++) double*
データ型 (Python) numpy.array

y_arr

y_arr の説明
項目
名前 y_arr
入力/出力 出力
説明 Y座標の配列
データ型 (FORTRAN) double precision, dimension(:)
データ型 (C/C++) double*
データ型 (Python) numpy.array

gid

gid の説明
項目
名前 gid
入力/出力 出力
説明 格子ID (1から開始)
データ型 (FORTRAN) integer
データ型 (C/C++) int*
データ型 (Python) int

ier

ier の説明
項目
名前 ier
入力/出力 出力
説明 エラーコード。0なら成功、エラーが起きるとそれ以外。
データ型 (FORTRAN) integer
データ型 (C/C++) int
データ型 (Python) (定義なし)