Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | IndexKey | |||
real(kind=r64), | intent(in), | TARGET | :: | TimeStep |
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 SetupTimePointers(IndexKey,TimeStep)
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN December 1998
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine sets up the derived type for the output processor that
! contains pointers to the TimeStep values used in the simulation.
! METHODOLOGY EMPLOYED:
! Indicate that the TimeStep passed in is a target for the pointer
! attributes in the derived types.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataGlobals, Only: OutputFileStandard
USE DataInterfaces, Only: ShowSevereError
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*), INTENT(IN) :: IndexKey ! Which timestep is being set up, 'Zone'=1, 'HVAC'=2
REAL(r64), TARGET, INTENT(IN) :: TimeStep ! The timestep variable. Used to get the address
! for the pointer in the derived type.
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
CHARACTER(len=25) :: cValue
INTEGER :: Index
Index=ValidateIndexType(IndexKey,'SetupTimePointers')
SELECT CASE (Index)
CASE(1)
TimeValue(Index)%TimeStep=>TimeStep
TimeValue(Index)%CurMinute=0.0d0
CASE(2)
TimeValue(Index)%TimeStep=>TimeStep
TimeValue(Index)%CurMinute=0.0d0
CASE DEFAULT
WRITE(cValue,*) Index
CALL ShowSevereError('Illegal value passed to SetupTimePointers, must be 1 or 2 == '//trim(cValue),OutputFileStandard)
END SELECT
RETURN
END SUBROUTINE SetupTimePointers