11 #include "SpaceBox.hpp"
36 template<
unsigned int dim,
typename T>
48 for (
size_t i = 0 ; i < dim ; i++)
58 for (
size_t i = 0 ; i < dim ; i++)
68 for (
size_t i = 0 ; i < dim ; i++)
97 template<
unsigned int dim>
107 Padding(std::initializer_list<size_t>
p1, std::initializer_list<size_t>
p2)
Padding(std::initializer_list< size_t > p1, std::initializer_list< size_t > p2)
Constructor from initializer list.
T getLow(int i) const
get the i-coordinate of the low bound interval of the box
Ghost(const Ghost< dim, S > &g)
T getHigh(int i) const
get the high interval of the box
Class that contain Padding information on each direction positive and Negative direction.
void setHigh(int i, T val)
set the high interval of the box
This class implement the point shape in an N-dimensional space.
Ghost< dim, T > & operator/=(const Point< dim, T > &p)
Divide component wise the ghost box with a point.
static const unsigned int p1
Low point.
void setLow(int i, T val)
set the low interval of the box
This class represent an N-dimensional box.
static const unsigned int p2
High point.
Box< dim, T > & operator/=(const Point< dim, T > &p)
Divide component wise each box points with a point.
void set(std::initializer_list< T > p1, std::initializer_list< T > p2)
Constructor from initializer list.