Integer

List 38 Example of a integer type condition definition
1
2
3
<Item name="numsteps" caption="The Number of steps to calculate">
  <Definition valueType="integer" default="20" min="1" max="200" />
</Item>
../_images/widget_example_integer.png

Figure 53 Widget example of a integer type condition

List 39 Code example to load a integer type condition (for calculation conditions and grid generating conditions)
1
2
3
integer:: ier, numsteps

call cg_iric_read_integer_f("numsteps", numsteps, ier)
List 40 Code example to load a integer type condition (for boundary conditions)
1
2
3
integer:: ier, numsteps

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