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.
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 showWarningsBasedOnTotal
! SUBROUTINE INFORMATION:
! AUTHOR Jason Glazer of GARD Analytics, Inc.
! DATE WRITTEN July 2004
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! Get the annual maximum and sum for the econVariable.
! METHODOLOGY EMPLOYED:
! REFERENCES:
! na
! USE STATEMENTS:
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: iTariff
IF (numTariff .GT. 0) THEN
DO iTariff = 1, numTariff
SELECT CASE (tariff(iTariff)%buyOrSell)
CASE (buyFromUtility)
IF (tariff(iTariff)%totalAnnualCost .LT. 0) THEN
CALL ShowWarningError('UtilityCost:Tariff: '// &
'A negative annual total cost when buying electricity from a utility is unusual. ')
CALL ShowContinueError(' In UtilityCost:Tariff named ' // TRIM(tariff(iTariff)%tariffName))
END IF
CASE (sellToUtility)
IF (tariff(iTariff)%totalAnnualCost .GT. 0) THEN
CALL ShowWarningError('UtilityCost:Tariff: '// &
'A positive annual total cost when selling electricity to a utility is unusual. ')
CALL ShowContinueError(' In UtilityCost:Tariff named ' // TRIM(tariff(iTariff)%tariffName))
END IF
END SELECT
END DO
END IF
END SUBROUTINE showWarningsBasedOnTotal