|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_DataStruct.H>#include <AMReX_Geometry.H>#include <AMReX_MultiFab.H>#include <AMReX_Gpu.H>

Go to the source code of this file.
Classes | |
| class | NullWindFarm |
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | windfarm_face_height_above_ground (const amrex::Array4< const amrex::Real > &zp, int i, int j, int kf, int klo, amrex::Real dz) noexcept |
|
noexcept |
Height above the ground of the horizontal face kf at the center of column (i,j). With z_phys_nd (zp) it is the mean of the four nodes of the face minus that of the bottom face klo; without it, the uniform spacing dz above the domain bottom. Wind farm hub heights are measured from the ground, as in WindFarm::fill_SMark_multifab*.
Referenced by EWP::source_terms_cellcentered(), and Fitch::source_terms_cellcentered().
