OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Member Functions | Private Attributes | List of all members
NDRegion< T, Dim > Class Template Reference

#include <NDRegion.h>

Public Member Functions

 NDRegion ()
 
 NDRegion (PRegion< T > *idx)
 
 NDRegion (const PRegion< T > &r1)
 
 NDRegion (const PRegion< T > &r1, const PRegion< T > &r2)
 
 NDRegion (const PRegion< T > &r1, const PRegion< T > &r2, const PRegion< T > &r3)
 
 NDRegion (const PRegion< T > &r1, const PRegion< T > &r2, const PRegion< T > &r3, const PRegion< T > &r4)
 
 NDRegion (const PRegion< T > &r1, const PRegion< T > &r2, const PRegion< T > &r3, const PRegion< T > &r4, const PRegion< T > &r5)
 
 NDRegion (const PRegion< T > &r1, const PRegion< T > &r2, const PRegion< T > &r3, const PRegion< T > &r4, const PRegion< T > &r5, const PRegion< T > &r6)
 
 NDRegion (const NDRegion< T, Dim > &nr)
 
NDRegion< T, Dim > & operator= (const NDRegion< T, Dim > &nr)
 
const PRegion< T > & operator[] (unsigned d) const
 
PRegion< T > & operator[] (unsigned d)
 
volume () const
 
NDRegion< T, Dim > & operator+= (const T t)
 
NDRegion< T, Dim > & operator-= (const T t)
 
NDRegion< T, Dim > & operator*= (const T t)
 
NDRegion< T, Dim > & operator/= (const T t)
 
bool empty () const
 
NDRegion< T, Dimintersect (const NDRegion< T, Dim > &nr) const
 
bool touches (const NDRegion< T, Dim > &nr) const
 
bool contains (const NDRegion< T, Dim > &nr) const
 
bool split (NDRegion< T, Dim > &l, NDRegion< T, Dim > &r, unsigned d) const
 
bool split (NDRegion< T, Dim > &l, NDRegion< T, Dim > &r) const
 
MessageputMessage (Message &m)
 
MessagegetMessage (Message &m)
 

Private Attributes

PRegion< T > p [Dim]
 

Detailed Description

template<class T, unsigned Dim>
class NDRegion< T, Dim >

Definition at line 56 of file NDRegion.h.

Constructor & Destructor Documentation

◆ NDRegion() [1/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( )
inline

Definition at line 60 of file NDRegion.h.

◆ NDRegion() [2/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( PRegion< T > *  idx)
inline

Definition at line 63 of file NDRegion.h.

References Dim, and NDRegion< T, Dim >::p.

◆ NDRegion() [3/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const PRegion< T > &  r1)
inline

Definition at line 69 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and PInsist.

◆ NDRegion() [4/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const PRegion< T > &  r1,
const PRegion< T > &  r2 
)
inline

Definition at line 73 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and PInsist.

◆ NDRegion() [5/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const PRegion< T > &  r1,
const PRegion< T > &  r2,
const PRegion< T > &  r3 
)
inline

Definition at line 78 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and PInsist.

◆ NDRegion() [6/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const PRegion< T > &  r1,
const PRegion< T > &  r2,
const PRegion< T > &  r3,
const PRegion< T > &  r4 
)
inline

Definition at line 84 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and PInsist.

◆ NDRegion() [7/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const PRegion< T > &  r1,
const PRegion< T > &  r2,
const PRegion< T > &  r3,
const PRegion< T > &  r4,
const PRegion< T > &  r5 
)
inline

Definition at line 92 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and PInsist.

◆ NDRegion() [8/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const PRegion< T > &  r1,
const PRegion< T > &  r2,
const PRegion< T > &  r3,
const PRegion< T > &  r4,
const PRegion< T > &  r5,
const PRegion< T > &  r6 
)
inline

Definition at line 101 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and PInsist.

◆ NDRegion() [9/9]

template<class T , unsigned Dim>
NDRegion< T, Dim >::NDRegion ( const NDRegion< T, Dim > &  nr)
inline

Definition at line 113 of file NDRegion.h.

References Dim, nr, and NDRegion< T, Dim >::p.

Member Function Documentation

◆ contains()

template<class T , unsigned Dim>
bool NDRegion< T, Dim >::contains ( const NDRegion< T, Dim > &  nr) const
inline

Definition at line 182 of file NDRegion.h.

References NDRegion< T, Dim >::contains(), Dim, nr, and NDRegion< T, Dim >::p.

Referenced by NDRegion< T, Dim >::contains().

Here is the call graph for this function:

◆ empty()

template<class T , unsigned Dim>
bool NDRegion< T, Dim >::empty ( ) const
inline

Definition at line 160 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::empty(), and NDRegion< T, Dim >::p.

Referenced by NDRegion< T, Dim >::empty().

Here is the call graph for this function:

◆ getMessage()

template<class T , unsigned Dim>
Message & NDRegion< T, Dim >::getMessage ( Message m)
inline

Definition at line 226 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::getMessage(), and NDRegion< T, Dim >::p.

Referenced by NDRegion< T, Dim >::getMessage().

Here is the call graph for this function:

◆ intersect()

template<class T , unsigned Dim>
NDRegion< T, Dim > NDRegion< T, Dim >::intersect ( const NDRegion< T, Dim > &  nr) const
inline

Definition at line 168 of file NDRegion.h.

References Dim, nr, and NDRegion< T, Dim >::p.

◆ operator*=()

template<class T , unsigned Dim>
NDRegion< T, Dim > & NDRegion< T, Dim >::operator*= ( const T  t)
inline

Definition at line 148 of file NDRegion.h.

References Dim, and NDRegion< T, Dim >::p.

◆ operator+=()

template<class T , unsigned Dim>
NDRegion< T, Dim > & NDRegion< T, Dim >::operator+= ( const T  t)
inline

Definition at line 138 of file NDRegion.h.

References Dim, and NDRegion< T, Dim >::p.

◆ operator-=()

template<class T , unsigned Dim>
NDRegion< T, Dim > & NDRegion< T, Dim >::operator-= ( const T  t)
inline

Definition at line 143 of file NDRegion.h.

References Dim, and NDRegion< T, Dim >::p.

◆ operator/=()

template<class T , unsigned Dim>
NDRegion< T, Dim > & NDRegion< T, Dim >::operator/= ( const T  t)
inline

Definition at line 153 of file NDRegion.h.

References Dim, and NDRegion< T, Dim >::p.

◆ operator=()

template<class T , unsigned Dim>
NDRegion< T, Dim > & NDRegion< T, Dim >::operator= ( const NDRegion< T, Dim > &  nr)
inline

Definition at line 119 of file NDRegion.h.

References Dim, nr, and NDRegion< T, Dim >::p.

◆ operator[]() [1/2]

template<class T , unsigned Dim>
PRegion< T > & NDRegion< T, Dim >::operator[] ( unsigned  d)
inline

Definition at line 127 of file NDRegion.h.

References NDRegion< T, Dim >::p.

◆ operator[]() [2/2]

template<class T , unsigned Dim>
const PRegion< T > & NDRegion< T, Dim >::operator[] ( unsigned  d) const
inline

Definition at line 126 of file NDRegion.h.

References NDRegion< T, Dim >::p.

◆ putMessage()

template<class T , unsigned Dim>
Message & NDRegion< T, Dim >::putMessage ( Message m)
inline

Definition at line 219 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and NDRegion< T, Dim >::putMessage().

Referenced by NDRegion< T, Dim >::putMessage().

Here is the call graph for this function:

◆ split() [1/2]

template<class T , unsigned Dim>
bool NDRegion< T, Dim >::split ( NDRegion< T, Dim > &  l,
NDRegion< T, Dim > &  r 
) const
inline

Definition at line 204 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, NDRegion< T, Dim >::split(), and Attrib::Legacy::Distribution::T.

Here is the call graph for this function:

◆ split() [2/2]

template<class T , unsigned Dim>
bool NDRegion< T, Dim >::split ( NDRegion< T, Dim > &  l,
NDRegion< T, Dim > &  r,
unsigned  d 
) const
inline

Definition at line 190 of file NDRegion.h.

References Dim, and NDRegion< T, Dim >::p.

Referenced by NDRegion< T, Dim >::split().

◆ touches()

template<class T , unsigned Dim>
bool NDRegion< T, Dim >::touches ( const NDRegion< T, Dim > &  nr) const
inline

◆ volume()

template<class T , unsigned Dim>
T NDRegion< T, Dim >::volume ( ) const
inline

Definition at line 130 of file NDRegion.h.

References Dim, NDRegion< T, Dim >::p, and Attrib::Legacy::Distribution::T.

Member Data Documentation

◆ p

template<class T , unsigned Dim>
PRegion<T> NDRegion< T, Dim >::p[Dim]
private

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