OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
NDRegion< T, Dim > Class Template Reference

#include <NDRegion.h>

Collaboration diagram for NDRegion< T, Dim >:

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

◆ 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 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, 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, 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, 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, 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, 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, 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, NDRegion(), nr, and p.

Here is the call graph for this function:

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 contains(), Dim, NDRegion(), nr, and p.

Referenced by 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, empty(), and p.

Referenced by 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, getMessage(), and p.

Referenced by 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, NDRegion(), nr, and p.

Here is the call graph for this function:

◆ 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, NDRegion(), and p.

Here is the call graph for this function:

◆ 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, NDRegion(), and p.

Here is the call graph for this function:

◆ 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, NDRegion(), and p.

Here is the call graph for this function:

◆ 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, NDRegion(), and p.

Here is the call graph for this function:

◆ 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, NDRegion(), nr, and p.

Here is the call graph for this function:

◆ 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 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 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, p, and putMessage().

Referenced by 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(), p, and split().

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, NDRegion(), and p.

Referenced by split().

Here is the call graph for this function:

◆ 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, and p.

Member Data Documentation

◆ p


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