ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <AMReX_REAL.H>
Go to the source code of this file.
Functions | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | interpolate_1d (const amrex::Real *alpha, const amrex::Real *beta, const amrex::Real alpha_interp, const int alpha_size) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real interpolate_1d | ( | const amrex::Real * | alpha, |
const amrex::Real * | beta, | ||
const amrex::Real | alpha_interp, | ||
const int | alpha_size | ||
) |
Interpolates 1D array beta at the location alpha_interp in the array alpha requiring 1D arrays alpha and beta to be the same size alpha_size. This routine assumes the alpha data are monotonic from lowest to highest.
Referenced by init_bx_scalars_from_input_sounding(), init_bx_scalars_from_input_sounding_hse(), init_bx_velocities_from_input_sounding(), InputSoundingData::read_from_file(), InputSpongeData::read_from_file(), ERF::setRayleighRefFromSounding(), and ERF::setSpongeRefFromSounding().