String

List 26 Example of a string type condition definition
1
2
3
<Item name="sampleitem" caption="Sample Item">
  <Definition valueType="string" />
</Item>
../_images/widget_example_string.png

Figure 49 Widget example of a string type condition

List 27 Code example to load a string type condition (for calculation conditions and grid generating conditions)
1
2
3
4
integer:: ier
character(200):: sampleitem

call cg_iric_read_string_f("sampleitem", sampleitem, ier)
List 28 Code example to load a string type condition (for boundary conditions)
1
2
3
4
integer:: ier
character(200):: sampleitem

call cg_iric_read_bc_string_f("inflow", 1, "sampleitem", sampleitem, ier)