Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
FORESEE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
4C
FORESEE
Commits
01790ae8
Commit
01790ae8
authored
5 years ago
by
Petra Lasch-Born
Browse files
Options
Downloads
Patches
Plain Diff
Update stand_bal.f
correction
parent
60008cb5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source_code/version2.2_windows/stand_bal.f
+15
-8
15 additions, 8 deletions
source_code/version2.2_windows/stand_bal.f
with
15 additions
and
8 deletions
source_code/version2.2_windows/stand_bal.f
+
15
−
8
View file @
01790ae8
...
...
@@ -104,7 +104,12 @@ do
sumbio
=
sumbio
+
ntr
*
zeig
%
coh
%
totBio
sumNPP
=
sumNPP
+
ntr
*
zeig
%
coh
%
NPP
Ndem
=
Ndem
+
ntr
*
zeig
%
coh
%
Ndemc_c
autresp
=
autresp
+
ntr
*
zeig
%
coh
%
maintres
select
case
(
flag_dis
)
case
(
0
,
1
)
autresp
=
autresp
+
ntr
*
zeig
%
coh
%
maintres
case
(
2
)
autresp
=
autresp
+
ntr
*
(
zeig
%
coh
%
maintres
+
zeig
%
coh
%
biocost_all
)
end
select
totfol
=
totfol
+
ntr
*
zeig
%
coh
%
x_fol
totsap
=
totsap
+
ntr
*
zeig
%
coh
%
x_sap
totfrt
=
totfrt
+
ntr
*
zeig
%
coh
%
x_frt
...
...
@@ -498,10 +503,6 @@ svar%frt = 0.
END
SELECT
Enddo
IF
(
spar
(
spec_new
)
%
phmodel
==
4
)
THEN
svar
(
spec_new
)
%
daybb
=
svar
(
spec_new
)
%
ext_daybb
ELSE
...
...
@@ -543,7 +544,7 @@ do i=1,nspecies
svar
(
i
)
%
mean_diam
=
svar
(
i
)
%
mean_diam
/
ntr
svar
(
i
)
%
mean_jrb
=
svar
(
i
)
%
mean_jrb
/
ntr
svar
(
i
)
%
basal_area
=
pi
*
ntr
*
(
svar
(
i
)
%
med_diam
*
svar
(
i
)
%
med_diam
/
40000
)
*
10000
/
kpatchsize
svar
(
i
)
%
basal_area
=
pi
*
(
ntr
-
helpdiam
(
i
))
*
(
svar
(
i
)
%
med_diam
*
svar
(
i
)
%
med_diam
/
40000
)
*
10000
/
kpatchsize
else
svar
(
i
)
%
sum_ntreea
=
0.
endif
...
...
@@ -1083,8 +1084,14 @@ IMPLICIT NONE
DO
IF
(
.not.
associated
(
zeig
))
exit
if
(
zeig
%
coh
%
species
.ne.
nspec_tree
+2
)
then
! exclude mistletoe from senescence
zeig
%
coh
%
sfol
=
spar
(
zeig
%
coh
%
species
)
%
psf
*
zeig
%
coh
%
x_fol
zeig
%
coh
%
sfrt
=
spar
(
zeig
%
coh
%
species
)
%
psr
*
zeig
%
coh
%
x_frt
select
case
(
flag_dis
)
! case (1,2)
! zeig%coh%sfol = spar(zeig%coh%species)%psf * zeig%coh%x_fol + zeig%coh%x_fol_loss
! zeig%coh%sfrt = spar(zeig%coh%species)%psr * zeig%coh%x_frt + zeig%coh%x_frt_loss
case
(
0
,
1
,
2
)
zeig
%
coh
%
sfol
=
spar
(
zeig
%
coh
%
species
)
%
psf
*
zeig
%
coh
%
x_fol
zeig
%
coh
%
sfrt
=
spar
(
zeig
%
coh
%
species
)
%
psr
*
zeig
%
coh
%
x_frt
end
select
IF
(
zeig
%
coh
%
height
.ge.
thr_height
.and.
zeig
%
coh
%
species
.LE.
nspec_tree
)
THEN
zeig
%
coh
%
ssap
=
spar
(
zeig
%
coh
%
species
)
%
pss
*
zeig
%
coh
%
x_sap
ELSE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment