Region.h File Reference

Region is a general type of continuous domain, which refers to all points between two endpoints a and b. More...

#include "Domain/Domain.h"
#include "Domain/DomainTraits.Region.h"
#include "Domain/NewDomain.h"

Include dependency graph for Region.h:

This graph shows which files directly or indirectly include this file:


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...

Detailed Description

Region is a general type of continuous domain, which refers to all points between two endpoints a and b.

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.


Generated on Wed Mar 16 06:18:52 2011 for FreePOOMA by  doxygen 1.5.9