FreePOOMA
2.4.1
|
The 1D-specialized version of Domain, which acts much like the ND version but also provides a number of new or redefined interface functions: More...
#include <Domain.h>
Public Types | |
typedef DT::Size_t | Size_t |
typedef DT::Element_t | Element_t |
typedef Base_t::Domain_t | Domain_t |
typedef Base_t::Storage_t | Storage_t |
typedef Base_t::const_iterator | const_iterator |
typedef Base_t::iterator | iterator |
typedef Base_t::const_blockIterator | const_blockIterator |
typedef Base_t::blockIterator | blockIterator |
Public Member Functions | |
Domain () | |
Domain (const Pooma::NoInit &d) | |
Domain_t & | operator[] (int) |
const Domain_t & | operator[] (int) const |
Element_t | elem (int n) const |
Element_t | operator() (int n) const |
Element_t | first () const |
Element_t | last () const |
Element_t | stride () const |
Size_t | length () const |
Element_t | min () const |
Element_t | max () const |
Size_t | size () const |
bool | empty () const |
bool | initialized () const |
int | loop () const |
template<class T > | |
void | setDomain (const T &newdom) |
template<class UT , class T > | |
void | setWildcardDomain (const UT &u, const T &newdom) |
void | setLoop (int newloop) |
template<class T > | |
bool | operator== (const T &d2) const |
template<class T > | |
bool | operator< (const T &d2) const |
template<class T > | |
bool | operator!= (const T &d2) const |
template<class T > | |
bool | operator> (const T &d2) const |
template<class T > | |
bool | operator<= (const T &d2) const |
template<class T > | |
bool | operator>= (const T &d2) const |
Domain_t & | operator++ () |
Domain_t & | operator-- () |
template<class T > | |
Domain_t & | operator+= (const T &d2) |
template<class T > | |
Domain_t & | operator-= (const T &d2) |
template<class T > | |
Domain_t & | operator*= (const T &d2) |
template<class T > | |
Domain_t & | operator/= (const T &d2) |
The 1D-specialized version of Domain, which acts much like the ND version but also provides a number of new or redefined interface functions:
typedef Base_t::Domain_t Domain< 1, DT >::Domain_t |
Reimplemented from DomainBase< DT >.
typedef Base_t::Storage_t Domain< 1, DT >::Storage_t |
Reimplemented from DomainBase< DT >.
typedef Base_t::const_iterator Domain< 1, DT >::const_iterator |
Reimplemented from DomainBase< DT >.
typedef Base_t::iterator Domain< 1, DT >::iterator |
Reimplemented from DomainBase< DT >.
typedef Base_t::const_blockIterator Domain< 1, DT >::const_blockIterator |
Reimplemented from DomainBase< DT >.
typedef Base_t::blockIterator Domain< 1, DT >::blockIterator |
Reimplemented from DomainBase< DT >.
Domain< 1, DT >::Domain | ( | const Pooma::NoInit & | d | ) | [inline] |
References CTAssert.
References DomainBase< DT >::unwrap().
References DomainBase< DT >::unwrap().
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m, and min().
References DomainBase< DT >::domain_m, and max().
References DomainBase< DT >::domain_m, and Domain< Dim, DT >::empty().
bool Domain< 1, DT >::initialized | ( | ) | const [inline] |
References Domain< Dim, DT >::empty().
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m, and setDomain().
void Domain< 1, DT >::setWildcardDomain | ( | const UT & | u, |
const T & | newdom | ||
) | [inline] |
References DomainBase< DT >::domain_m.
References DomainBase< DT >::domain_m.
bool Domain< 1, DT >::operator== | ( | const T & | d2 | ) | const [inline] |
References DomainBase< DT >::domain_m.
bool Domain< 1, DT >::operator< | ( | const T & | d2 | ) | const [inline] |
References DomainBase< DT >::domain_m.
bool Domain< 1, DT >::operator!= | ( | const T & | d2 | ) | const [inline] |
bool Domain< 1, DT >::operator> | ( | const T & | d2 | ) | const [inline] |
bool Domain< 1, DT >::operator<= | ( | const T & | d2 | ) | const [inline] |
bool Domain< 1, DT >::operator>= | ( | const T & | d2 | ) | const [inline] |
References DomainBase< DT >::domain_m, and DomainBase< DT >::unwrap().
References DomainBase< DT >::domain_m, and DomainBase< DT >::unwrap().
Domain_t& Domain< 1, DT >::operator+= | ( | const T & | d2 | ) | [inline] |
References DomainBase< DT >::domain_m, and DomainBase< DT >::unwrap().
Domain_t& Domain< 1, DT >::operator-= | ( | const T & | d2 | ) | [inline] |
References DomainBase< DT >::domain_m, and DomainBase< DT >::unwrap().
Domain_t& Domain< 1, DT >::operator*= | ( | const T & | d2 | ) | [inline] |
References DomainBase< DT >::domain_m, and DomainBase< DT >::unwrap().
Domain_t& Domain< 1, DT >::operator/= | ( | const T & | d2 | ) | [inline] |
References DomainBase< DT >::domain_m, and DomainBase< DT >::unwrap().