ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
erf_surface_layer Namespace Reference

Functions

bool planar_sources_supported_for_terrain (TerrainType terrain_type, bool use_sst, bool use_tsk, bool use_coupled_sst, bool has_lsm_tsurf, bool has_lsm_fluxes, bool has_custom_roughness)
 

Function Documentation

◆ planar_sources_supported_for_terrain()

bool erf_surface_layer::planar_sources_supported_for_terrain ( TerrainType  terrain_type,
bool  use_sst,
bool  use_tsk,
bool  use_coupled_sst,
bool  has_lsm_tsurf,
bool  has_lsm_fluxes,
bool  has_custom_roughness 
)
inline
38 {
39  return terrain_type != TerrainType::EB ||
40  !(use_sst || use_tsk || use_coupled_sst || has_lsm_tsurf ||
41  has_lsm_fluxes || has_custom_roughness);
42 }

Referenced by SurfaceLayer::make_SurfaceLayer_at_level().

Here is the caller graph for this function: