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

Method ProcessFields

Filters/HyperTree/vtkHyperTreeGridGradient.cxx:609–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607//------------------------------------------------------------------------------
608template <class Worker>
609void vtkHyperTreeGridGradient::ProcessFields(Worker& worker)
610{
611 // Retrieve global index of input cursor
612 vtkIdType nbCells = this->OutGradArray->GetNumberOfTuples();
613 for (vtkIdType id = 0; id < nbCells; id++)
614 {
615 if (this->InGhostArray && this->InGhostArray->GetTuple1(id))
616 {
617 continue;
618 }
619 if (this->InMask && this->InMask->GetTuple1(id))
620 {
621 continue;
622 }
623 worker.ComputeRequestedArraysAt(id);
624 }
625}
626VTK_ABI_NAMESPACE_END

Callers 1

ProcessTreesMethod · 0.95

Calls 3

GetTuple1Method · 0.80
GetNumberOfTuplesMethod · 0.45

Tested by

no test coverage detected