MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / next

Method next

src/OpenFOAM/containers/Circulators/Circulator/CirculatorI.H:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137template<class ContainerType>
138typename Foam::Circulator<ContainerType>::reference
139Foam::Circulator<ContainerType>::next() const
140{
141 if (iter_ == end_ - 1)
142 {
143 return *begin_;
144 }
145
146 return *(iter_ + 1);
147}
148
149
150template<class ContainerType>

Callers 3

mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36