Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | CompName | |||
character(len=*), | intent(in) | :: | CompType | |||
character(len=*), | intent(in) | :: | TankName | |||
logical, | intent(inout) | :: | ErrorsFound | |||
integer, | intent(out) | :: | TankIndex | |||
integer, | intent(out) | :: | WaterSupplyIndex |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
SUBROUTINE SetupTankSupplyComponent(CompName, CompType, TankName, ErrorsFound, TankIndex, WaterSupplyIndex)
! SUBROUTINE INFORMATION:
! AUTHOR B. Griffith
! DATE WRITTEN August 2006
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Each simulated component that can supply water to a tank
! makes one call to this subroutine to obtain the data
! array index it should use to set values in the
! VdotAvailSupply
! METHODOLOGY EMPLOYED:
! push the VdotAvailToTank array and return
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(Len=*), INTENT(IN) :: CompName
CHARACTER(Len=*), INTENT(IN) :: CompType
CHARACTER(Len=*), INTENT(IN) :: TankName
LOGICAL ,INTENT(INOUT) :: ErrorsFound
INTEGER , INTENT(OUT) :: TankIndex
INTEGER , INTENT(OUT) :: WaterSupplyIndex
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
If (.NOT. (WaterSystemGetInputCalled)) Then
CALL GetWaterManagerInput
endif
CALL InternalSetupTankSupplyComponent(CompName,CompType,TankName,ErrorsFound,TankIndex,WaterSupplyIndex)
RETURN
END SUBROUTINE SetupTankSupplyComponent