|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | z_face_at_xy (amrex::Real x, amrex::Real y, int k_face, amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > const &plo, amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > const &dxi, amrex::Array4< amrex::Real const > const &height_arr) noexcept |
| Bilinear interpolation of the height array at (x, y) for a given vertical node index k_face. More... | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | z_from_zeta (amrex::Real x, amrex::Real y, amrex::Real zeta, amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > const &plo, amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > const &dxi, amrex::Array4< amrex::Real const > const &height_arr) noexcept |
| Convert computational vertical coordinate zeta to physical z at column (x, y). More... | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | zeta_from_z (amrex::Real x, amrex::Real y, amrex::Real z, amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > const &plo, amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > const &dxi, amrex::Array4< amrex::Real const > const &height_arr, int k_max) noexcept |
| Convert physical z to computational vertical coordinate zeta at column (x, y). More... | |
|
noexcept |
Bilinear interpolation of the height array at (x, y) for a given vertical node index k_face.
| [in] | x | Physical x-coordinate. |
| [in] | y | Physical y-coordinate. |
| [in] | k_face | Vertical node index. |
| [in] | plo | Lower bound of the box. |
| [in] | dxi | Inverse grid spacing. |
| [in] | height_arr | Array of node-centered heights. |
Referenced by z_from_zeta(), and zeta_from_z().

|
noexcept |
Convert computational vertical coordinate zeta to physical z at column (x, y).
| [in] | x | Physical x-coordinate. |
| [in] | y | Physical y-coordinate. |
| [in] | zeta | Computational vertical coordinate. |
| [in] | plo | Lower bound of the box. |
| [in] | dxi | Inverse grid spacing. |
| [in] | height_arr | Array of node-centered heights. |

|
noexcept |
Convert physical z to computational vertical coordinate zeta at column (x, y).
| [in] | x | Physical x-coordinate. |
| [in] | y | Physical y-coordinate. |
| [in] | z | Physical z-coordinate. |
| [in] | plo | Lower bound of the box. |
| [in] | dxi | Inverse grid spacing. |
| [in] | height_arr | Array of node-centered heights. |
| [in] | k_max | Largest valid cell index in the level. |
