6 #ifndef PERIODICBOX_HPP 7 #define PERIODICBOX_HPP 1 9 #include "../OuterBoundary.hpp" 29 PeriodicBox(
double left,
double right,
double up,
double down);
44 const double _left,_right,_up,_down;
47 #endif // PERIODICBOX_HPP Directions
Directions of boundaries of the computational domain.
Square box outer boundary conditions.
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.
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.
Abstract class for geometric boundary conditions for the tessellation.