#include "Domain/Domain.h"
#include "Domain/DomainTraits.Region.h"
#include "Domain/NewDomain.h"
Classes | |
class | Region< Dim, T > |
Region<N,T> is a domain representing a set of N continuous 1D regions, one for each dimension N. More... | |
class | Region< 1, T > |
Region<1> is a 1D specialization of Region<N>; for the 1D case, there are only a restricted set of constructors available. More... |
It is basically an array of Region<1> objects. It is templated on the number of dimensions, and the data type used to store the values (generally double or float, but possibly any other type). The macro POOMA_DEFAULT_POSITION_TYPE defines the type for a default parameter value for the floating point type; if this macro is not defined, double is used. So you can construct a Region<N>, and there will be a default type T = double used. The user can override what the default type should be by defining POOMA_DEFAULT_POSITION_TYPE when their application is built.
Region defers most of its implementation to the Domain<DomainTraits<Region>> base class.