Class Simple_Canopy#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Type#

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#

Public Members

double LAI#
double CanopyHeight#
int canopyType#
double rain_load#
double Snow_load#
double cum_net_snow#
double cum_net_rain#
double cum_Subl_Cpy#
double cum_intcp_evap#
double cum_SUnload_H2O#