Skip to content

Commit

Permalink
create constructor for ZonePlenumData struct
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlball committed Jun 18, 2020
1 parent 2989bfc commit 34dbd9a
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/EnergyPlus/ZonePlenum.hh
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,13 @@ namespace ZonePlenum {

struct ZonePlenumData : BaseGlobalStruct {

bool GetInputFlag = true; // Flag set to make sure you get input once
bool InitAirZoneReturnPlenumEnvrnFlag = true;
bool InitAirZoneReturnPlenumOneTimeFlag = true;
bool GetInputFlag; // Flag set to make sure you get input once
bool InitAirZoneReturnPlenumEnvrnFlag;
bool InitAirZoneReturnPlenumOneTimeFlag;

int NumZonePlenums = 0; // The Number of ZonePlenums found in the Input
int NumZoneReturnPlenums = 0; // The Number of ZoneReturnPlenums found in the Input
int NumZoneSupplyPlenums = 0; // The Number of ZoneSupplyPlenums found in the Input
int NumZonePlenums; // The Number of ZonePlenums found in the Input
int NumZoneReturnPlenums; // The Number of ZoneReturnPlenums found in the Input
int NumZoneSupplyPlenums; // The Number of ZoneSupplyPlenums found in the Input
Array1D_bool CheckRetEquipName;
Array1D_bool CheckSupEquipName;

Expand All @@ -216,6 +216,13 @@ namespace ZonePlenum {
ZoneRetPlenCond.deallocate();
ZoneSupPlenCond.deallocate();
}

// Default Constructor
ZonePlenumData()
: GetInputFlag(true), InitAirZoneReturnPlenumEnvrnFlag(true), InitAirZoneReturnPlenumOneTimeFlag(true),
NumZonePlenums(0), NumZoneReturnPlenums(0), NumZoneSupplyPlenums(0)
{
}
};

} // namespace EnergyPlus
Expand Down

7 comments on commit 34dbd9a

@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_zone_plenum (brianlball) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

Build 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_zone_plenum (brianlball) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (13 of 13 tests passed, 0 test warnings)

Build 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_zone_plenum (brianlball) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-UnitTestsCoverage-Debug: OK (1434 of 1434 tests passed, 0 test warnings)

Build Badge Test Badge Coverage 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_zone_plenum (brianlball) - x86_64-Linux-Ubuntu-18.04-gcc-7.5: OK (2886 of 2886 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

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

global_zone_plenum (brianlball) - x86_64-MacOS-10.13-clang: OK (2846 of 2846 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_zone_plenum (brianlball) - x86_64-Linux-Ubuntu-18.04-gcc-7.5-IntegrationCoverage-Debug: OK (710 of 710 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@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_zone_plenum (brianlball) - Win64-Windows-10-VisualStudio-16: OK (2117 of 2117 tests passed, 0 test warnings)

Build Badge Test Badge

Please # to comment.