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 | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(out) | :: | VARNEW | |||
real(kind=r64), | intent(in) | :: | VAROLD | |||
real(kind=r64), | intent(in) | :: | A | |||
real(kind=r64), | intent(in) | :: | B | |||
real(kind=r64), | intent(in) | :: | C |
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 SolverMoistureBalanceEMPD (VARNEW,VAROLD,A,B,C)
! SUBROUTINE INFORMATION:
! Authors: Muthusamy Swami and Lixing Gu
! Date writtenn: August, 1999
! Modified: na
! Re-engineered: na
! PURPOSE OF THIS SUBROUTINE:
! Solve a first order ordinary differential equation, A dV/dt + B V = C
! METHODOLOGY EMPLOYED:
! Finite difference method
! USE STATEMENTS:
USE DataGlobals, ONLY: TimeStepZone
IMPLICIT NONE
! SUBROUTINE ARGUMENT DEFINITIONS:
REAL(r64), INTENT(OUT) :: VARNEW ! Value at current time step
REAL(r64), INTENT(IN) :: VAROLD ! Value at previous time step
REAL(r64), INTENT(IN) :: A ! Coefficient of time derivative in AdV/dt+BV=C
REAL(r64), INTENT(IN) :: B ! Coefficienct of variable
REAL(r64), INTENT(IN) :: C ! Constant
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
VARNEW = (VAROLD+TimeStepZone*SecInHour*C/A)/(1.d0+TimeStepZone*SecInHour*B/A)
RETURN
END SUBROUTINE SolverMoistureBalanceEMPD