diff --git a/src/EnergyPlus/DaylightingManager.cc b/src/EnergyPlus/DaylightingManager.cc index a55fc7be761..4b21b7ed011 100644 --- a/src/EnergyPlus/DaylightingManager.cc +++ b/src/EnergyPlus/DaylightingManager.cc @@ -7658,8 +7658,7 @@ void DayltgInterReflectedIllum(EnergyPlusData &state, auto const *matBlind = dynamic_cast(s_mat->materials(surfShade.blind.matNum)); assert(matBlind != nullptr); - Real64 ProfAng = ProfileAngle(state, IWin, s_surf->SurfSunCosHourly(IHR), matBlind->SlatOrientation); - // Are these really cached? + // These are "cached" in the surfShade struct auto &btar = surfShade.blind.TAR; int idxLo = surfShade.blind.profAngIdxLo; int idxHi = surfShade.blind.profAngIdxHi; diff --git a/src/EnergyPlus/Fans.cc b/src/EnergyPlus/Fans.cc index 26439bd9d6a..ec04513d02f 100644 --- a/src/EnergyPlus/Fans.cc +++ b/src/EnergyPlus/Fans.cc @@ -92,8 +92,6 @@ namespace EnergyPlus::Fans { // To encapsulate the data and algorithms required to // manage the Fan System Component -constexpr std::array minFlowFracMethodNames = {"Fraction", "FixedFlowRate"}; - constexpr std::array minFlowFracMethodNamesUC = {"FRACTION", "FIXEDFLOWRATE"}; void FanBase::simulate(EnergyPlusData &state, diff --git a/src/EnergyPlus/HeatBalanceHAMTManager.cc b/src/EnergyPlus/HeatBalanceHAMTManager.cc index e55e92f463d..5949798049a 100644 --- a/src/EnergyPlus/HeatBalanceHAMTManager.cc +++ b/src/EnergyPlus/HeatBalanceHAMTManager.cc @@ -174,8 +174,6 @@ namespace HeatBalanceHAMTManager { Array1D NumArray; - Real64 dumrh; - Real64 dumdata; Real64 avdata; int MaxNums; @@ -189,8 +187,6 @@ namespace HeatBalanceHAMTManager { int HAMTitems; int vtcsid; - bool avflag; - bool isoerrrise; bool ErrorsFound; auto &s_ip = state.dataInputProcessing->inputProcessor; @@ -714,14 +710,14 @@ namespace HeatBalanceHAMTManager { ++errorCount; } if (matHAMT->nsuc < 0) { - ShowSevereError(state, format("{}Construction={}", RoutineName, state.dataConstruction->Construct(conid).Name)); + ShowSevereError(state, format("{}Construction={}", RoutineName, constr.Name)); ShowContinueError( state, format("Reference Material=\"{}\" does not have required liquid transport coefficient (suction) data.", mat->Name)); ++errorCount; } if (matHAMT->nred < 0) { - ShowSevereError(state, format("{}Construction={}", RoutineName, state.dataConstruction->Construct(conid).Name)); + ShowSevereError(state, format("{}Construction={}", RoutineName, constr.Name)); ShowContinueError(state, format("Reference Material=\"{}\" does not have required liquid transport coefficient (redistribution) data.", mat->Name)); diff --git a/src/EnergyPlus/HeatBalanceManager.cc b/src/EnergyPlus/HeatBalanceManager.cc index 3ae3ebc8dea..88a8ce962dd 100644 --- a/src/EnergyPlus/HeatBalanceManager.cc +++ b/src/EnergyPlus/HeatBalanceManager.cc @@ -1359,7 +1359,6 @@ namespace HeatBalanceManager { // Window5 data file bool EOFonW5File; // True if EOF encountered reading Window5 data file - int iMatGlass; // number of glass layers Array1D_string WConstructNames; auto &s_ipsc = state.dataIPShortCut; @@ -1493,7 +1492,6 @@ namespace HeatBalanceManager { assert(matGlassTC != nullptr); thisConstruct.LayerPoint(Layer) = matGlassTC->matRefs(1).matNum; - if (s_mat->materials(thisConstruct.LayerPoint(Layer))->group == Material::Group::Glass) ++iMatGlass; thisConstruct.isTCWindow = true; thisConstruct.isTCMaster = true; thisConstruct.TCMasterConstrNum = ConstrNum; diff --git a/src/EnergyPlus/HeatRecovery.cc b/src/EnergyPlus/HeatRecovery.cc index a870a72b73b..e2fc4934cdf 100644 --- a/src/EnergyPlus/HeatRecovery.cc +++ b/src/EnergyPlus/HeatRecovery.cc @@ -194,15 +194,15 @@ namespace HeatRecovery { // call the correct heat exchanger calculation routine switch (state.dataHeatRecovery->ExchCond(HeatExchNum).type) { - case HVAC::HXType::AirToAir_FlatPlate: + case HVAC::HXType::AirToAir_FlatPlate: { thisExch.CalcAirToAirPlateHeatExch(state, HXUnitOn, EconomizerFlag, HighHumCtrlFlag); - break; + } break; - case HVAC::HXType::AirToAir_Generic: + case HVAC::HXType::AirToAir_Generic: { thisExch.CalcAirToAirGenericHeatExch(state, HXUnitOn, FirstHVACIteration, fanOp, EconomizerFlag, HighHumCtrlFlag, HXPartLoadRatio); - break; + } break; - case HVAC::HXType::Desiccant_Balanced: + case HVAC::HXType::Desiccant_Balanced: { Real64 PartLoadRatio = present(HXPartLoadRatio) ? Real64(HXPartLoadRatio) : 1.0; // Part load ratio requested of DX compressor bool RegInIsOANode = present(RegenInletIsOANode) && bool(RegenInletIsOANode); thisExch.CalcDesiccantBalancedHeatExch(state, @@ -215,7 +215,12 @@ namespace HeatRecovery { RegInIsOANode, EconomizerFlag, HighHumCtrlFlag); - break; + } break; + + default: { + assert(false); + } break; + } thisExch.UpdateHeatRecovery(state); diff --git a/src/EnergyPlus/IntegratedHeatPump.cc b/src/EnergyPlus/IntegratedHeatPump.cc index 07ea78cd452..3c2106e094b 100644 --- a/src/EnergyPlus/IntegratedHeatPump.cc +++ b/src/EnergyPlus/IntegratedHeatPump.cc @@ -1612,8 +1612,6 @@ void ClearCoils(EnergyPlusData &state, int const DXCoilNum) { using VariableSpeedCoils::SimVariableSpeedCoils; - HVAC::FanOp fanOp = HVAC::FanOp::Cycling; // fan cycl manner place holder - // Obtains and Allocates WatertoAirHP related parameters from input file if (state.dataIntegratedHP->GetCoilsInputFlag) { // First time subroutine has been entered GetIHPInput(state); diff --git a/src/EnergyPlus/Material.cc b/src/EnergyPlus/Material.cc index a3db5d1c7a3..838ba3ee740 100644 --- a/src/EnergyPlus/Material.cc +++ b/src/EnergyPlus/Material.cc @@ -135,11 +135,9 @@ void GetMaterialData(EnergyPlusData &state, bool &ErrorsFound) // set to true if int NumAlphas; // Number of material alpha names being passed int NumNums; // Number of material properties being passed - int EcoRoofMat; // Materials for ecoRoof int NumGas; // Index for loop over gap gases in a mixture int NumGases; // Number of gasses in a mixture GasType gasType = GasType::Invalid; // Gas type index: 1=air, 2=argon, 3=krypton, 4=xenon - int Loop; int ICoeff; // Gas property coefficient index Real64 MinSlatAngGeom; // Minimum and maximum slat angle allowed by slat geometry (deg) Real64 MaxSlatAngGeom; @@ -155,8 +153,6 @@ void GetMaterialData(EnergyPlusData &state, bool &ErrorsFound) // set to true if Real64 maxLamValue; // maximum value of wavelength // Added TH 1/9/2009 to read the thermochromic glazings - int iTC(0); - int iMat(0); // Added TH 7/27/2009 for constructions defined with F or C factor method int TotFfactorConstructs; // Number of slabs-on-grade or underground floor constructions defined with F factors @@ -2876,8 +2872,6 @@ void GetWindowGlassSpectralData(EnergyPlusData &state, bool &ErrorsFound) // set int IOStat; // IO Status when calling get input subroutine int NumAlphas; // Number of spectral data alpha names being passed int NumNums; // Number of spectral data properties being passed - int Loop; - int LamNum; // Wavelength number Real64 Lam; // Wavelength (microns) Real64 Tau; // Transmittance, front reflectance, back reflectance Real64 RhoF; diff --git a/src/EnergyPlus/Material.hh b/src/EnergyPlus/Material.hh index cfc8f462022..06dc4488dcf 100644 --- a/src/EnergyPlus/Material.hh +++ b/src/EnergyPlus/Material.hh @@ -323,7 +323,7 @@ namespace Material { ~MaterialShade() = default; bool can_instantiate() override { return true; } // Allows this class to be instantiated }; - + // This may seem like an overly complicated way to handle a set of // multi-dimensional variables, but I think that it is actually // cleaner than either a multi-dimensional array (and certaily diff --git a/src/EnergyPlus/MoistureBalanceEMPDManager.cc b/src/EnergyPlus/MoistureBalanceEMPDManager.cc index 583837f1353..da0405bb3ec 100644 --- a/src/EnergyPlus/MoistureBalanceEMPDManager.cc +++ b/src/EnergyPlus/MoistureBalanceEMPDManager.cc @@ -151,18 +151,12 @@ void GetMoistureBalanceEMPDInput(EnergyPlusData &state) // SUBROUTINE LOCAL VARIABLE DECLARATIONS: int IOStat; // IO Status when calling get input subroutine Array1D_string MaterialNames(3); // Number of Material Alpha names defined - int MaterNum; // Counter to keep track of the material number int MaterialNumAlpha; // Number of material alpha names being passed int MaterialNumProp; // Number of material properties being passed Array1D MaterialProps(9); // Temporary array to transfer material properties bool ErrorsFound(false); // If errors detected in input int EMPDMat; // EMPD Moisture Material additional properties for each base material - int Loop; - int Layer; - int SurfNum; // Surface number - int MatNum; // Material number at interior layer - int ConstrNum; // Construction number Array1D_bool EMPDzone; // EMPD property check for each zone auto &s_ip = state.dataInputProcessing->inputProcessor; @@ -475,8 +469,6 @@ void CalcMoistureBalanceEMPD(EnergyPlusData &state, // SUBROUTINE LOCAL VARIABLE DECLARATIONS: int NOFITR; // Number of iterations - int MatNum; // Material number at interior layer - int ConstrNum; // Construction number Real64 hm_deep_layer; // Overall deep-layer transfer coefficient Real64 RSurfaceLayer; // Mass transfer resistance between actual surface and surface layer node Real64 Taver; // Average zone temperature between current time and previous time @@ -758,7 +750,7 @@ void ReportMoistureBalanceEMPD(EnergyPlusData &state) auto const *mat = s_mat->materials(constr.LayerPoint(constr.TotLayers)); if (!mat->hasEMPD) continue; - auto const *matEMPD = dynamic_cast(mat); + auto const *matEMPD = dynamic_cast(mat); assert(matEMPD != nullptr); static constexpr std::string_view Format_700( diff --git a/src/EnergyPlus/ReportCoilSelection.cc b/src/EnergyPlus/ReportCoilSelection.cc index 6e4939172b0..defc4a2b2d2 100644 --- a/src/EnergyPlus/ReportCoilSelection.cc +++ b/src/EnergyPlus/ReportCoilSelection.cc @@ -757,7 +757,6 @@ void ReportCoilSelection::doFinalProcessingOfCoilData(EnergyPlusData &state) } // fill out some fan information HVAC::FanType locFanType = HVAC::FanType::Invalid; - bool errorsFound(false); if (c->supFanNum == 0) { c->supFanNum = Fans::GetFanIndex(state, c->fanAssociatedWithCoilName); } @@ -919,7 +918,6 @@ void ReportCoilSelection::associateZoneCoilWithParent(EnergyPlusData &state, std auto &thisSubEq = zoneEquipList.EquipData(equipLoop).SubEquipData; // search for coil and fan SubEquipData and return parent type/name and fan type/name for coil reports. - auto const &coilIterator = std::find_if(thisSubEq.begin(), thisSubEq.end(), thisSubCoilLambda); if (std::find_if(thisSubEq.begin(), thisSubEq.end(), thisSubCoilLambda) != thisSubEq.end()) { c->typeHVACname = zoneEquipList.EquipTypeName(equipLoop); c->userNameforHVACsystem = zoneEquipList.EquipName(equipLoop); diff --git a/src/EnergyPlus/RoomAirModelManager.cc b/src/EnergyPlus/RoomAirModelManager.cc index 8c890593867..629950b8f1a 100644 --- a/src/EnergyPlus/RoomAirModelManager.cc +++ b/src/EnergyPlus/RoomAirModelManager.cc @@ -2707,12 +2707,9 @@ namespace RoomAir { // number.If incorrect name is given, errorsfound is returned as true and value is returned // as zero. - static constexpr std::string_view routineName = "CheckEquipName"; - // Return value bool EquipFind = false; // if true, equip is found - bool errorfound; int SupplyNodeNum = 0; int ReturnNodeNum = 0; diff --git a/src/EnergyPlus/SQLiteProcedures.cc b/src/EnergyPlus/SQLiteProcedures.cc index 5400885192b..731e3ece0d8 100644 --- a/src/EnergyPlus/SQLiteProcedures.cc +++ b/src/EnergyPlus/SQLiteProcedures.cc @@ -196,7 +196,7 @@ void CreateSQLiteZoneExtendedOutput(EnergyPlusData &state) auto const &surface = state.dataSurface->Surface(surfaceNumber); state.dataSQLiteProcedures->sqlite->addSurfaceData(surfaceNumber, surface, DataSurfaces::cSurfaceClass(surface.Class)); } - for (int materialNum = 1; materialNum <= state.dataMaterial->materials.size(); ++materialNum) { + for (int materialNum = 1; materialNum <= state.dataMaterial->materials.isize(); ++materialNum) { state.dataSQLiteProcedures->sqlite->addMaterialData(materialNum, state.dataMaterial->materials(materialNum)); } for (int constructNum = 1; constructNum <= state.dataHeatBal->TotConstructs; ++constructNum) { diff --git a/src/EnergyPlus/SingleDuct.cc b/src/EnergyPlus/SingleDuct.cc index f00564541db..d8ca61dd4ac 100644 --- a/src/EnergyPlus/SingleDuct.cc +++ b/src/EnergyPlus/SingleDuct.cc @@ -5279,7 +5279,7 @@ void SingleDuctAirTerminal::CalcVAVVS(EnergyPlusData &state, int const ZoneNode, // zone node number Real64 const HWFlow, // hot water flow (kg/s) Real64 const HCoilReq, // gas or elec coil demand requested - HVAC::FanType fanType, // type of fan + [[maybe_unused]] HVAC::FanType fanType, // type of fan Real64 const AirFlow, // air flow rate (kg/s) int const FanOn, // 1 means fan is on Real64 &LoadMet // load met by unit (watts) diff --git a/src/EnergyPlus/StandardRatings.cc b/src/EnergyPlus/StandardRatings.cc index 2142c6f7e74..b1b9008f44b 100644 --- a/src/EnergyPlus/StandardRatings.cc +++ b/src/EnergyPlus/StandardRatings.cc @@ -1086,8 +1086,6 @@ namespace StandardRatings { Real64 EER2(0.0); // Energy Efficiency Ratio using AHRI 210/140 - 2023 Real64 EER_2022(0.0); // Energy Efficiency Ratio in SI [W/W] Real64 IEER_2022(0.0); // Integerated Energy Efficiency Ratio in SI [W/W] - Real64 NetCoolingCapRated2022(0.0); - Real64 NetCoolingCapRatedMaxSpeed2023(0.0); Real64 HSPF(0.0); // Heating Seasonal Performance Factor in SI [W/W] Real64 NetHeatingCapRatedHighTemp(0.0); // Net Rated heating capacity at high temp [W] @@ -1538,8 +1536,6 @@ namespace StandardRatings { Real64 EER(0.0); Real64 NetCoolingCapRated(0.0); - int ns = 2; - StandardRatingsResult = TwoSpeedDXCoilStandardRatings(state, DXCoilName, DXCoilType, @@ -2448,7 +2444,7 @@ namespace StandardRatings { } std::tuple - SEER2CalulcationCurveFit(EnergyPlusData &state, std::string const &CoilType, EnergyPlus::CoilCoolingDXCurveFitOperatingMode operatingMode) + SEER2CalulcationCurveFit(EnergyPlusData &state, [[maybe_unused]] std::string const &CoilType, EnergyPlus::CoilCoolingDXCurveFitOperatingMode operatingMode) { Real64 EEER2(0.0); Real64 SEER2_User(0.0); @@ -4117,7 +4113,7 @@ namespace StandardRatings { std::pair GetMatchingSpeedFromBuildingLoad(Real64 buildingLoad, const Array1A &speedList) { std::pair result = {-1, -1}; // Initialize result to indicate no suitable number found - for (int i = 0; i < speedList.size(); ++i) { + for (int i = 0; i < speedList.isize(); ++i) { Real64 scaledSpeed = speedList[i]; if (scaledSpeed >= buildingLoad) { result = {speedList[i], i}; diff --git a/src/EnergyPlus/SystemAvailabilityManager.cc b/src/EnergyPlus/SystemAvailabilityManager.cc index 4bb55e55913..ee1c10871dc 100644 --- a/src/EnergyPlus/SystemAvailabilityManager.cc +++ b/src/EnergyPlus/SystemAvailabilityManager.cc @@ -842,7 +842,6 @@ namespace Avail { cAlphaFieldNames, cNumericFieldNames); - ErrorObjectHeader eoh{routineName, cCurrentModuleObject, cAlphaArgs(1)}; auto &diffThermoMgr = state.dataAvail->DiffThermoData(SysAvailNum); diffThermoMgr.Name = cAlphaArgs(1); diffThermoMgr.type = ManagerType::DiffThermo; @@ -922,7 +921,6 @@ namespace Avail { cAlphaFieldNames, cNumericFieldNames); - ErrorObjectHeader eoh{routineName, cCurrentModuleObject, cAlphaArgs(1)}; auto &hiTurnOffMgr = state.dataAvail->HiTurnOffData(SysAvailNum); hiTurnOffMgr.Name = cAlphaArgs(1); hiTurnOffMgr.type = ManagerType::HiTempTOff; @@ -976,7 +974,6 @@ namespace Avail { lAlphaFieldBlanks, cAlphaFieldNames, cNumericFieldNames); - ErrorObjectHeader eoh{routineName, cCurrentModuleObject, cAlphaArgs(1)}; auto &hiTurnOnMgr = state.dataAvail->HiTurnOnData(SysAvailNum); hiTurnOnMgr.Name = cAlphaArgs(1); hiTurnOnMgr.type = ManagerType::HiTempTOn; @@ -1095,7 +1092,6 @@ namespace Avail { cAlphaFieldNames, cNumericFieldNames); - ErrorObjectHeader eoh{routineName, cCurrentModuleObject, cAlphaArgs(1)}; auto &loTurnOnMgr = state.dataAvail->LoTurnOnData(SysAvailNum); loTurnOnMgr.Name = cAlphaArgs(1); loTurnOnMgr.type = ManagerType::LoTempTOn; @@ -1358,7 +1354,7 @@ namespace Avail { std::string const &AvailabilityListName, // name that should be an Availability Manager List Name int const Loop, // which loop this is int const NumAirLoops, // Total number of air loops - bool &ErrorsFound // true if certain errors are detected here + [[maybe_unused]] bool &ErrorsFound // true if certain errors are detected here ) { @@ -1426,7 +1422,7 @@ namespace Avail { void GetZoneEqAvailabilityManager(EnergyPlusData &state, int const ZoneEquipType, // Type of ZoneHVAC:* component int const CompNum, // Index of a particular ZoneHVAC:* component - bool &ErrorsFound // true if certain errors are detected here + [[maybe_unused]] bool &ErrorsFound // true if certain errors are detected here ) { @@ -1444,8 +1440,6 @@ namespace Avail { // SUBROUTINE LOCAL VARIABLE DECLARATIONS: std::string AvailabilityListName; // name that should be an Availability Manager List Name - int Found; - int Num; int CompNumAvailManagers; // Number of availability managers associated with a ZoneHVAC:* component if (state.dataAvail->GetAvailListsInput) { @@ -1506,7 +1500,6 @@ namespace Avail { using DataZoneEquipment::NumValidSysAvailZoneComponents; - int ZoneEquipType; int ZoneListNum; int ScanZoneListNum; int ZoneNum; @@ -1725,6 +1718,7 @@ namespace Avail { } } break; + default: { ShowSevereError(state, format("AvailabilityManager Type not found: {}", type)); ShowContinueError(state, format("Occurs in Manager={}", SysAvailName)); diff --git a/src/EnergyPlus/UtilityRoutines.cc b/src/EnergyPlus/UtilityRoutines.cc index 3f0ecaef058..3f79adca20f 100644 --- a/src/EnergyPlus/UtilityRoutines.cc +++ b/src/EnergyPlus/UtilityRoutines.cc @@ -497,9 +497,6 @@ int AbortEnergyPlus(EnergyPlusData &state) std::string NumSevereDuringWarmup; std::string NumWarningsDuringSizing; std::string NumSevereDuringSizing; - int Hours; // Elapsed Time Hour Reporting - int Minutes; // Elapsed Time Minute Reporting - Real64 Seconds; // Elapsed Time Second Reporting bool ErrFound; bool TerminalError; @@ -660,9 +657,6 @@ int EndEnergyPlus(EnergyPlusData &state) std::string NumSevereDuringWarmup; std::string NumWarningsDuringSizing; std::string NumSevereDuringSizing; - int Hours; // Elapsed Time Hour Reporting - int Minutes; // Elapsed Time Minute Reporting - Real64 Seconds; // Elapsed Time Second Reporting if (state.dataSQLiteProcedures->sqlite) { state.dataSQLiteProcedures->sqlite->updateSQLiteSimulationRecord(true, true); diff --git a/src/EnergyPlus/WindowComplexManager.cc b/src/EnergyPlus/WindowComplexManager.cc index 39ea8678ae1..78bbd664ebe 100644 --- a/src/EnergyPlus/WindowComplexManager.cc +++ b/src/EnergyPlus/WindowComplexManager.cc @@ -2641,8 +2641,6 @@ namespace WindowComplexManager { int ZoneNum; // Zone number corresponding to SurfNum - int i; - int TotLay; // Total number of layers in a construction // (sum of solid layers and gap layers) int Lay; // Layer number @@ -2692,18 +2690,12 @@ namespace WindowComplexManager { int CalcSHGC(0); // SHGC calculations are not necessary for E+ run int NumOfIterations(0); - int ICoeff; - std::string tarcogErrorMessage; // store error text from tarcog // Simon: locally used variables int ngllayer; int nglface; int nglfacep; - int TempInt; - int PillarPtr; - int DeflectionPtr; - int GasPointer; int ThermalModelNum; Real64 rmir; // IR radiance of window's interior surround (W/m2) Real64 outir; diff --git a/src/EnergyPlus/WindowManagerExteriorOptical.cc b/src/EnergyPlus/WindowManagerExteriorOptical.cc index 374692a7cc1..441af5298e6 100644 --- a/src/EnergyPlus/WindowManagerExteriorOptical.cc +++ b/src/EnergyPlus/WindowManagerExteriorOptical.cc @@ -371,7 +371,7 @@ namespace Window { { } - std::shared_ptr CWCEVenetianBlindMaterialsFactory::createVisibleRangeMaterial(EnergyPlusData &state) + std::shared_ptr CWCEVenetianBlindMaterialsFactory::createVisibleRangeMaterial([[maybe_unused]] EnergyPlusData &state) { auto const *matBlind = dynamic_cast(m_MaterialProperties); assert(matBlind != nullptr); diff --git a/src/EnergyPlus/WindowManagerExteriorThermal.cc b/src/EnergyPlus/WindowManagerExteriorThermal.cc index 0c75ff4b0c9..64b334f7061 100644 --- a/src/EnergyPlus/WindowManagerExteriorThermal.cc +++ b/src/EnergyPlus/WindowManagerExteriorThermal.cc @@ -695,7 +695,6 @@ namespace Window { Real64 thickness = 0.0; auto &s_mat = state.dataMaterial; - auto &surf = state.dataSurface->Surface(m_SurfNum); auto &surfWin = state.dataSurface->SurfaceWindow(m_SurfNum); auto const &surfShade = state.dataSurface->surfShades(m_SurfNum); @@ -715,7 +714,7 @@ namespace Window { } ///////////////////////////////////////////////////////////////////////////////////////// - std::shared_ptr CWCEHeatTransferFactory::getComplexGapLayer(EnergyPlusData &state, + std::shared_ptr CWCEHeatTransferFactory::getComplexGapLayer([[maybe_unused]] EnergyPlusData &state, Material::MaterialBase const *materialBase) const { // SUBROUTINE INFORMATION: