impl Namespace Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::fvm::stencil::impl Namespace Reference
Functions | |
amrex::Box | box_lo (const amrex::Box &bx, const amrex::Geometry &geom, const int idir) |
amrex::Box | box_hi (const amrex::Box &bx, const amrex::Geometry &geom, const int idir) |
Function Documentation
◆ box_hi()
|
inline |
Return a layer of cells adjacent to a non-periodic upper boundary
Given a box, this function returns a new box that contains the first layer of cells immediately adjacent to the lower boundary in the given direction (idir
).
- Parameters
-
[in] bx The box whose layers are being considered [in] geom The amrex::Geometry object [in] idir Direction in which the first cell adjacent to the boundary is desired
- Returns
- A box with a single layer of cells adjacent to the boundary or empty
◆ box_lo()
|
inline |
Return a layer of cells adjacent to a non-periodic lower boundary
Given a box, this function returns a new box that contains the first layer of cells immediately adjacent to the lower boundary in the given direction (idir
).
- Parameters
-
[in] bx The box whose layers are being considered [in] geom The amrex::Geometry object [in] idir Direction in which the first cell adjacent to the boundary is desired
- Returns
- A box with a single layer of cells adjacent to the boundary or empty
Generated by 1.12.0