2 #include "../../../misc/universal_error.hpp" 15 :_left(left),_right(right),_up(up),_down(down)
17 if(left>=right||down>=up)
24 _right(upper_right.x),
28 assert((_up>_down) && (_right>_left));
33 return std::pair<Vector2D,Vector2D>(
Vector2D(_left,_down),
Directions
Directions of boundaries of the computational domain.
Container for error reports.
PeriodicBox(double left, double right, double up, double down)
Class constructor.
Interface between two cells.
bool AreWeReflective(Edge const &edge) const
Return wheter an edge is reflective or not.
BoundaryType
Type of boundary.
std::pair< Vector2D, Vector2D > getBoundaries(void) const
Returns the lower left and upper right corners.
BoundaryType GetBoundaryType(void) const
Returns the boundary type.
Square box outer boundary conditions.
double GetGridBoundary(Directions dir) const
Returns the boundary coordinate.
bool PointIsReflective(Vector2D const &point) const
Checks if the point is a reflected point outside the domain.