Class Simple_Canopy
Defined in File Simple_Canopy.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public module_base
(Class module_base)
Class Documentation
-
class Simple_Canopy : public module_base
Public Functions
-
Simple_Canopy(config_file cfg)
-
~Simple_Canopy()
-
virtual void run(mesh_elem &elem)
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)
-
double delta(double ta)
-
double lambda(double ta)
-
double gamma(double air_pressure, double ta)
-
double Qs(double air_pressure, double ta)
-
virtual void checkpoint(mesh &domain, netcdf &chkpt)
Checkpoint (save state) the current module. By default this errors out if the modules does not support checkpointing.
- Parameters:
domain –
data –
-
virtual void load_checkpoint(mesh &domain, netcdf &chkpt)
-
struct data : public face_info
-
Simple_Canopy(config_file cfg)