VTK-m  2.0
Public Member Functions | Private Attributes | List of all members
vtkm::worklet::contourtree_distributed::ComputeDistributedContourTreeFunctor< FieldType > Class Template Reference

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...
 

Detailed Description

template<typename FieldType>
class vtkm::worklet::contourtree_distributed::ComputeDistributedContourTreeFunctor< FieldType >

Functor used by DIY reduce the merge data blocks in parallel.

Constructor & Destructor Documentation

◆ ComputeDistributedContourTreeFunctor()

template<typename FieldType >
vtkm::worklet::contourtree_distributed::ComputeDistributedContourTreeFunctor< FieldType >::ComputeDistributedContourTreeFunctor ( vtkm::Id3  globalSize,
bool  useBoundaryExtremaOnly,
vtkm::cont::LogLevel  timingsLogLevel = vtkm::cont::LogLevel::Perf,
vtkm::cont::LogLevel  treeLogLevel = vtkm::cont::LogLevel::Info 
)
inline

Create the functor.

Parameters
[in]globalSizeGlobal extends of the input mesh (i.e., number of mesh points in each dimension)
[in]timingsLogLevelSet the vtkm::cont:LogLevel to be used to record timings information specific to the computation of the hierachical contour tree
[in]treeLogLevelSet the vtkm::cont:LogLevel to be used to record metadata information about the various trees computed as part of the hierarchical contour tree compute

Member Function Documentation

◆ operator()()

template<typename FieldType >
void vtkm::worklet::contourtree_distributed::ComputeDistributedContourTreeFunctor< FieldType >::operator() ( vtkm::worklet::contourtree_distributed::DistributedContourTreeBlockData< FieldType > *  block,
const vtkmdiy::ReduceProxy &  rp,
const vtkmdiy::RegularSwapPartners &   
) const
inline

Operator used by DIY to compute a step in the fan in.

Parameters
[in]blockThe local data block to be processed in this step. Instance of DistributedContourTreeBlockData.
[in]rpDIY communication proxy
[in]unusedpartners of the current block (unused)

Member Data Documentation

◆ GlobalSize

template<typename FieldType >
vtkm::Id3 vtkm::worklet::contourtree_distributed::ComputeDistributedContourTreeFunctor< FieldType >::GlobalSize
private

Extends of the global mesh.

◆ TimingsLogLevel

Log level to be used for outputting timing information. Default is vtkm::cont::LogLevel::Perf.

◆ TreeLogLevel

Log level to be used for outputting metadata about the trees. Default is vtkm::cont::LogLevel::Info.

◆ UseBoundaryExtremaOnly

template<typename FieldType >
bool vtkm::worklet::contourtree_distributed::ComputeDistributedContourTreeFunctor< FieldType >::UseBoundaryExtremaOnly
private

Use boundary extrema only (instead of the full boundary) during the fan in.


The documentation for this class was generated from the following file: