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

Method branchIndexForOutletModelObject

src/model/Splitter.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 unsigned Splitter_Impl::branchIndexForOutletModelObject(ModelObject modelObject) const {
70 int stop = nextBranchIndex();
71 for (int i = 0; i < stop; i++) {
72 if (outletModelObject(i) == modelObject) {
73 return i;
74 }
75 }
76 return 0;
77 }
78
79 unsigned Splitter_Impl::nextBranchIndex() const {
80 unsigned i = 0;

Callers 6

removeFromLoopMethod · 0.80
removeBranchForZoneMethod · 0.80
removeSupplyPlenumMethod · 0.80
addToNodeMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected