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

Method resetAdjacentSubSurface

src/model/SubSurface.cpp:808–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806 }
807
808 void SubSurface_Impl::resetAdjacentSubSurface() {
809 bool test = setString(OS_SubSurfaceFields::OutsideBoundaryConditionObject, "");
810 OS_ASSERT(test);
811
812 for (WorkspaceObject& wo : this->getSources(IddObjectType::OS_SubSurface)) {
813 test = wo.setString(OS_SubSurfaceFields::OutsideBoundaryConditionObject, "");
814 OS_ASSERT(test);
815 }
816 }
817
818 boost::optional<SurfacePropertyConvectionCoefficients> SubSurface_Impl::surfacePropertyConvectionCoefficients() const {
819 std::vector<SurfacePropertyConvectionCoefficients> spccs(model().getConcreteModelObjects<SurfacePropertyConvectionCoefficients>());

Callers 6

removeMethod · 0.95
setAdjacentSubSurfaceMethod · 0.95
unmatchSurfacesMethod · 0.80
setAdjacentSurfaceMethod · 0.80
resetAdjacentSurfaceMethod · 0.80
TEST_FFunction · 0.80

Calls 2

getSourcesMethod · 0.80
setStringMethod · 0.45

Tested by 1

TEST_FFunction · 0.64