|
METHOD
|
#include <boundaryConds.h>


Public Member Functions | |
| Outflow (Data *data) | |
| virtual | ~Outflow () |
| void | apply (double *cons, double *prims=NULL, double *aux=NULL) |
Additional Inherited Members | |
Protected Member Functions inherited from Bcs | |
| Bcs (Data *data) | |
| virtual | ~Bcs () |
Protected Attributes inherited from Bcs | |
| Data * | data |
Outflow boundary conditions
Imposes flows that exit the domain freely at all boundaries, analogous to a domain that extends to infinity in each direction. All ghost cells are identical to their nearest physical cell.
For left-right reconstruction:
Before...
______________________________
|0|1|2|3|4||5|6|..... |12||13||14|15|16|17|
|0|1|2|3|4||5|6|..... |12||13||14|15|16|17|
After....
______________________________
|4|4|4|4||4|5|6|..... |12||13||13|13|13|13|
|4|4|4|4||4|5|6|..... |12||13||13|13|13|13|
..and similar in other directions.
Definition at line 70 of file boundaryConds.h.
|
inline |
Constructor.
Calls constructor of base class to store the pointer to the Data class.
| [in] | *data | pointer to Data class |
Definition at line 80 of file boundaryConds.h.
|
inlinevirtual |
Destructor.
Definition at line 82 of file boundaryConds.h.
|
virtual |
Application function.
Applies the Outflow boundary conditions to the ghost cells.
| [in,out] | *cons | pointer to the conservative (sized) vector |
| [in,out] | *prims | optional pointer to the primitive vector |
| [in,out] | *aux | optional pointer to the primitive vector |
Implements Bcs.