#include "Domain/Domain.h"
#include "Domain/DomainTraits.Grid.h"
#include "Domain/NewDomain.h"
#include "Domain/Loc.h"
#include <iosfwd>
Classes | |
class | Grid< Dim > |
Grid<N> is a domain representing a set of N numeric sequences, one for each dimension N. More... | |
class | Grid< 1 > |
Grid<1> is a 1D specialization of Grid<N>; for the 1D case, there are only a restricted set of constructors available. More... | |
Functions | |
template<int Dim> | |
std::ostream & | operator<< (std::ostream &o, const Grid< Dim > &grid) |
print a Grid<N> to a stream, in the format "[" value1,value2,. |
.. aN for each dimension.
The points can be any ascending or descending sequence, there is no fixed stride. This is basically a set of Dim IndirectionList<int>'s, one for each dimension; the total domain is the tensor product of these lists. Grid<Dim> is basically an array of Grid<1> objects.
Grid defers most of its implementation to the Domain<DomainTraits<Grid>> base class.
std::ostream& operator<< | ( | std::ostream & | o, | |
const Grid< Dim > & | grid | |||
) | [inline] |
print a Grid<N> to a stream, in the format "[" value1,value2,.
..,valueN "]"