ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_TopographicShadingKernels.H File Reference
#include <AMReX_Array4.H>
#include <AMReX_GpuQualifiers.H>
#include <ERF_Constants.H>
#include <cmath>
#include <limits>
Include dependency graph for ERF_TopographicShadingKernels.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  erf_topography::Sun
 

Namespaces

 erf_topography
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Sun erf_topography::sun_direction (double calday, double declin, Real lat_deg, Real lon_deg)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_topography::incidence (Real hx, Real hy, Sun s)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int erf_topography::wrap (int i, int lo, int n)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool erf_topography::shadowed (int i, int j, const amrex::Array4< const Real > &terrain, int ilo, int ihi, int jlo, int jhi, bool periodic_x, bool periodic_y, Real dx, Real dy, Sun s, Real search_length)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_topography::corrected_shortwave (Real direct, Real diffuse, Real factor)