Proto
3.2
|
A variation of Stencil used for applying boundary conditions. Consider the diagram below. BCStencil is designed to extrapolate the value of a ghost cell (A) using interior data (C) in addition to an edge centered value on the boundary (B). Note that a different MBStencil is needed to fill ghost cells at different distances from the boundary. The updated value (A) may have different units than the source values (B, C, D, ...); for example, A might be a flux while the source values have units of the associated state. The diagram below corresponds to the case where a ghost cell in the second layer of a low-face is being filled. More...
#include <Proto_BoundaryCondition.H>
Public Attributes | |
Stencil< T > | stencil |
T | coef |
A variation of Stencil used for applying boundary conditions. Consider the diagram below. BCStencil is designed to extrapolate the value of a ghost cell (A) using interior data (C) in addition to an edge centered value on the boundary (B). Note that a different MBStencil is needed to fill ghost cells at different distances from the boundary. The updated value (A) may have different units than the source values (B, C, D, ...); for example, A might be a flux while the source values have units of the associated state. The diagram below corresponds to the case where a ghost cell in the second layer of a low-face is being filled.
ghost <-|-> interior +—+—+—+—+- ... | A | B C | D | ... +—+—+—+—+ ...
As an equation: A = B*coef + stencil(C, D,...)
This structure is used primarily in the implementations to follow and is not recommended for public use.
Stencil<T> Proto::BCStencil< T >::stencil |
T Proto::BCStencil< T >::coef |