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

Method Execute

Testing/Core/vtkTestUtilities.cxx:291–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289
290 template <int N, class ArrayT1, class ArrayT2>
291 void Execute(vtkIdType id1, const ArrayT1& array1, vtkIdType id2, const ArrayT2& array2)
292 {
293 static_assert(N >= 0, "N cannot be negative when taking this path.");
294
295 using ConstTupleRef1 = typename ArrayT1::ConstTupleReferenceType;
296 using ConstTupleRef2 = typename ArrayT2::ConstTupleReferenceType;
297
298 ConstTupleRef1 u = array1[id1];
299 ConstTupleRef2 v = array2[id1];
300
301 this->Decider(VectorsAreNearlyEqual<N>(u, v, this->ToleranceFactor), id1, id2);
302 }
303
304 template <int, class ArrayT>
305 void Execute(vtkIdType id1, ArrayT* array1, vtkIdType id2, ArrayT* array2)

Callers

nothing calls this directly

Calls 2

GetNumberOfComponentsMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected