整数 (選択式)¶
定義方法¶
1<Item name="flowtype" caption="Flow type">
2 <Definition valueType="integer" default="0">
3 <Enumeration value="0" caption="Static Flow"/>
4 <Enumeration value="1" caption="Dynamic Flow"/>
5 </Definition>
6</Item>
条件の表示例¶
読み込み処理の記述方法¶
計算条件・格子生成条件¶
FORTRAN¶
1integer:: ier, flowtype
2
3call cg_iRIC_Read_Integer(fid, "flowtype", flowtype, ier)
C/C++¶
1int ier, flowtype;
2
3ier = cg_iRIC_Read_Integer(fid, "flowtype", &flowtype)
Python¶
1flowtype = cg_iRIC_Read_Integer(fid, "flowtype")
境界条件¶
FORTRAN¶
1integer:: ier, flowtype
2
3call cg_iRIC_Read_BC_Integer(fid, "inflow", 1, "flowtype", flowtype, ier)
C/C++¶
1int ier, flowtype;
2
3ier = cg_iRIC_Read_BC_Integer(fid, "inflow", 1, "flowtype", &flowtype)
Python¶
1flowtype = cg_iRIC_Read_BC_Integer(fid, "inflow", 1, "flowtype")