6 double left1,
double right1):
7 up(up1),down(down1),left(left1),right(right1)
9 if(down>=up||left>=right){
15 BCSides::~BCSides(
void)
20 up(0), down(0), left(0), right(0) {}
60 : _up(up), _down(down), _left(left), _right(right)
68 _right(origin._right) {}
70 WrongBCSidesOrderException::~WrongBCSidesOrderException(
void)
Sides of the boundary of the computational domain.
double GetDown(void) const
y coordinate of the lower boundary
double GetDown(void) const
Returns the y coordinate of the lower boundary.
Exception thrown if the boundaries are given in the wrong order.
BCSides(void)
Default constructor, initlizes to zero.
double GetUp(void) const
Returns the y coordinate of the upper boundary.
double GetLeft(void) const
Returns the x coordinate of the left boundary.
double GetLeft(void) const
Returns the x coordinate of the left boundary.
double GetRight(void) const
Returns the x coordinate of the right boundary.
BCSides & operator=(const BCSides &bc)
Assigment Operator.
double GetUp(void) const
y coordinate of the upper boundary
double GetRight(void) const
Returns the x coordinate of the right boundary.
WrongBCSidesOrderException(double down, double up, double left, double right)
Class constructor.