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_FORCE_INLINE void | expand_and_interpolate_1d (amrex::Vector< amrex::Real > &znew, const amrex::Vector< amrex::Real > &zorig, int refine_fac, bool destag=false) |
AMREX_FORCE_INLINE void expand_and_interpolate_1d | ( | amrex::Vector< amrex::Real > & | znew, |
const amrex::Vector< amrex::Real > & | zorig, | ||
int | refine_fac, | ||
bool | destag = false |
||
) |
Referenced by init_zlevels(), and ERF::setRayleighRefFromSounding().
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 Fitch::compute_power_output(), EWP::compute_power_output(), GeneralAD::compute_power_output(), SimpleAD::compute_power_output(), compute_source_terms_Fn_Ft(), init_bx_scalars_from_input_sounding(), init_bx_scalars_from_input_sounding_hse(), init_bx_velocities_from_input_sounding(), ERF::init_Dirichlet_bc_data(), ERF::init_geo_wind_profile(), InputSpongeData::read_from_file(), InputSoundingData::read_from_file(), ERF::setRayleighRefFromSounding(), ERF::setSpongeRefFromSounding(), EWP::source_terms_cellcentered(), Fitch::source_terms_cellcentered(), and SimpleAD::source_terms_cellcentered().