Integer (Choice)¶
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>
Figure 54 Widget example of a integer (choice) type condition¶
List 42 Code example to load a integer (choise) type condition (for calculation conditions and grid generating conditions)¶
1integer:: ier, flowtype
2
3call cg_iric_read_integer_f("flowtype", flowtype, ier)
1integer:: ier, flowtype
2
3call cg_iric_read_bc_integer_f("inflow", 1, "flowtype", flowtype, ier)