check_opVar_prerequisites Subroutine

private subroutine check_opVar_prerequisites(operType, nInputs, input_varname, varSys, nComps, isSatisfied)

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

Arguments

TypeIntentOptionalAttributesName
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


Calls

proc~~check_opvar_prerequisites~~CallsGraph proc~check_opvar_prerequisites check_opVar_prerequisites interface~positionofval~4 positionofval proc~check_opvar_prerequisites->interface~positionofval~4 proc~tem_abort tem_abort proc~check_opvar_prerequisites->proc~tem_abort proc~posofval_label posofval_label interface~positionofval~4->proc~posofval_label mpi_abort mpi_abort proc~tem_abort->mpi_abort interface~sortedposofval~4 sortedposofval proc~posofval_label->interface~sortedposofval~4 proc~sortposofval_label sortposofval_label interface~sortedposofval~4->proc~sortposofval_label

Called by

proc~~check_opvar_prerequisites~~CalledByGraph proc~check_opvar_prerequisites check_opVar_prerequisites proc~tem_varsys_append_opervar tem_varSys_append_operVar proc~tem_varsys_append_opervar->proc~check_opvar_prerequisites proc~tem_varsys_append_luavar tem_varSys_append_luaVar proc~tem_varsys_append_luavar->proc~tem_varsys_append_opervar program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->proc~tem_varsys_append_luavar proc~check_variableoperations check_variableOperations proc~check_variableoperations->proc~tem_varsys_append_luavar program~tem_variable_evaltype_test tem_variable_evaltype_test program~tem_variable_evaltype_test->proc~tem_varsys_append_luavar program~tem_variable_extract_test tem_variable_extract_test program~tem_variable_extract_test->proc~tem_varsys_append_luavar program~tem_variable_combine_test tem_variable_combine_Test program~tem_variable_combine_test->proc~tem_varsys_append_luavar program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->proc~tem_varsys_append_luavar program~tem_logical_opertor_test tem_logical_opertor_test program~tem_logical_opertor_test->proc~check_variableoperations

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iIn
integer, private :: total_input_nComps
integer, private :: inpos(nInputs)
integer, private :: input_nComps(nInputs)