Reading a single variable from the Lua configuration.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_variable_type), | intent(out) | :: | me | The variable to read from the Lua script(conf) and fill |
||
type(flu_state) | :: | conf | Lua handle connected to the script to read the table from |
|||
integer, | intent(in) | :: | parent | A parent table handle in which to look the current variable up |
||
integer, | intent(out) | :: | iError | if Error .ne. 0 is variable is not loaded successfully. |
||
character(len=*), | intent(in), | optional | :: | key | key for a single variable |
|
integer, | optional | :: | nComp | If the variable is expected to have a certain number of components, this can be provided with this argument. If the definition of the variable does not match this, we will fail loading the variable. |
||
logical, | intent(in), | optional | :: | openTable | if variable table is already opened, set openTable = .false. |
|
procedure(tem_load_solverVar_method), | optional | :: | load_solvervar | A method to load solver specific variables. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | local_thandle | ||||
integer, | public | :: | local_error | ||||
logical, | public | :: | openTable_loc | ||||
character(len=LabelLen), | public | :: | local_key | ||||
character(len=LabelLen), | public | :: | varname |