Skip to content

Latest commit

 

History

History
141 lines (108 loc) · 2.26 KB

cg_iRIC_Read_Grid2d_Coords_WithGridId.rst

File metadata and controls

141 lines (108 loc) · 2.26 KB

cg_iRIC_Read_Grid2d_Coords_WithGridId

格子の格子点の座標を読み込む。

形式 (FORTRAN)

call cg_iRIC_Read_Grid2d_Coords_WithGridId(fid, gid, x_arr, y_arr, ier)

形式 (C/C++)

ier = cg_iRIC_Read_Grid2d_Coords_WithGridId(fid, gid, x_arr, y_arr)

形式 (Python)

x_arr, y_arr = cg_iRIC_Read_Grid2d_Coords_WithGridId(fid, gid)

引数と戻り値

fid

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

gid

gid の説明
項目
名前 gid
入力/出力 入力
説明 格子ID (1から開始)
データ型 (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

ier

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