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 ReallocateRVar
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN December 1998
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine reallocates (preserving data) the Real Variable
! structure for the output processor.
! METHODOLOGY EMPLOYED:
! Using the current value of MaxRVariable, this routine allocates
! the new dimension for the arrays xxx, xxxx, and RealVariables structure.
! 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:
TYPE (RealVariableType), &
DIMENSION(:), ALLOCATABLE :: Types
ALLOCATE(Types(MaxRVariable+RVarAllocInc))
IF (MaxRVariable > 0) THEN
Types(1:MaxRVariable)=RVariableTypes(1:MaxRVariable)
ENDIF
DEALLOCATE(RVariableTypes)
MaxRVariable=MaxRVariable+RVarAllocInc
ALLOCATE(RVariableTypes(MaxRVariable))
RVariableTypes=Types
DEALLOCATE(Types)
RETURN
END SUBROUTINE ReallocateRVar