Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | DayScheduleIndex | |||
real(kind=r64), | intent(out) | :: | DayValues(:,:) |
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 GetSingleDayScheduleValues(DayScheduleIndex,DayValues)
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN August 2003
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine returns an entire day's worth of schedule values for a specified Day Schedule Index item.
! METHODOLOGY EMPLOYED:
! Use internal data to fill DayValues array.
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: DayScheduleIndex ! Index of the DaySchedule for values
REAL(r64), INTENT(OUT) :: DayValues(:,:) ! Returned set of values
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
IF (.not. ScheduleInputProcessed) THEN
CALL ProcessScheduleInput
ScheduleInputProcessed=.True.
ENDIF
! Return Values
DayValues(1:24,1:NumOfTimeStepInHour)=DaySchedule(DayScheduleIndex)%TSValue
RETURN
END SUBROUTINE GetSingleDayScheduleValues