Skip to content

Latest commit

 

History

History
251 lines (198 loc) · 3.99 KB

cg_iRIC_Write_NamedGrid3d_Coords_WithGridId.rst

File metadata and controls

251 lines (198 loc) · 3.99 KB

cg_iRIC_Write_NamedGrid3d_Coords_WithGridId

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

形式 (FORTRAN)

call cg_iRIC_Write_NamedGrid3d_Coords_WithGridId(fid, name, isize, jsize, ksize, x_arr, y_arr, z_arr, gid, ier)

形式 (C/C++)

ier = cg_iRIC_Write_NamedGrid3d_Coords_WithGridId(fid, name, isize, jsize, ksize, x_arr, y_arr, z_arr, gid)

形式 (Python)

cg_iRIC_Write_NamedGrid3d_Coords_WithGridId(fid, name, isize, jsize, ksize, x_arr, y_arr, z_arr, gid)

引数と戻り値

fid

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

name

name の説明
項目
名前 name
入力/出力 入力
説明 格子の名前
データ型 (FORTRAN) character(*)
データ型 (C/C++) const char*
データ型 (Python) str

isize

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

jsize

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

ksize

ksize の説明
項目
名前 ksize
入力/出力 入力
説明 K方向の格子点数
データ型 (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

z_arr

z_arr の説明
項目
名前 z_arr
入力/出力 出力
説明 Z座標の配列
データ型 (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) (定義なし)