Skip to content

Commit

Permalink
switch integrated tutorial to BigLeafHydraulics
Browse files Browse the repository at this point in the history
  • Loading branch information
Espeer5 committed May 15, 2024
1 parent 767d96f commit 1fca4e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/tutorials/integrated/soil_canopy_tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ canopy_component_types = (;
radiative_transfer = Canopy.TwoStreamModel{FT},
photosynthesis = Canopy.FarquharModel{FT},
conductance = Canopy.MedlynConductanceModel{FT},
hydraulics = Canopy.PlantHydraulicsModel{FT},
hydraulics = Canopy.BigLeafHydraulicsModel{FT},
);

# Then provide arguments to the canopy radiative transfer, stomatal conductance,
Expand Down Expand Up @@ -272,10 +272,8 @@ plant_hydraulics_ps = PlantHydraulics.PlantHydraulicsParameters(;

plant_hydraulics_args = (
parameters = plant_hydraulics_ps,
n_stem = n_stem,
n_leaf = n_leaf,
compartment_midpoints = compartment_midpoints,
compartment_surfaces = compartment_surfaces,
h_stem = h_stem,
h_leaf = h_leaf,
);

# We may now collect all of the canopy component argument tuples into one
Expand Down
1 change: 1 addition & 0 deletions src/standalone/Vegetation/PlantHydraulics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ function root_water_flux_per_ground_area!(
(area_index.root + above_ground_area_index) / 2
end
end
end


"""
Expand Down

0 comments on commit 1fca4e1

Please sign in to comment.