6 #ifndef HALFPERIODICBOX_HPP 7 #define HALFPERIODICBOX_HPP 1 9 #include "../OuterBoundary.hpp" 37 double _left,_right,_up,_down;
40 #endif // HALFPERIODICBOX_HPP Directions
Directions of boundaries of the computational domain.
double GetGridBoundary(Directions dir) const
Returns the boundary coordinate.
Interface between two cells.
bool PointIsReflective(Vector2D const &point) const
Checks if the point is a reflected point outside the domain.
BoundaryType
Type of boundary.
bool AreWeReflective(Edge const &edge) const
Return wheter an edge is reflective or not.
BoundaryType GetBoundaryType(void) const
Returns the boundary type.
Abstract class for geometric boundary conditions for the tessellation.
HalfPeriodicBox(double left, double right, double up, double down)
Class constructor.
Square box outer boundary conditions with two sides reflective and two periodic. The x direction is t...
std::pair< Vector2D, Vector2D > getBoundaries(void) const
Returns the lower left and upper right corners.