Skip to content

Commit

Permalink
Merge branch 'develop' into global_convection_coeff
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchute committed Jul 2, 2020
2 parents 8007135 + edbfb7f commit fceaae2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/EnergyPlus/DataReportingFlags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,21 @@ namespace DataReportingFlags {
bool DebugOutput(false);
bool EvenDuringWarmup(false);

// MODULE SUBROUTINES:

// Functions
void clear_state() {
NumOfWarmupDays = 0;
cWarmupDay.clear();
DisplayPerfSimulationFlag = false;
DoWeatherInitReporting = false;
PrintEndDataDictionary = false;
MakeMirroredDetachedShading = true;
MakeMirroredAttachedShading = true;
DebugOutput = false;
EvenDuringWarmup = false;
}

} // namespace DataReportingFlags

} // namespace EnergyPlus
3 changes: 3 additions & 0 deletions src/EnergyPlus/DataReportingFlags.hh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ namespace DataReportingFlags {
extern bool DebugOutput;
extern bool EvenDuringWarmup;

// Functions
void clear_state();

} // namespace DataReportingFlags

} // namespace EnergyPlus
Expand Down
2 changes: 2 additions & 0 deletions src/EnergyPlus/StateManagement.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#include <EnergyPlus/DataMoistureBalanceEMPD.hh>
#include <EnergyPlus/DataOutputs.hh>
#include <EnergyPlus/DataPhotovoltaics.hh>
#include <EnergyPlus/DataReportingFlags.hh>
#include <EnergyPlus/DataRoomAirModel.hh>
#include <EnergyPlus/DataRuntimeLanguage.hh>
#include <EnergyPlus/DataSizing.hh>
Expand Down Expand Up @@ -262,6 +263,7 @@ void EnergyPlus::clearAllStates(OutputFiles &outputFiles)
DataOutputs::clear_state();
DataPhotovoltaics::clear_state();
DataPlant::clear_state();
DataReportingFlags::clear_state();
DataRoomAirModel::clear_state();
DataRuntimeLanguage::clear_state();
DataSizing::clear_state();
Expand Down

6 comments on commit fceaae2

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_convection_coeff (mitchute) - Win64-Windows-10-VisualStudio-16: OK (2144 of 2144 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_convection_coeff (mitchute) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (2916 of 2916 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_convection_coeff (mitchute) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (13 of 13 tests passed, 0 test warnings)

Build Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_convection_coeff (mitchute) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

Build Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_convection_coeff (mitchute) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1458 of 1458 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global_convection_coeff (mitchute) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: OK (713 of 713 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please # to comment.