|
Saras
Finite Difference Solver for Fluid Dynamics Simulations
|
The derived class from boundary to impose null boundary condition that leaves the data unchanged. More...
#include "lib/boundary/boundary.h"
Public Member Functions | |
| nullBC (const grid &mesh, field &inField, const int bcWall) | |
| void | imposeBC () |
| Prototype function to impose the boundary conditions on the given field. More... | |
Public Member Functions inherited from boundary | |
| boundary (const grid &mesh, field &inField, const int bcWall) | |
| Constructor of the boundary class. More... | |
Additional Inherited Members | |
Protected Attributes inherited from boundary | |
| const grid & | mesh |
| A const reference to the global variables stored in the grid class to access mesh data. | |
| field & | dField |
| Reference to the field onto which the boundary condition has to be applied. | |
| bool | rankFlag |
| The flag is true for MPI ranks on which the boundary condition has to be applied. | |
| const int | wallNum |
| The const integer denotes the wall at which the boundary condition is being applied. | |
| int | shiftDim |
| Denotes the dimension normal to the wall at which the boundary condition is applied. | |
| int | shiftVal |
| The number of points by which the view of the wall slice is shifted to when applying the boundary condition. | |
The derived class from boundary to impose null boundary condition that leaves the data unchanged.
|
inlinevirtual |
Prototype function to impose the boundary conditions on the given field.
Based on the values of wallNum, shiftDim, shiftVal and fieldVal, the appropriate BC (neumann/dirichlet/mixed)
is imposed on the field.
Reimplemented from boundary.