整数 (選択式)

リスト 41 整数 (選択式) の条件の定義例
1
2
3
4
5
6
<Item name="flowtype" caption="Flow type">
  <Definition valueType="integer" default="0">
    <Enumeration value="0" caption="Static Flow"/>
    <Enumeration value="1" caption="Dynamic Flow"/>
  </Definition>
</Item>
../_images/widget_example_combobox.png

図 54 整数 (選択式) の条件の表示例

リスト 42 整数 (選択式) の条件を読み込むための処理の記述例 (計算条件・格子生成条件)
1
2
3
integer:: ier, flowtype

call cg_iric_read_integer_f("flowtype", flowtype, ier)
リスト 43 整数 (選択式) の条件を読み込むための処理の記述例 (境界条件)
1
2
3
integer:: ier, flowtype

call cg_iric_read_bc_integer_f("inflow", 1, "flowtype", flowtype, ier)