impl Namespace Reference

AMR-Wind API: amr_wind::fvm::stencil::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()

amrex::Box amr_wind::fvm::stencil::impl::box_hi ( const amrex::Box & bx,
const amrex::Geometry & geom,
const int idir )
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]bxThe box whose layers are being considered
[in]geomThe amrex::Geometry object
[in]idirDirection 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()

amrex::Box amr_wind::fvm::stencil::impl::box_lo ( const amrex::Box & bx,
const amrex::Geometry & geom,
const int idir )
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]bxThe box whose layers are being considered
[in]geomThe amrex::Geometry object
[in]idirDirection 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