DataGlobals contains parameters, variables, Interface descriptors that could be used by every part of the program. For example, this is where the “MaxNameLength” (maximum name length (characters) of objects. All other pieces of the code that need this will need to
USE DataGlobals
and, if that’s the only piece it needs, can say
USE DataGlobals, ONLY: MaxNameLength
Interface specifications for the ShowError routines are here because there are optional parameters in these routines. Then,
USE DataGlobals, ONLY: ShowWarningError, ShowFatalError
can be used safely from any routine. Constants such as Pi (), Degrees To Radians, and Number of Seconds in Hour are also stored there. Remember that we suggest compiling EnergyPlus in double precision and these constants (as should all constants) are representative of double precision (even if someone were to compile in single precision).
Finally, the interface specifications for the Setup Report Variables is contained in this module. The interface allows for a single call for accomplishing that while actually forking to call several different routines based on the type of data being used.
DataGlobals[LINK]
DataGlobals contains parameters, variables, Interface descriptors that could be used by every part of the program. For example, this is where the “MaxNameLength” (maximum name length (characters) of objects. All other pieces of the code that need this will need to
and, if that’s the only piece it needs, can say
Interface specifications for the ShowError routines are here because there are optional parameters in these routines. Then,
can be used safely from any routine. Constants such as Pi (), Degrees To Radians, and Number of Seconds in Hour are also stored there. Remember that we suggest compiling EnergyPlus in double precision and these constants (as should all constants) are representative of double precision (even if someone were to compile in single precision).
Finally, the interface specifications for the Setup Report Variables is contained in this module. The interface allows for a single call for accomplishing that while actually forking to call several different routines based on the type of data being used.
Documentation content copyright © 1996-2014 The Board of Trustees of the University of Illinois and the Regents of the University of California through the Ernest Orlando Lawrence Berkeley National Laboratory. All rights reserved. EnergyPlus is a trademark of the US Department of Energy.
This documentation is made available under the EnergyPlus Open Source License v1.0.