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

Method branchIndexForInletModelObject

src/model/Mixer.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 unsigned Mixer_Impl::branchIndexForInletModelObject(const ModelObject& modelObject) const {
64 unsigned stop = nextBranchIndex();
65
66 for (unsigned i = 0; i < stop; i++) {
67 if (inletModelObject(i) == modelObject) {
68 return i;
69 }
70 }
71 return 0;
72 }
73
74 unsigned Mixer_Impl::nextBranchIndex() const {
75 unsigned i = 0;

Callers 7

removeFromLoopMethod · 0.80
removeBranchForZoneMethod · 0.80
addToNodeMethod · 0.80
removeMethod · 0.80
removeReturnPlenumMethod · 0.80
removeReturnPlenumMethod · 0.80
resetPlenumorMixerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected