ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <AMReX.H>
#include <AMReX_Geometry.H>
#include <AMReX_MultiFab.H>
#include <ERF_IndexDefines.H>
Go to the source code of this file.
Functions | |
void | init_zlevels (amrex::Vector< amrex::Vector< amrex::Real >> &zlevels_stag, amrex::Vector< amrex::Vector< amrex::Real >> &stretched_dz_h, amrex::Vector< amrex::Gpu::DeviceVector< amrex::Real >> &stretched_dz_d, amrex::Vector< amrex::Geometry > const &geom, amrex::Vector< amrex::IntVect > const &ref_ratio, const amrex::Real grid_stretching_ratio, const amrex::Real zsurf, const amrex::Real dz0) |
void | init_terrain_grid (int lev, const amrex::Geometry &geom, amrex::MultiFab &z_phys_nd, amrex::Vector< amrex::Real > const &z_levels_h, amrex::GpuArray< ERF_BC, AMREX_SPACEDIM *2 > &phys_bc_type) |
void | init_which_terrain_grid (int lev, const amrex::Geometry &geom, amrex::MultiFab &z_phys_nd, amrex::Vector< amrex::Real > const &z_levels_h) |
AMREX_FORCE_INLINE AMREX_GPU_DEVICE amrex::Real | Compute_h_zeta_AtCellCenter (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtCellCenter (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtCellCenter (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_zeta_AtIface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtIface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtIface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_zeta_AtJface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtJface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtJface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_zeta_AtKface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtKface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtKface (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_zeta_AtEdgeCenterK (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtEdgeCenterK (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtEdgeCenterK (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_zeta_AtEdgeCenterJ (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtEdgeCenterJ (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtEdgeCenterJ (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_zeta_AtEdgeCenterI (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_xi_AtEdgeCenterI (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_h_eta_AtEdgeCenterI (const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Compute_Zrel_AtCellCenter (const int &i, const int &j, const int &k, const amrex::Array4< const amrex::Real > &z_nd) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | OmegaFromW (int i, int j, int k, amrex::Real w, const amrex::Array4< const amrex::Real > u_arr, const amrex::Array4< const amrex::Real > v_arr, const amrex::Array4< const amrex::Real > z_nd, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxInv) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | WFromOmega (int i, int j, int k, amrex::Real omega, amrex::Real u, amrex::Real v, const amrex::Array4< const amrex::Real > &z_nd, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxInv) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | WFromOmega (int i, int j, int k, amrex::Real omega, const amrex::Array4< const amrex::Real > &u_arr, const amrex::Array4< const amrex::Real > &v_arr, const amrex::Array4< const amrex::Real > &z_nd, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxInv) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | rotate_scalar_flux (const int &i, const int &j, const int &klo, const amrex::Real &flux, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxInv, const amrex::Array4< const amrex::Real > &zphys_arr, const amrex::Array4< amrex::Real > &phi1_arr, const amrex::Array4< amrex::Real > &phi2_arr, const amrex::Array4< amrex::Real > &phi3_arr) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | rotate_stress_tensor (const int &i, const int &j, const int &klo, const amrex::Real &flux, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxInv, const amrex::Array4< const amrex::Real > &zphys_arr, const amrex::Array4< const amrex::Real > &u_arr, const amrex::Array4< const amrex::Real > &v_arr, const amrex::Array4< const amrex::Real > &w_arr, const amrex::Array4< amrex::Real > &tau11_arr, const amrex::Array4< amrex::Real > &tau22_arr, const amrex::Array4< amrex::Real > &tau33_arr, const amrex::Array4< amrex::Real > &tau12_arr, const amrex::Array4< amrex::Real > &tau21_arr, const amrex::Array4< amrex::Real > &tau13_arr, const amrex::Array4< amrex::Real > &tau31_arr, const amrex::Array4< amrex::Real > &tau23_arr, const amrex::Array4< amrex::Real > &tau32_arr) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtCellCenter | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeStrain_T(), ComputeStressConsVisc_T(), ComputeStressVarVisc_T(), ERFPhysBCFunct_cons::impose_vertical_cons_bcs(), rotate_scalar_flux(), MOSTAverage::set_norm_indices_T(), and MOSTAverage::set_norm_positions_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtEdgeCenterI | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeStrain_T(), ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtEdgeCenterJ | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtEdgeCenterK | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtIface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ERFPhysBCFunct_u::impose_vertical_xvel_bcs(), and rotate_stress_tensor().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtJface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by DiffusionSrcForState_T(), erf_fast_rhs_MT(), erf_fast_rhs_T(), erf_slow_rhs_pre(), ERFPhysBCFunct_v::impose_vertical_yvel_bcs(), MOSTAverage::set_rotated_fields(), and ERF::WritePlotFile().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtKface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtCellCenter | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeStrain_T(), ComputeStressConsVisc_T(), ComputeStressVarVisc_T(), ERFPhysBCFunct_cons::impose_vertical_cons_bcs(), rotate_scalar_flux(), MOSTAverage::set_norm_indices_T(), and MOSTAverage::set_norm_positions_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtEdgeCenterI | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtEdgeCenterJ | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeStrain_T(), ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtEdgeCenterK | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtIface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by DiffusionSrcForState_T(), erf_fast_rhs_MT(), erf_fast_rhs_T(), erf_slow_rhs_pre(), ERFPhysBCFunct_u::impose_vertical_xvel_bcs(), rotate_stress_tensor(), MOSTAverage::set_rotated_fields(), and ERF::WritePlotFile().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtJface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ERFPhysBCFunct_v::impose_vertical_yvel_bcs().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtKface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
AMREX_FORCE_INLINE AMREX_GPU_DEVICE amrex::Real Compute_h_zeta_AtCellCenter | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by MOSTAverage::compute_region_averages(), ComputeDiffusivityMYNN25(), ComputeDiffusivityYSU(), ComputeTurbulentViscosityLES(), and ERFPhysBCFunct_cons::impose_vertical_cons_bcs().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtEdgeCenterI | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by AdvectionSrcForMom(), AdvectionSrcForZMom(), ComputeStrain_T(), ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtEdgeCenterJ | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by AdvectionSrcForMom(), AdvectionSrcForZMom(), ComputeStrain_T(), ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtEdgeCenterK | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by AdvectionSrcForMom(), AdvectionSrcForXMom(), AdvectionSrcForYMom(), ComputeStrain_T(), ComputeStressConsVisc_T(), and ComputeStressVarVisc_T().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtIface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by DiffusionSrcForState_T(), erf_fast_rhs_MT(), erf_fast_rhs_T(), erf_make_tau_terms(), erf_slow_rhs_pre(), ERFPhysBCFunct_u::impose_vertical_xvel_bcs(), and ERF::WritePlotFile().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtJface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by DiffusionSrcForState_T(), erf_fast_rhs_MT(), erf_fast_rhs_T(), erf_make_tau_terms(), erf_slow_rhs_pre(), ERFPhysBCFunct_v::impose_vertical_yvel_bcs(), and ERF::WritePlotFile().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtKface | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by DiffusionSrcForState_T(), and erf_slow_rhs_pre().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_Zrel_AtCellCenter | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const amrex::Array4< const amrex::Real > & | z_nd | ||
) |
Referenced by ComputeDiffusivityMYNN25(), and ComputeDiffusivityYSU().
void init_terrain_grid | ( | int | lev, |
const amrex::Geometry & | geom, | ||
amrex::MultiFab & | z_phys_nd, | ||
amrex::Vector< amrex::Real > const & | z_levels_h, | ||
amrex::GpuArray< ERF_BC, AMREX_SPACEDIM *2 > & | phys_bc_type | ||
) |
void init_which_terrain_grid | ( | int | lev, |
const amrex::Geometry & | geom, | ||
amrex::MultiFab & | z_phys_nd, | ||
amrex::Vector< amrex::Real > const & | z_levels_h | ||
) |
void init_zlevels | ( | amrex::Vector< amrex::Vector< amrex::Real >> & | zlevels_stag, |
amrex::Vector< amrex::Vector< amrex::Real >> & | stretched_dz_h, | ||
amrex::Vector< amrex::Gpu::DeviceVector< amrex::Real >> & | stretched_dz_d, | ||
amrex::Vector< amrex::Geometry > const & | geom, | ||
amrex::Vector< amrex::IntVect > const & | ref_ratio, | ||
const amrex::Real | grid_stretching_ratio, | ||
const amrex::Real | zsurf, | ||
const amrex::Real | dz0 | ||
) |
Utility routines for constructing terrain metric terms
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real OmegaFromW | ( | int | i, |
int | j, | ||
int | k, | ||
amrex::Real | w, | ||
const amrex::Array4< const amrex::Real > | u_arr, | ||
const amrex::Array4< const amrex::Real > | v_arr, | ||
const amrex::Array4< const amrex::Real > | z_nd, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | dxInv | ||
) |
Define omega given u,v and w
Referenced by erf_fast_rhs_MT(), erf_fast_rhs_T(), erf_make_tau_terms(), and erf_slow_rhs_pre().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void rotate_scalar_flux | ( | const int & | i, |
const int & | j, | ||
const int & | klo, | ||
const amrex::Real & | flux, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | dxInv, | ||
const amrex::Array4< const amrex::Real > & | zphys_arr, | ||
const amrex::Array4< amrex::Real > & | phi1_arr, | ||
const amrex::Array4< amrex::Real > & | phi2_arr, | ||
const amrex::Array4< amrex::Real > & | phi3_arr | ||
) |
Referenced by ABLMost::compute_most_bcs().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void rotate_stress_tensor | ( | const int & | i, |
const int & | j, | ||
const int & | klo, | ||
const amrex::Real & | flux, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | dxInv, | ||
const amrex::Array4< const amrex::Real > & | zphys_arr, | ||
const amrex::Array4< const amrex::Real > & | u_arr, | ||
const amrex::Array4< const amrex::Real > & | v_arr, | ||
const amrex::Array4< const amrex::Real > & | w_arr, | ||
const amrex::Array4< amrex::Real > & | tau11_arr, | ||
const amrex::Array4< amrex::Real > & | tau22_arr, | ||
const amrex::Array4< amrex::Real > & | tau33_arr, | ||
const amrex::Array4< amrex::Real > & | tau12_arr, | ||
const amrex::Array4< amrex::Real > & | tau21_arr, | ||
const amrex::Array4< amrex::Real > & | tau13_arr, | ||
const amrex::Array4< amrex::Real > & | tau31_arr, | ||
const amrex::Array4< amrex::Real > & | tau23_arr, | ||
const amrex::Array4< amrex::Real > & | tau32_arr | ||
) |
Referenced by ABLMost::compute_most_bcs().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real WFromOmega | ( | int | i, |
int | j, | ||
int | k, | ||
amrex::Real | omega, | ||
amrex::Real | u, | ||
amrex::Real | v, | ||
const amrex::Array4< const amrex::Real > & | z_nd, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | dxInv | ||
) |
Define w given scalar u,v and omega
Referenced by erf_fast_rhs_MT(), erf_fast_rhs_T(), ERFPhysBCFunct_w::impose_lateral_zvel_bcs(), ERFPhysBCFunct_w::impose_vertical_zvel_bcs(), ERF::project_velocities(), and WFromOmega().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real WFromOmega | ( | int | i, |
int | j, | ||
int | k, | ||
amrex::Real | omega, | ||
const amrex::Array4< const amrex::Real > & | u_arr, | ||
const amrex::Array4< const amrex::Real > & | v_arr, | ||
const amrex::Array4< const amrex::Real > & | z_nd, | ||
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > & | dxInv | ||
) |
Define w given u and v arrays and scalar omega