|
METHOD
|
#include <parallelBoundaryConds.h>


Public Member Functions | |
| ParallelFlow (Data *data, ParallelEnv *env) | |
| virtual | ~ParallelFlow () |
| void | apply (double *cons, double *prims=NULL, double *aux=NULL) |
| void | setYBoundary (double *stateVector, int nVars) |
| void | setZBoundary (double *stateVector, int nVars) |
Public Member Functions inherited from ParallelBcs | |
| ParallelBcs (Data *data, ParallelEnv *env) | |
| virtual | ~ParallelBcs () |
| void | swapGhostBuffers (double *sendToLeftBuf, double *sendToRightBuf, double *recvFromLeftBuf, double *recvFromRightBuf, int leftNeighbour, int rightNeighbour, int numCellsSent) |
| void | packXBuffer (double *sendToLeftBuf, double *sendToRightBuf, double *stateVector, int nVars) |
| void | unpackXBuffer (double *recvFromLeftBuf, double *recfFromRightBuf, double *stateVector, int nVars) |
| void | packYBuffer (double *sendToLeftBuf, double *sendToRightBuf, double *stateVector, int nVars) |
| void | unpackYBuffer (double *recvFromLeftBuf, double *recfFromRightBuf, double *stateVector, int nVars) |
| void | packZBuffer (double *sendToLeftBuf, double *sendToRightBuf, double *stateVector, int nVars) |
| void | unpackZBuffer (double *recvFromLeftBuf, double *recfFromRightBuf, double *stateVector, int nVars) |
Additional Inherited Members | |
Public Attributes inherited from ParallelBcs | |
| ParallelEnv * | env |
Protected Member Functions inherited from Bcs | |
| Bcs (Data *data) | |
| virtual | ~Bcs () |
Protected Attributes inherited from Bcs | |
| Data * | data |
Flow boundary conditions for a data structure that has been distributed across ranks
Boundary conditions used for the Kelvin Helmholtz instability. The x-direction is periodic and y- and z-directions are outflow.
Definition at line 265 of file parallelBoundaryConds.h.
|
inline |
Constructor.
Calls constructor of base class to store the pointer to the Data class and ParallelEnv class.
| [in] | *data | pointer to Data class |
| [in] | *env | pointer to ParallelEnv class |
Definition at line 275 of file parallelBoundaryConds.h.
|
inlinevirtual |
Destructor.
Definition at line 277 of file parallelBoundaryConds.h.
|
virtual |
Application function.
Applies the Flow 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.
| void ParallelFlow::setYBoundary | ( | double * | stateVector, |
| int | nVars | ||
| ) |
Applies the Flow boundary conditions to the ghost cells of subdomains that have an external face along the y dimension.
| [in,out] | *stateVector | pointer to one of cons, prims, aux |
| [in] | nVars | number of variables in the cons, prims or aux array |
| void ParallelFlow::setZBoundary | ( | double * | stateVector, |
| int | nVars | ||
| ) |
Applies the Flow boundary conditions to the ghost cells of subdomains that have an external face along the z dimension.
| [in,out] | *stateVector | pointer to one of cons, prims, aux |
| [in] | nVars | number of variables in the cons, prims or aux array |