Real number

List 44 Example of a real number type condition definition
1
2
3
<Item name="g" caption="Gravity [m/s2]">
  <Definition valueType="real" default="9.8" />
</Item>
../_images/widget_example_real.png

Figure 55 Widget example of a real number type condition

List 45 Code example to load a real number type condition (for calculation conditions and grid generating conditions)
1
2
3
4
integer:: ier
double precision:: g

call cg_iric_read_real_f("g", g, ier)
List 46 Code example to load a real number type condition (for boundary conditions)
1
2
3
4
integer:: ier
double precision:: g

call cg_iric_read_bc_real_f("inflow", 1, "g", g, ier)