MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / resetAdjacentFoundation

Method resetAdjacentFoundation

src/model/Surface.cpp:2015–2024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2013 }
2014
2015 void Surface_Impl::resetAdjacentFoundation() {
2016 boost::optional<FoundationKiva> adjacentFoundation = this->adjacentFoundation();
2017 if (adjacentFoundation) {
2018 bool result = setString(OS_SurfaceFields::OutsideBoundaryConditionObject, "");
2019 OS_ASSERT(result);
2020 this->assignDefaultBoundaryCondition();
2021 this->assignDefaultSunExposure();
2022 this->assignDefaultWindExposure();
2023 }
2024 }
2025
2026 boost::optional<SurfacePropertyExposedFoundationPerimeter>
2027 Surface_Impl::createSurfacePropertyExposedFoundationPerimeter(const std::string& exposedPerimeterCalculationMethod, double exposedPerimeter) {

Callers 1

TEST_FFunction · 0.80

Tested by 1

TEST_FFunction · 0.64