VTK-m
2.0
|
Functor used by DIY reduce the merge data blocks in parallel. More...
#include <ComputeDistributedContourTreeFunctor.h>
Public Member Functions | |
ComputeDistributedContourTreeFunctor (vtkm::Id3 globalSize, bool useBoundaryExtremaOnly, vtkm::cont::LogLevel timingsLogLevel=vtkm::cont::LogLevel::Perf, vtkm::cont::LogLevel treeLogLevel=vtkm::cont::LogLevel::Info) | |
Create the functor. More... | |
void | operator() (vtkm::worklet::contourtree_distributed::DistributedContourTreeBlockData< FieldType > *block, const vtkmdiy::ReduceProxy &rp, const vtkmdiy::RegularSwapPartners &) const |
Operator used by DIY to compute a step in the fan in. More... | |
Private Attributes | |
vtkm::Id3 | GlobalSize |
Extends of the global mesh. More... | |
bool | UseBoundaryExtremaOnly |
Use boundary extrema only (instead of the full boundary) during the fan in. More... | |
vtkm::cont::LogLevel | TimingsLogLevel = vtkm::cont::LogLevel::Perf |
Log level to be used for outputting timing information. Default is vtkm::cont::LogLevel::Perf. More... | |
vtkm::cont::LogLevel | TreeLogLevel = vtkm::cont::LogLevel::Info |
Log level to be used for outputting metadata about the trees. Default is vtkm::cont::LogLevel::Info. More... | |
Functor used by DIY reduce the merge data blocks in parallel.
|
inline |
Create the functor.
[in] | globalSize | Global extends of the input mesh (i.e., number of mesh points in each dimension) |
[in] | timingsLogLevel | Set the vtkm::cont:LogLevel to be used to record timings information specific to the computation of the hierachical contour tree |
[in] | treeLogLevel | Set the vtkm::cont:LogLevel to be used to record metadata information about the various trees computed as part of the hierarchical contour tree compute |
|
inline |
Operator used by DIY to compute a step in the fan in.
[in] | block | The local data block to be processed in this step. Instance of DistributedContourTreeBlockData. |
[in] | rp | DIY communication proxy |
[in] | unused | partners of the current block (unused) |
|
private |
Extends of the global mesh.
|
private |
Log level to be used for outputting timing information. Default is vtkm::cont::LogLevel::Perf.
|
private |
Log level to be used for outputting metadata about the trees. Default is vtkm::cont::LogLevel::Info.
|
private |
Use boundary extrema only (instead of the full boundary) during the fan in.