文字列¶
定義方法¶
1<Item name="sampleitem" caption="Sample Item">
2 <Definition valueType="string" />
3</Item>
条件の表示例¶
読み込み処理の記述方法¶
計算条件・格子生成条件¶
FORTRAN¶
1integer:: ier
2character(200):: sampleitem
3
4call cg_iRIC_Read_String(fid, "sampleitem", sampleitem, ier)
C/C++¶
1int ier;
2char sampleitem[200];
3
4ier = cg_iRIC_Read_String(fid, "sampleitem", sampleitem)
Python¶
1sampleitem = cg_iRIC_Read_String(fid, "sampleitem")
境界条件¶
FORTRAN¶
1integer:: ier
2character(200):: sampleitem
3
4call cg_iRIC_Read_BC_String(fid, "inflow", 1, "sampleitem", sampleitem, ier)
C/C++¶
1int ier;
2char sampleitem[200];
3
4ier = cg_iRIC_Read_BC_String(fid, "inflow", 1, "sampleitem", sampleitem)
Python¶
1sampleitem = cg_iRIC_Read_BC_String(fid, "inflow", 1, "sampleitem")