Class slope_iswr#
Defined in File slope_iswr.hpp
Inheritance Relationships#
Base Type#
public module_base(Class module_base)
Class Documentation#
-
class slope_iswr : public module_base#
Calculates incoming direct-beam shortwave solar radiation to slope
Depends:
Incoming solar shortwave radiation, all beam “iswr” [ \( W \cdot m^{-2} \) ]
Incoming solar shortwave radiation, direct beam “iswr_direct” [ \( W \cdot m^{-2} \) ]
Incoming solar shortwave radiation, diffuse beam “iswr_diffuse” [ \( W \cdot m^{-2} \) ]
Solar elevation “solar_el” [degrees]
Solar azimuth “solar_az” [degrees]
Optional:
Shadow map “shadow” [0,1]
Provides:
Slope corrected shortwave all beam “iswr” [W/m^2]
Slope corrected shortwave direct “iswr_direct” [W/m^2]
Solar angle “solar_angle” [degrees]
{ "no_slope": false }
- no_slope#
Disables slope correction calcuation when
true
- Default:
false
Public Functions
-
slope_iswr(config_file cfg)#
-
~slope_iswr()#
-
virtual void run(mesh_elem &face)#
Needs to be implemented by each data parallel module. This will be called and executed for each timestep
- Parameters:
face – The terrain element (triangle) to be worked upon for an element parallel domain
global_param – A pointer to the shared global paramter space with domain-wide paramters
Public Members
-
bool assume_no_slope#