Square box outer boundary conditions. More...
#include <PeriodicBox.hpp>


Public Member Functions | |
| bool | AreWeReflective (Edge const &edge) const |
| Return wheter an edge is reflective or not. More... | |
| BoundaryType | GetBoundaryType (void) const |
| Returns the boundary type. More... | |
| bool | PointIsReflective (Vector2D const &point) const |
| Checks if the point is a reflected point outside the domain. More... | |
| double | GetGridBoundary (Directions dir) const |
| Returns the boundary coordinate. More... | |
| PeriodicBox (double left, double right, double up, double down) | |
| Class constructor. More... | |
| PeriodicBox (const Vector2D &lower_left, const Vector2D &upper_right) | |
| Class constructor. More... | |
| std::pair< Vector2D, Vector2D > | getBoundaries (void) const |
| Returns the lower left and upper right corners. More... | |
Public Member Functions inherited from OuterBoundary | |
| vector< Edge > | GetBoxEdges (void) const |
| Returns the outer box as a set of edges in the order: Right, Up, Left and Down. All neighbors are set to zero. More... | |
Square box outer boundary conditions.
Definition at line 12 of file PeriodicBox.hpp.
| PeriodicBox::PeriodicBox | ( | double | left, |
| double | right, | ||
| double | up, | ||
| double | down | ||
| ) |
Class constructor.
| left | The left coordinate |
| right | The right coordinate |
| up | The yp coordinate |
| down | The down coordinate |
Definition at line 14 of file PeriodicBox.cpp.
Class constructor.
| lower_left | Lower left corner |
| upper_right | Upper right corner |
Definition at line 21 of file PeriodicBox.cpp.
|
virtual |
Return wheter an edge is reflective or not.
| edge | The edge to check |
Implements OuterBoundary.
Definition at line 9 of file PeriodicBox.cpp.
Returns the lower left and upper right corners.
Definition at line 31 of file PeriodicBox.cpp.
|
virtual |
Returns the boundary type.
Implements OuterBoundary.
Definition at line 37 of file PeriodicBox.cpp.
|
virtual |
Returns the boundary coordinate.
| dir | The direction of the boundary |
Implements OuterBoundary.
Definition at line 42 of file PeriodicBox.cpp.
|
virtual |
Checks if the point is a reflected point outside the domain.
| point | The point to check |
Implements OuterBoundary.
Definition at line 4 of file PeriodicBox.cpp.
1.8.13