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 | ||
---|---|---|---|---|---|---|
logical, | intent(inout) | :: | doTransform | |||
real(kind=r64), | intent(inout) | :: | OldAspectRatio | |||
real(kind=r64), | intent(inout) | :: | NewAspectRatio |
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 CheckForGeometricTransform(DoTransform,OldAspectRatio,NewAspectRatio)
! SUBROUTINE INFORMATION:
! AUTHOR Linda Lawrie
! DATE WRITTEN February 2009
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! check for geometrytransform in the daylighting access for reference and map points
!
! METHODOLOGY EMPLOYED:
! once reference points have been converted to WCS,
! change them to reflect a different aspect
! ratio for the entire building based on user input.
! REFERENCES:
! na
! USE STATEMENTS:
USE DataIPShortCuts
USE InputProcessor
USE DataDaylighting, ONLY: ZoneDaylight
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
Logical, INTENT(INOUT) :: doTransform
REAL(r64), INTENT(INOUT) :: OldAspectRatio
REAL(r64), INTENT(INOUT) :: NewAspectRatio
! SUBROUTINE PARAMETER DEFINITIONS:
CHARACTER(len=*), PARAMETER :: CurrentModuleObject='GeometryTransform'
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
CHARACTER(len=MaxNameLength), DIMENSION(1) :: cAlphas
REAL(r64), DIMENSION(2) :: rNumerics
INTEGER :: NAlphas
INTEGER :: NNum
INTEGER :: IOSTAT
CHARACTER(len=2) :: transformPlane
!begin execution
!get user input...
doTransform=.false.
OldAspectRatio = 1.0d0
NewAspectRatio = 1.0d0
IF (GetNumObjectsFound(CurrentModuleObject) == 1) then
CALL GetObjectItem(CurrentModuleObject,1,cAlphas,NAlphas,rNumerics,NNum,IOSTAT, &
AlphaBlank=lAlphaFieldBlanks,NumBlank=lNumericFieldBlanks, &
AlphaFieldnames=cAlphaFieldNames,NumericFieldNames=cNumericFieldNames)
OldAspectRatio = rNumerics(1)
NewAspectRatio = rNumerics(2)
transformPlane = cAlphas(1)
IF (transformPlane /= 'XY') then
CALL ShowWarningError(CurrentModuleObject//': invalid '//TRIM(cAlphaFieldNames(1))// &
'="'//TRIM(cAlphas(1))//'...ignored.')
ENDIF
doTransform = .true.
AspectTransform = .true.
Endif
IF (WorldCoordSystem) THEN
doTransform=.false.
AspectTransform=.false.
ENDIF
Return
END SUBROUTINE CheckForGeometricTransform