Integer¶
Definition¶
1<Item name="numsteps" caption="The Number of steps to calculate">
2 <Definition valueType="integer" default="20" min="1" max="200" />
3</Item>
Example of widget¶
Example code to read data¶
Calculation condition, Grid generating condition¶
FORTRAN¶
1integer:: ier, numsteps
2
3call cg_iRIC_Read_Integer(fid, "numsteps", numsteps, ier)
C/C++¶
1int ier, numsteps;
2
3ier = cg_iRIC_Read_Integer(fid, "numsteps", &numsteps)
Python¶
1numsteps = cg_iRIC_Read_Integer(fid, "numsteps")
Boundary condition¶
FORTRAN¶
1integer:: ier, numsteps
2
3call cg_iRIC_Read_BC_Integer(fid, "inflow", 1, "numsteps", numsteps, ier)
C/C++¶
1int ier, numstep;
2
3ier = cg_iRIC_Read_BC_Integer(fid, "inflow", 1, "numsteps", &numsteps)
Python¶
1numsteps = cg_iRIC_Read_BC_Integer(fid, "inflow", 1, "numsteps")