Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcaceres committed May 25, 2024
1 parent af670ad commit c0d06aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
^vignettes/parametrization/*$
^cran-comments\.md$
^figures/*$
^man/figures/*$
^CRAN-SUBMISSION$
^LICENSE\.md$
4 changes: 2 additions & 2 deletions R/defaultControl.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
#' \item{\code{multiLayerBalance [= FALSE]}: Flag to indicate multiple canopy energy balance. If \code{FALSE}, canopy is considered a single layer for energy balance.}
#' \item{\code{sapFluidityVariation [= TRUE]}: Flag to indicate that temperature affects sap fluidity (and indirectly plant conductance).}
#' \item{\code{TPhase_gmin [= 37.5]}: Temperature for transition phase of gmin.}
#' \item{\code{Q10_1_gmin [= 1.2]}: Temperature dependance of gmin when T TPhase.}
#' \item{\code{Q10_2_gmin [= 4.8]}: Temperature dependance of gmin when T > TPhase.}
#' \item{\code{Q10_1_gmin [= 1.2]}: Temperature dependance of gmin when T less than or equal to TPhase.}
#' \item{\code{Q10_2_gmin [= 4.8]}: Temperature dependance of gmin when T greater than TPhase.}
#' \item{\code{taper [= TRUE]}: Whether taper of xylem conduits is accounted for when calculating aboveground stem conductance from xylem conductivity.}
#' \item{\code{thermalCapacityLAI [= 1000000]}: Thermal canopy capacitance per LAI unit.}
#' \item{\code{rootRadialConductance [= 4]}: Radial conductance in roots (mmol·s-1·m-2·MPa-1).}
Expand Down
4 changes: 2 additions & 2 deletions man/defaultControl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/inner_sureau.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ void innerSureau(List x, List input, List output, int n, double tstep,
NumericVector fluxSoilToStem_mm(kSoil.size(), 0.0); //Cummulative flow
List network_n;

double Agsum, Ansum;
double Agsum = 0.0, Ansum = 0.0;
while ((!regulationWellComputed || !cavitationWellComputed) && (nwhilecomp<nsmalltimesteps.size())) { //# LOOP TO TRY DIFFERENT TIME STEPS
network_n = clone(network); // # initial value of WBveg
// List WBsoil_n = clone(WBsoil); // # initial value of WBsoil
Expand Down

0 comments on commit c0d06aa

Please sign in to comment.