Integer

List 38 Example of a integer type condition definition
1<Item name="numsteps" caption="The Number of steps to calculate">
2  <Definition valueType="integer" default="20" min="1" max="200" />
3</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)
1integer:: ier, numsteps
2
3call cg_iric_read_integer(fid, "numsteps", numsteps, ier)
List 40 Code example to load a integer type condition (for boundary conditions)
1integer:: ier, numsteps
2
3call cg_iric_read_bc_integer(fid, "inflow", 1, "numsteps", numsteps, ier)