整数 (選択式)

リスト 41 整数 (選択式) の条件の定義例
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>
../_images/widget_example_combobox.png

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

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