|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include "ERF_DataStruct.H"#include "ERF_Interpolation_UPW.H"#include "ERF_Interpolation_WENO.H"#include "ERF_Interpolation_WENO_Z.H"

Go to the source code of this file.
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | isSupportedInterpolationAdvType (const AdvType adv_type) noexcept |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | interpolatedVal (amrex::Real avg1, amrex::Real avg2, amrex::Real avg3, amrex::Real diff1, amrex::Real diff2, amrex::Real diff3, amrex::Real scaled_upw, const AdvType adv_type) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | InterpolateInX (int i, int j, int k, const amrex::Array4< const amrex::Real > &qty, int qty_index, amrex::Real upw, const AdvType adv_type) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | InterpolateInY (int i, int j, int k, const amrex::Array4< const amrex::Real > &qty, int qty_index, amrex::Real upw, const AdvType adv_type) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | InterpolateInZ (int i, int j, int k, const amrex::Array4< const amrex::Real > &qty, int qty_index, amrex::Real upw, const AdvType adv_type) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | InterpolatePertFromCell (int i, int j, int k, const amrex::Array4< const amrex::Real > &qty, int qty_index, amrex::Real upw, Coord coordDir, const AdvType adv_type, const amrex::Array4< const amrex::Real > &r0_arr) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | InterpolateDensityPertFromCellToFace (int i, int j, int k, const amrex::Array4< const amrex::Real > &cons_in, amrex::Real upw, Coord coordDir, const AdvType adv_type, const amrex::Array4< const amrex::Real > &r0_arr) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real InterpolateDensityPertFromCellToFace | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< const amrex::Real > & | cons_in, | ||
| amrex::Real | upw, | ||
| Coord | coordDir, | ||
| const AdvType | adv_type, | ||
| const amrex::Array4< const amrex::Real > & | r0_arr | ||
| ) |
Interpolate the density perturbation from cell center to face.
| i | x-index |
| j | y-index |
| k | z-index |
| cons_in | Conservative variable field |
| upw | Upwind direction |
| coordDir | Coordinate direction |
| adv_type | Advection scheme type |
| r0_arr | Base state field |

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real interpolatedVal | ( | amrex::Real | avg1, |
| amrex::Real | avg2, | ||
| amrex::Real | avg3, | ||
| amrex::Real | diff1, | ||
| amrex::Real | diff2, | ||
| amrex::Real | diff3, | ||
| amrex::Real | scaled_upw, | ||
| const AdvType | adv_type | ||
| ) |
Compute interpolated value based on averages, differences, and advection type.
| avg1 | First average |
| avg2 | Second average |
| avg3 | Third average |
| diff1 | First difference |
| diff2 | Second difference |
| diff3 | Third difference |
| scaled_upw | Scaled upwind factor |
| adv_type | Advection scheme type |
Referenced by InterpolateInX(), InterpolateInY(), InterpolateInZ(), and InterpolatePertFromCell().


| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real InterpolateInX | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< const amrex::Real > & | qty, | ||
| int | qty_index, | ||
| amrex::Real | upw, | ||
| const AdvType | adv_type | ||
| ) |
Interpolate a quantity in the x-direction.
| i | x-index |
| j | y-index |
| k | z-index |
| qty | Quantity field |
| qty_index | Component index |
| upw | Upwind direction |
| adv_type | Advection scheme type |

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real InterpolateInY | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< const amrex::Real > & | qty, | ||
| int | qty_index, | ||
| amrex::Real | upw, | ||
| const AdvType | adv_type | ||
| ) |
Interpolate a quantity in the y-direction.
| i | x-index |
| j | y-index |
| k | z-index |
| qty | Quantity field |
| qty_index | Component index |
| upw | Upwind direction |
| adv_type | Advection scheme type |

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real InterpolateInZ | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< const amrex::Real > & | qty, | ||
| int | qty_index, | ||
| amrex::Real | upw, | ||
| const AdvType | adv_type | ||
| ) |
Interpolate a quantity in the z-direction.
| i | x-index |
| j | y-index |
| k | z-index |
| qty | Quantity field |
| qty_index | Component index |
| upw | Upwind direction |
| adv_type | Advection scheme type |

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real InterpolatePertFromCell | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< const amrex::Real > & | qty, | ||
| int | qty_index, | ||
| amrex::Real | upw, | ||
| Coord | coordDir, | ||
| const AdvType | adv_type, | ||
| const amrex::Array4< const amrex::Real > & | r0_arr | ||
| ) |
Interpolate the perturbation of a quantity from cell center to face.
| i | x-index |
| j | y-index |
| k | z-index |
| qty | Quantity field |
| qty_index | Component index |
| upw | Upwind direction |
| coordDir | Coordinate direction |
| adv_type | Advection scheme type |
| r0_arr | Base state field |
Referenced by InterpolateDensityPertFromCellToFace().


|
noexcept |
Interpolation operators used in construction of advective fluxes using non-WENO centered/upwind schemes.
Referenced by interpolatedVal().
