VTK-m  2.0
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
vtkm::cont::openmp::scan::Adder< ScanBody > Struct Template Reference

#include <ParallelScanOpenMP.h>

Inheritance diagram for vtkm::cont::openmp::scan::Adder< ScanBody >:

Classes

struct  NodeWrapper
 

Public Types

using Node = NodeWrapper< typename ScanBody::Node >
 
using ValueType = typename ScanBody::ValueType
 

Public Member Functions

ValueType Execute (const vtkm::Id2 &range)
 

Public Attributes

vtkm::Id LeafSize
 
std::vector< NodeNodes
 
size_t NextNode
 

Private Member Functions

NodeAllocNode ()
 
bool IsLeaf (const vtkm::Id2 &range) const
 
vtkm::Id ComputeMidpoint (const vtkm::Id2 &range) const
 
void Prepare (const vtkm::Id2 &range)
 
void Scan (Node *node)
 
void UpdateOutput (Node *node)
 

Member Typedef Documentation

◆ Node

template<typename ScanBody >
using vtkm::cont::openmp::scan::Adder< ScanBody >::Node = NodeWrapper<typename ScanBody::Node>

◆ ValueType

template<typename ScanBody >
using vtkm::cont::openmp::scan::Adder< ScanBody >::ValueType = typename ScanBody::ValueType

Member Function Documentation

◆ AllocNode()

template<typename ScanBody >
Node* vtkm::cont::openmp::scan::Adder< ScanBody >::AllocNode ( )
inlineprivate

◆ ComputeMidpoint()

template<typename ScanBody >
vtkm::Id vtkm::cont::openmp::scan::Adder< ScanBody >::ComputeMidpoint ( const vtkm::Id2 range) const
inlineprivate

◆ Execute()

template<typename ScanBody >
ValueType vtkm::cont::openmp::scan::Adder< ScanBody >::Execute ( const vtkm::Id2 range)
inline

◆ IsLeaf()

template<typename ScanBody >
bool vtkm::cont::openmp::scan::Adder< ScanBody >::IsLeaf ( const vtkm::Id2 range) const
inlineprivate

◆ Prepare()

template<typename ScanBody >
void vtkm::cont::openmp::scan::Adder< ScanBody >::Prepare ( const vtkm::Id2 range)
inlineprivate

◆ Scan()

template<typename ScanBody >
void vtkm::cont::openmp::scan::Adder< ScanBody >::Scan ( Node node)
inlineprivate

◆ UpdateOutput()

template<typename ScanBody >
void vtkm::cont::openmp::scan::Adder< ScanBody >::UpdateOutput ( Node node)
inlineprivate

Member Data Documentation

◆ LeafSize

template<typename ScanBody >
vtkm::Id vtkm::cont::openmp::scan::Adder< ScanBody >::LeafSize

◆ NextNode

template<typename ScanBody >
size_t vtkm::cont::openmp::scan::Adder< ScanBody >::NextNode

◆ Nodes

template<typename ScanBody >
std::vector<Node> vtkm::cont::openmp::scan::Adder< ScanBody >::Nodes

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