All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_BlockedRange< T > Class Template Reference

Declare prior to use. More...

#include <UT_ParallelUtil.h>

+ Inheritance diagram for UT_BlockedRange< T >:


class  ValueWrapper

Public Member Functions

 UT_BlockedRange ()=delete
 UT_BlockedRange (T begin_value, T end_value, size_t grainsize=1)
 UT_BlockedRange (UT_BlockedRange &R, UT_Split split)
auto items () const

Detailed Description

template<typename T>
class UT_BlockedRange< T >

Declare prior to use.

UT_BlockedRange() is a simple wrapper using tbb for its implementation This meets the requirements for a Range object, which are:

  • Range::Range(const Range&);

    Copy constructor
  • Range::~Range();

  • bool Range::is_divisible() const;

    True if the range can be partitioned into two sub-ranges
  • bool Range::empty() const;

    True if the range is empty
  • Range::Range(Range &r, UT_Split) const;

    Split the range r into two sub-ranges (i.e. modify r and *this)
tetprim/GEO_PrimTetra.C, and tetprim/GEO_PrimTetra.h.

Definition at line 57 of file UT_ParallelUtil.h.

Constructor & Destructor Documentation

template<typename T>
UT_BlockedRange< T >::UT_BlockedRange ( )
template<typename T>
UT_BlockedRange< T >::UT_BlockedRange ( T  begin_value,
T  end_value,
size_t  grainsize = 1 

Definition at line 995 of file UT_ParallelUtil.h.

template<typename T>
UT_BlockedRange< T >::UT_BlockedRange ( UT_BlockedRange< T > &  R,
UT_Split  split 

Definition at line 998 of file UT_ParallelUtil.h.

Member Function Documentation

template<typename T>
auto UT_BlockedRange< T >::items ( ) const

Definition at line 1037 of file UT_ParallelUtil.h.

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