Class p_no_lapse
Defined in File p_no_lapse.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public module_base
(Class module_base)
Class Documentation
-
class p_no_lapse : public module_base
Spatially distributes liquid water precipitation with no lapsing
Depends from met:
Precipitation “p” [ \(mm \cdot dt^{-1}\)]
Provides:
Precipitation “p” [ \(mm \cdot dt^{-1}\)]
Precipitation corrected for triangle slope. If
"apply_cosine_correction": false
, then no change. “p_no_slope” [ \(mm \cdot dt^{-1}\)]
Configuration:
{ "apply_cosine_correction": false }
- apply_cosine_correction
Correct precipitation input using triangle slope when input preciptation are given for the horizontally projected area.
- Type:
boolean
- Default:
false
Public Functions
-
p_no_lapse(config_file cfg)
-
~p_no_lapse()
-
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
-
virtual void init(mesh &domain)
Public Members
-
bool apply_cosine_correction