30 template<
unsigned Dim>
35 for (
unsigned d=0; d<
Dim; ++d)
36 Left[d] = Right[d] = s;
39 template<
unsigned Dim>
44 for (
unsigned d=0; d<
Dim; ++d)
45 Left[d] = Right[d] = s[d];
48 template<
unsigned Dim>
53 for (
unsigned d=0; d<
Dim; ++d) {
59 template<
unsigned Dim>
64 for (
unsigned d=0; d<
Dim; ++d) {
70 template<
unsigned Dim>
75 for (
unsigned d=0; d<
Dim; ++d)
79 template<
unsigned Dim>
84 for (
unsigned d=0; d<
Dim; ++d)
88 template<
unsigned Dim>
96 template<
unsigned Dim>
101 for (
unsigned d=0; d<
Dim; ++d)
105 template<
unsigned Dim>
110 for (
unsigned d=0; d<
Dim; ++d)
114 template<
unsigned Dim>
124 template<
unsigned Dim>
130 for (
unsigned d=0; d<
Dim; ++d)
131 out <<
"[" << gc.
left(d) <<
"," << gc.
right(d) <<
"]";
std::ostream & operator<<(std::ostream &out, const GuardCellSizes< Dim > &gc)
unsigned left(unsigned d) const
void set_Right(unsigned s)
void set_Left(unsigned s)
unsigned right(unsigned d) const