This subroutine checks whether input variables satisfy requirements for opertype.
For example: nComponents, number of inputs etc. If input_varname not found in varSys then this function returns false. If user defined nComps = -1 then nComps is set according to operType.
This subroutine checks operations used in both treelm and solvers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | operType | Operation type |
||
integer, | intent(in) | :: | nInputs | Number of inputs |
||
character(len=*), | intent(in) | :: | input_varname(nInputs) | Input varnames for current operation |
||
type(tem_varSys_type), | intent(in) | :: | varSys | Variable system to look for input_varname |
||
integer, | intent(inout) | :: | nComps | Number of components defined for operation variable. If nComps == -1 then current nComps is set here |
||
logical, | intent(out) | :: | isSatisfied | true if all requirements for opertype are satisfied |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iIn | ||||
integer, | private | :: | total_input_nComps | ||||
integer, | private | :: | inpos(nInputs) | ||||
integer, | private | :: | input_nComps(nInputs) |