Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ClassNo |
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.
FUNCTION cSurfaceClass(ClassNo) RESULT(ClassName)
! FUNCTION INFORMATION:
! AUTHOR Linda Lawrie
! DATE WRITTEN May 2006
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! This function returns a string based on class number.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: ClassNo
CHARACTER(len=25) :: ClassName
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
SELECT CASE (ClassNo)
CASE(SurfaceClass_Wall)
ClassName='Wall'
CASE(SurfaceClass_Floor)
ClassName='Floor'
CASE(SurfaceClass_Roof)
ClassName='Roof'
CASE(SurfaceClass_Window)
ClassName='Window'
CASE(SurfaceClass_GlassDoor)
ClassName='Glass Door'
CASE(SurfaceClass_Door)
ClassName='Door'
CASE(SurfaceClass_TDD_Dome)
ClassName='TubularDaylightDome'
CASE(SurfaceClass_TDD_Diffuser)
ClassName='TubularDaylightDiffuser'
CASE(SurfaceClass_IntMass)
ClassName='Internal Mass'
CASE(SurfaceClass_Shading)
ClassName='Shading'
CASE(SurfaceClass_Detached_B)
ClassName='Detached Shading:Building'
CASE(SurfaceClass_Detached_F)
ClassName='Detached Shading:Fixed'
CASE DEFAULT
ClassName='Invalid/Unknown'
END SELECT
RETURN
END FUNCTION cSurfaceClass