MCPcopy Create free account
hub / github.com/Kitware/VTK / SumIntegral

Method SumIntegral

Filters/General/vtkSumTables.cxx:142–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141 template <typename IntTypeA, typename IntTypeB>
142 void SumIntegral(vtkIdType begin, vtkIdType end)
143 {
144 TupleFetcher<IntTypeA> tupleA(this->Result);
145 TupleFetcher<IntTypeB> tupleB(this->Summand);
146 for (vtkIdType ii = begin; ii < end; ++ii)
147 {
148 tupleA.Fetch(ii);
149 tupleB.Fetch(ii);
150 tupleA += tupleB;
151 tupleA.Update(ii);
152 }
153 }
154
155 void SumFloatingPoint(vtkIdType begin, vtkIdType end)
156 {

Callers

nothing calls this directly

Calls 2

FetchMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected