1#ifndef LEAF_GBW_CAMPBELL_H
2#define LEAF_GBW_CAMPBELL_H
4#include "../framework/module.h"
5#include "../framework/state_map.h"
21 state_map
const& input_quantities,
22 state_map* output_quantities)
26 windspeed{get_input(input_quantities,
"windspeed")},
27 leafwidth{get_input(input_quantities,
"leafwidth")},
28 air_temperature{get_input(input_quantities,
"temp")},
29 leaf_temperature{get_input(input_quantities,
"leaf_temperature")},
30 air_pressure{get_input(input_quantities,
"air_pressure")},
33 gbw_leaf_op{get_op(output_quantities,
"gbw_leaf")}
38 static std::string
get_name() {
return "leaf_gbw_campbell"; }
42 double const& windspeed;
43 double const& leafwidth;
44 double const& air_temperature;
45 double const& leaf_temperature;
46 double const& air_pressure;
52 void do_operation()
const;
73void leaf_gbw_campbell::do_operation()
const
79 leaf_temperature - air_temperature,
85 update(gbw_leaf_op, gbw_leaf);
double leaf_boundary_layer_conductance_campbell(double air_temperature, double delta_t, double lw, double windspeed, double p)
Calculates the conductance for water vapor flow from the leaf across its boundary layer using a model...
Calculates the boundary layer conductance using the leaf_boundary_layer_conductance_campbell() functi...
leaf_gbw_campbell(state_map const &input_quantities, state_map *output_quantities)
static string_vector get_outputs()
static string_vector get_inputs()
static std::string get_name()
This is the standard BioCro module library; it includes the essential modules used in typical BioCro ...