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 RevertZoneTimestepHistories
! SUBROUTINE INFORMATION:
! AUTHOR Lixing Gu
! DATE WRITTEN July, 2010
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! rewind histories to undo inadvertent pushing
! This subroutine is modified from RevertZoneTimestepHistories in ZoneTempPredictorCorrector module
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
! na
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: ZoneNum
! REvert the contaminnants histories
DO ZoneNum = 1, NumOfZones
IF (Contaminant%CO2Simulation) Then
CO2ZoneTimeMinus1(ZoneNum) = CO2ZoneTimeMinus2(ZoneNum)
CO2ZoneTimeMinus2(ZoneNum) = CO2ZoneTimeMinus3(ZoneNum)
CO2ZoneTimeMinus3(ZoneNum) = CO2ZoneTimeMinus4(ZoneNum)
ENDIF
IF (Contaminant%GenericContamSimulation) Then
GCZoneTimeMinus1(ZoneNum) = GCZoneTimeMinus2(ZoneNum)
GCZoneTimeMinus2(ZoneNum) = GCZoneTimeMinus3(ZoneNum)
GCZoneTimeMinus3(ZoneNum) = GCZoneTimeMinus4(ZoneNum)
ENDIF
ENDDO ! zone loop
RETURN
END SUBROUTINE RevertZoneTimestepHistories