Load an array of variables from the configuration.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_variable_type), | intent(out), | allocatable | :: | 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), | optional | :: | parent | A parent table handle in which to look the current variable up |
|
character(len=*), | intent(in), | optional | :: | key | key for array of variables |
|
integer, | intent(out), | allocatable | :: | vError(:) | if Error .ne. 0 is variable is not loaded successfully. |
|
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. |
||
procedure(tem_load_solverVar_method), | optional | :: | load_solvervar | A method to load solver specific variables. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | varhandle | ||||
integer, | public | :: | nVars | ||||
integer, | public | :: | varsubhandle | ||||
integer, | public | :: | iVar | ||||
integer, | public | :: | iError | ||||
character(len=LabelLen), | public | :: | local_key |