Proto
3.2
|
Stencil Library | |
static Stencil< T > | Proto::Stencil< T >::Identity () |
static Stencil< T > | Proto::Stencil< T >::Derivative (int a_n, int a_dir, int a_order=2) |
Stencil Library: Derivative. More... | |
static Stencil< T > | Proto::Stencil< T >::Laplacian () |
Stencil Library: Laplacian. More... | |
static Stencil< T > | Proto::Stencil< T >::LaplacianFace (int a_dir, int a_order=2) |
Stencil Library: Perpendicular Laplacian. More... | |
static Stencil< T > | Proto::Stencil< T >::CellToFace (int a_dir, Side::LoHiSide a_side=Side::Lo, int a_order=4) |
Stencil Library: Cell to Face Interpolation. More... | |
static Stencil< T > | Proto::Stencil< T >::DiffCellToFace (int a_dir, Side::LoHiSide a_side=Side::Lo, int a_order=4) |
Stencil Library: Cell to Face Differentiation. More... | |
static Stencil< T > | Proto::Stencil< T >::CellToFaceL (int a_dir, int a_order=4) |
Stencil Library: Upwind Cell to Face Interpolation. More... | |
static Stencil< T > | Proto::Stencil< T >::CellToFaceH (int a_dir, int a_order=4) |
Stencil Library: Upwind Cell to Face Interpolation. More... | |
static Stencil< T > | Proto::Stencil< T >::AvgDown (int a_refRatio) |
Stencil Library: Simple Average. More... | |
static Stencil< T > | Proto::Stencil< T >::AvgDown (Point a_refRatio) |
Stencil Library: Anisotropic Average. More... | |
static Stencil< T > | Proto::Stencil< T >::Sum (int a_refRatio) |
Stencil Library: Sum. More... | |
static Stencil< T > | Proto::Stencil< T >::Sum (Point a_refRatio) |
Stencil Library: Sum. More... | |
static Stencil< T > | Proto::Stencil< T >::AvgDownFace (int a_normDir, Side::LoHiSide a_side, int a_refRatio) |
Stencil Library: Simple Average over a Face. More... | |
static Stencil< T > | Proto::Stencil< T >::AvgDownFace (int a_dir, Side::LoHiSide a_side, Point a_refRatio) |
Stencil Library: Simple Average over a Face. More... | |
static Stencil< T > | Proto::Stencil< T >::FluxDivergence (int a_dir) |
Stencil Library: Flux Divergence. More... | |
static Stencil< T > | Proto::Stencil< T >::faceToCell (int a_dir, int a_order=4) |
Interpolate from face average to cell average. More... | |
static Stencil< T > | Proto::Stencil< T >::cornersToFaces (int a_dir, int a_order=4) |
Interpolate from corners to face average. More... | |
static Stencil< T > | Proto::Stencil< T >::CornersToCells (int a_order=4) |
Interpolate from corners to cell average. More... | |
|
inlinestatic |
|
static |
Stencil Library: Derivative.
Built in implementation of compact differentiation stencils. Includes derivatives of order n >= 1 and accuracy m >= 2 where n + m <= 14.
a_n | Degree of derivative (e.g. nth derivative.) |
a_dir | Coordinate of differentiation. Must be in [0,DIM) |
a_order | (Optional) Order of accuracy. An unsigned int >= 2. Maximum accuracy depends on a_n. (Default: 2) |
|
static |
Stencil Library: Laplacian.
Built in implementation of the 2nd order 2*DIM + 1 point Laplace operator.
|
static |
Stencil Library: Perpendicular Laplacian.
Built in implementation of Laplacian perpendicular to direction dir
a_dir | Normal direction |
a_order | (Optional) Order of accuracy (default: 2 | supported: 2) |
|
static |
Stencil Library: Cell to Face Interpolation.
Interpolates cell averaged values to face averaged values. The a_side
controls if the face averaged output is on the upper or lower face of the cell at the center of the stencil. For finer control of the Stencil's centering, see the functions CellToFaceL
and CelltoFaceH
.
|
static |
|
static |
Stencil Library: Upwind Cell to Face Interpolation.
Interpolates cell averaged values to face averaged values. The a_side
controls if the face averaged output is on the upper or lower face of the cell at the center of the stencil. For even orders, this function is identical to CellToFace. For odd orders, the stencil is upwinded
Example Stencil Footprints:
dir | Coordinate direction in [0, DIM) |
order | (Optional) Order of accuracy. ( default: 4 | supported: 4, 5 ) |
|
static |
Stencil Library: Upwind Cell to Face Interpolation.
Interpolates cell averaged values to face averaged values. The a_side
controls if the face averaged output is on the upper or lower face of the cell at the center of the stencil. For even orders, this function is identical to CellToFace. For odd orders, the Stencil is downwinded.
Example Stencil Footprints:
dir | Coordinate direction in [0, DIM) |
order | (Optional) Order of accuracy. ( default: 4 | supported: 4, 5 ) |
|
static |
Stencil Library: Simple Average.
Averages data from a refined grid onto a coarsened grid. Refinement is assumed to be isotropic. Source data is refined relative to the destination data by a_refRatio
a_refRatio | Refinement ratio. |
|
static |
Stencil Library: Anisotropic Average.
Anisotropic overload of AvgDown
.
a_refRatio | Refinement ratio |
|
static |
Stencil Library: Sum.
Undivided average (e.g. the sum of all elements). Source data is refined relative to the destination data by a_refRatio
a_refRatio | Refinement ratio |
|
static |
|
static |
|
static |
|
static |
Stencil Library: Flux Divergence.
Simple flux differencing stencil: OUT(i) = IN(i+1) - IN(i) Assumes the low-side fluxes are stored in cell i.
a_dir | Coordinate axis in the flux normal direction. |
|
static |
Interpolate from face average to cell average.
|
static |
Interpolate from corners to face average.
|
static |
Interpolate from corners to cell average.