-
Notifications
You must be signed in to change notification settings - Fork 92
/
EDPftvarcon.F90
2691 lines (2103 loc) · 125 KB
/
EDPftvarcon.F90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
module EDPftvarcon
!-----------------------------------------------------------------------
! !DESCRIPTION:
! Module containing vegetation constants and method to
! read and initialize vegetation (PFT) constants.
!
! !USES:
use EDTypesMod , only : maxSWb, ivis, inir
use FatesConstantsMod, only : r8 => fates_r8
use FatesConstantsMod, only : nearzero
use FatesConstantsMod, only : itrue, ifalse
use FatesConstantsMod, only : years_per_day
use FatesGlobals, only : fates_log
use FatesGlobals, only : endrun => fates_endrun
use FatesLitterMod, only : ilabile,icellulose,ilignin
use PRTGenericMod, only : prt_cnp_flex_allom_hyp
use PRTGenericMod, only : prt_carbon_allom_hyp
use PRTGenericMod, only : num_organ_types
use PRTGenericMod, only : leaf_organ, fnrt_organ, store_organ
use PRTGenericMod, only : sapw_organ, struct_organ, repro_organ
! CIME Globals
use shr_log_mod , only : errMsg => shr_log_errMsg
!
! !PUBLIC TYPES:
implicit none
save
private
integer, parameter, public :: lower_bound_pft = 1
integer, parameter, public :: lower_bound_general = 1
!ED specific variables.
type, public :: EDPftvarcon_type
real(r8), allocatable :: freezetol(:) ! minimum temperature tolerance
real(r8), allocatable :: wood_density(:) ! wood density g cm^-3 ...
real(r8), allocatable :: hgt_min(:) ! sapling height m
real(r8), allocatable :: dbh_repro_threshold(:) ! diameter at which mature plants shift allocation
real(r8), allocatable :: dleaf(:) ! leaf characteristic dimension length (m)
real(r8), allocatable :: z0mr(:) ! ratio of roughness length of vegetation to height (-)
real(r8), allocatable :: displar(:) ! ratio of displacement height to canopy top height (-)
real(r8), allocatable :: cushion(:) ! labile carbon storage target as multiple of leaf pool.
real(r8), allocatable :: leaf_stor_priority(:) ! leaf turnover vs labile carbon use prioritisation
! (1 = lose leaves, 0 = use store).
real(r8), allocatable :: crown(:) ! fraction of the height of the plant
! that is occupied by crown. For fire model.
real(r8), allocatable :: bark_scaler(:) ! scaler from dbh to bark thickness. For fire model.
real(r8), allocatable :: crown_kill(:) ! scaler on fire death. For fire model.
real(r8), allocatable :: initd(:) ! initial seedling density
real(r8), allocatable :: seed_suppl(:) ! seeds that come from outside the gridbox.
real(r8), allocatable :: BB_slope(:) ! ball berry slope parameter
real(r8), allocatable :: seed_alloc_mature(:) ! fraction of carbon balance allocated to
! clonal reproduction.
real(r8), allocatable :: seed_alloc(:) ! fraction of carbon balance allocated to seeds.
real(r8), allocatable :: c2b(:) ! Carbon to biomass multiplier [kg/kgC]
real(r8), allocatable :: woody(:) ! Does the plant have wood? (1=yes, 0=no)
! The following three PFT classes
! are mutually exclusive
real(r8), allocatable :: stress_decid(:) ! Is the plant stress deciduous? (1=yes, 0=no)
real(r8), allocatable :: season_decid(:) ! Is the plant seasonally deciduous (1=yes, 0=no)
real(r8), allocatable :: evergreen(:) ! Is the plant an evergreen (1=yes, 0=no)
real(r8), allocatable :: slamax(:) ! Maximum specific leaf area of plant (at bottom) [m2/gC]
real(r8), allocatable :: slatop(:) ! Specific leaf area at canopy top [m2/gC]
real(r8), allocatable :: roota_par(:) ! Normalized Root profile scaling parameter A
real(r8), allocatable :: rootb_par(:) ! Normalized root profile scaling parameter B
real(r8), allocatable :: lf_flab(:) ! Leaf litter labile fraction [-]
real(r8), allocatable :: lf_fcel(:) ! Leaf litter cellulose fraction [-]
real(r8), allocatable :: lf_flig(:) ! Leaf litter lignan fraction [-]
real(r8), allocatable :: fr_flab(:) ! Fine-root litter labile fraction [-]
real(r8), allocatable :: fr_fcel(:) ! Fine-root litter cellulose fraction [-]
real(r8), allocatable :: fr_flig(:) ! Fine-root litter lignatn fraction [-]
real(r8), allocatable :: xl(:) ! Leaf-stem orientation index
real(r8), allocatable :: clumping_index(:) ! factor describing how much self-occlusion
! of leaf scattering elements
! decreases light interception
real(r8), allocatable :: c3psn(:) ! index defining the photosynthetic
! pathway C4 = 0, C3 = 1
real(r8), allocatable :: smpso(:) ! Soil water potential at full stomatal opening
! (non-HYDRO mode only) [mm]
real(r8), allocatable :: smpsc(:) ! Soil water potential at full stomatal closure
! (non-HYDRO mode only) [mm]
real(r8), allocatable :: maintresp_reduction_curvature(:) ! curvature of MR reduction as f(carbon storage),
! 1=linear, 0=very curved
real(r8), allocatable :: maintresp_reduction_intercept(:) ! intercept of MR reduction as f(carbon storage),
! 0=no throttling, 1=max throttling
real(r8), allocatable :: bmort(:)
real(r8), allocatable :: mort_ip_size_senescence(:) ! inflection point of dbh dependent senescence
real(r8), allocatable :: mort_r_size_senescence(:) ! rate of change in mortality with dbh
real(r8), allocatable :: mort_ip_age_senescence(:) ! inflection point of age dependent senescence
real(r8), allocatable :: mort_r_age_senescence(:) ! rate of change in mortality with age
real(r8), allocatable :: mort_scalar_coldstress(:)
real(r8), allocatable :: mort_scalar_cstarvation(:)
real(r8), allocatable :: mort_scalar_hydrfailure(:)
real(r8), allocatable :: hf_sm_threshold(:)
real(r8), allocatable :: hf_flc_threshold(:)
real(r8), allocatable :: vcmaxha(:)
real(r8), allocatable :: jmaxha(:)
real(r8), allocatable :: tpuha(:)
real(r8), allocatable :: vcmaxhd(:)
real(r8), allocatable :: jmaxhd(:)
real(r8), allocatable :: tpuhd(:)
real(r8), allocatable :: vcmaxse(:)
real(r8), allocatable :: jmaxse(:)
real(r8), allocatable :: tpuse(:)
real(r8), allocatable :: germination_rate(:) ! Fraction of seed mass germinating per year (yr-1)
real(r8), allocatable :: seed_decay_rate(:) ! Fraction of seed mass (both germinated and
! ungerminated), decaying per year (yr-1)
real(r8), allocatable :: trim_limit(:) ! Limit to reductions in leaf area w stress (m2/m2)
real(r8), allocatable :: trim_inc(:) ! Incremental change in trimming function (m2/m2)
real(r8), allocatable :: rhol(:, :)
real(r8), allocatable :: rhos(:, :)
real(r8), allocatable :: taul(:, :)
real(r8), allocatable :: taus(:, :)
real(r8), allocatable :: rootprof_beta(:, :)
! Fire Parameters (No PFT vector capabilities in their own routines)
! See fire/SFParamsMod.F90 for bulk of fire parameters
! -------------------------------------------------------------------------------------------
real(r8), allocatable :: fire_alpha_SH(:) ! spitfire parameter, alpha scorch height
! Equation 16 Thonicke et al 2010
! Allometry Parameters
! --------------------------------------------------------------------------------------------
real(r8), allocatable :: allom_dbh_maxheight(:) ! dbh at which height growth ceases
real(r8), allocatable :: allom_hmode(:) ! height allometry function type
real(r8), allocatable :: allom_lmode(:) ! maximum leaf allometry function type
real(r8), allocatable :: allom_fmode(:) ! maximum root allometry function type
real(r8), allocatable :: allom_amode(:) ! AGB allometry function type
real(r8), allocatable :: allom_cmode(:) ! Coarse root allometry function type
real(r8), allocatable :: allom_smode(:) ! sapwood allometry function type
real(r8), allocatable :: allom_stmode(:) ! storage allometry functional type
! (HARD-CODED FOR TIME BEING, RGK 11-2017)
real(r8), allocatable :: allom_la_per_sa_int(:) ! Leaf area to sap area conversion, intercept
! (sapwood area / leaf area) [cm2/m2]
real(r8), allocatable :: allom_la_per_sa_slp(:) ! Leaf area to sap area conversion, slope
! (sapwood area / leaf area / diameter) [cm2/m2/cm]
real(r8), allocatable :: allom_l2fr(:) ! Fine root biomass per leaf biomass ratio [kgC/kgC]
real(r8), allocatable :: allom_agb_frac(:) ! Fraction of stem above ground [-]
real(r8), allocatable :: allom_d2h1(:) ! Parameter 1 for d2h allometry (intercept, or "c")
real(r8), allocatable :: allom_d2h2(:) ! Parameter 2 for d2h allometry (slope, or "m")
real(r8), allocatable :: allom_d2h3(:) ! Parameter 3 for d2h allometry (optional)
real(r8), allocatable :: allom_d2bl1(:) ! Parameter 1 for d2bl allometry (intercept)
real(r8), allocatable :: allom_d2bl2(:) ! Parameter 2 for d2bl allometry (slope)
real(r8), allocatable :: allom_d2bl3(:) ! Parameter 3 for d2bl allometry (optional)
real(r8), allocatable :: allom_sai_scaler(:) !
real(r8), allocatable :: allom_blca_expnt_diff(:) ! Any difference in the exponent between the leaf
! biomass and crown area scaling
real(r8), allocatable :: allom_d2ca_coefficient_max(:) ! upper (savanna) value for crown
! area to dbh coefficient
real(r8), allocatable :: allom_d2ca_coefficient_min(:) ! lower (closed-canopy forest) value for crown
! area to dbh coefficient
real(r8), allocatable :: allom_agb1(:) ! Parameter 1 for agb allometry
real(r8), allocatable :: allom_agb2(:) ! Parameter 2 for agb allometry
real(r8), allocatable :: allom_agb3(:) ! Parameter 3 for agb allometry
real(r8), allocatable :: allom_agb4(:) ! Parameter 3 for agb allometry
real(r8), allocatable :: allom_frbstor_repro(:) ! fraction of bstrore for reproduction after mortality
! Prescribed Physiology Mode Parameters
real(r8), allocatable :: prescribed_npp_canopy(:) ! this is only for the special
! prescribed_physiology_mode
real(r8), allocatable :: prescribed_npp_understory(:) ! this is only for the special
! prescribed physiology mode
real(r8), allocatable :: prescribed_mortality_canopy(:) ! this is only for the special
! prescribed_physiology_mode
real(r8), allocatable :: prescribed_mortality_understory(:) ! this is only for the special
! prescribed_physiology_mode
real(r8), allocatable :: prescribed_recruitment(:) ! this is only for the special
! prescribed_physiology_mode
! Plant Reactive Transport (allocation)
real(r8), allocatable :: grperc(:) ! Growth respiration per unit Carbon gained
! One value for whole plant
! ONLY parteh_mode == 1 [kg/kg]
real(r8), allocatable :: prt_grperc_organ(:,:) ! Unit growth respiration (pft x organ) [kg/kg]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! THIS IS NOT READ IN BY THE PARAMETER FILE
! THIS IS JUST FILLED BY GRPERC. WE KEEP THIS
! PARAMETER FOR HYPOTHESIS TESTING (ADVANCED USE)
! IT HAS THE PRT_ TAG BECAUSE THIS PARAMETER
! IS USED INSIDE PARTEH, WHILE GRPERC IS APPLIED
! IN THE LEAF BIOPHYSICS SCHEME
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
real(r8), allocatable :: prt_nitr_stoich_p1(:,:) ! Parameter 1 for nitrogen stoichiometry (pft x organ)
real(r8), allocatable :: prt_nitr_stoich_p2(:,:) ! Parameter 2 for nitrogen stoichiometry (pft x organ)
real(r8), allocatable :: prt_phos_stoich_p1(:,:) ! Parameter 1 for phosphorus stoichiometry (pft x organ)
real(r8), allocatable :: prt_phos_stoich_p2(:,:) ! Parameter 2 for phosphorus stoichiometry (pft x organ)
real(r8), allocatable :: prt_alloc_priority(:,:) ! Allocation priority for each organ (pft x organ) [integer 0-6]
! Nutrient Aquisition parameters
real(r8), allocatable :: prescribed_nuptake(:) ! Nitrogen uptake flux per unit crown area
! (negative implies fraction of NPP) kgN/m2/yr
real(r8), allocatable :: prescribed_puptake(:) ! Phosphorus uptake flux per unit crown area
! (negative implies fraction of NPP) kgP/m2/yr
! (NONE OF THESE ARE ACTIVE YET - PLACEHOLDERS ONLY!!!!!)
! Nutrient Aquisition (ECA & RD)
! real(r8), allocatable :: decompmicc(:) ! microbial decomposer biomass gC/m3
! on root surface
! ECA Parameters: See Zhu et al. Multiple soil nutrient competition between plants,
! microbes, and mineral surfaces: model development, parameterization,
! and example applications in several tropical forests. Biogeosciences,
! 13, pp.341-363, 2016.
! KM: Michaeles-Menten half-saturation constants for ECA (plant–enzyme affinity)
! VMAX: Product of the reaction-rate and enzyme abundance for each PFT in ECA
! Note*: units of [gC] is grams carbon of fine-root
real(r8), allocatable :: eca_km_nh4(:) ! half-saturation constant for plant nh4 uptake [gN/m3]
real(r8), allocatable :: eca_vmax_nh4(:) ! maximum production rate for plant nh4 uptake [gN/gC/s]
real(r8), allocatable :: eca_km_no3(:) ! half-saturation constant for plant no3 uptake [gN/m3]
real(r8), allocatable :: eca_vmax_no3(:) ! maximum production rate for plant no3 uptake [gN/gC/s]
real(r8), allocatable :: eca_km_p(:) ! half-saturation constant for plant p uptake [gP/m3]
real(r8), allocatable :: eca_vmax_p(:) ! maximum production rate for plant p uptake [gP/gC/s]
real(r8), allocatable :: eca_km_ptase(:) ! half-saturation constant for biochemical P production [gP/m3]
real(r8), allocatable :: eca_vmax_ptase(:) ! maximum production rate for biochemical P prod [gP/m2/s]
real(r8), allocatable :: eca_alpha_ptase(:) ! Fraction of min P generated from ptase activity
! that is immediately sent to the plant [/]
real(r8), allocatable :: eca_lambda_ptase(:) ! critical value for Ptase that incurs
! biochemical production, fraction based how much
! more in need a plant is for P versus N [/]
real(r8), allocatable :: nfix1(:) ! nitrogen fixation parameter 1 (in file, but not used yet)
real(r8), allocatable :: nfix2(:) ! nitrogen fixation parameter 2 (in file, but not used yet)
! Turnover related things
real(r8), allocatable :: phenflush_fraction(:) ! Maximum fraction of storage carbon used to flush leaves
! on bud-burst [kgC/kgC]
real(r8), allocatable :: phen_cold_size_threshold(:) ! stem/leaf drop occurs on DBH size of decidious non-woody
! (coastal grass) plants larger than the threshold value
real(r8), allocatable :: phen_stem_drop_fraction(:) ! Fraction of stem dropped/senescened for decidious
! non-woody (grass) plants
real(r8), allocatable :: senleaf_long_fdrought(:) ! Multiplication factor for leaf longevity of senescent
! leaves during drought( 1.0 indicates no change)
real(r8), allocatable :: root_long(:) ! root turnover time (longevity) (pft) [yr]
real(r8), allocatable :: branch_turnover(:) ! Turnover time for branchfall on live trees (pft) [yr]
real(r8), allocatable :: turnover_retrans_mode(:) ! Retranslocation method (pft)
real(r8), allocatable :: turnover_carb_retrans(:,:) ! carbon re-translocation fraction (pft x organ)
real(r8), allocatable :: turnover_nitr_retrans(:,:) ! nitrogen re-translocation fraction (pft x organ)
real(r8), allocatable :: turnover_phos_retrans(:,:) ! phosphorus re-translocation fraction (pft x organ)
! Parameters dimensioned by PFT and leaf age
real(r8), allocatable :: leaf_long(:,:) ! Leaf turnover time (longevity) (pft x age-class)
! If there is >1 class, it is the longevity from
! one class to the next [yr]
real(r8), allocatable :: vcmax25top(:,:) ! maximum carboxylation rate of Rub. at 25C,
! canopy top [umol CO2/m^2/s]. Dimensioned by
! leaf age-class
! Plant Hydraulic Parameters
! ---------------------------------------------------------------------------------------------
! PFT Dimension
real(r8), allocatable :: hydr_p_taper(:) ! xylem taper exponent
real(r8), allocatable :: hydr_rs2(:) ! absorbing root radius (m)
real(r8), allocatable :: hydr_srl(:) ! specific root length (m g-1)
real(r8), allocatable :: hydr_rfrac_stem(:) ! fraction of total tree resistance from troot to canopy
real(r8), allocatable :: hydr_avuln_gs(:) ! shape parameter for stomatal control of water vapor exiting leaf
real(r8), allocatable :: hydr_p50_gs(:) ! water potential at 50% loss of stomatal conductance
! PFT x Organ Dimension (organs are: 1=leaf, 2=stem, 3=transporting root, 4=absorbing root)
real(r8), allocatable :: hydr_avuln_node(:,:) ! xylem vulernability curve shape parameter
real(r8), allocatable :: hydr_p50_node(:,:) ! xylem water potential at 50% conductivity loss (MPa)
real(r8), allocatable :: hydr_thetas_node(:,:) ! saturated water content (cm3/cm3)
real(r8), allocatable :: hydr_epsil_node(:,:) ! bulk elastic modulus (MPa)
real(r8), allocatable :: hydr_pitlp_node(:,:) ! turgor loss point (MPa)
real(r8), allocatable :: hydr_resid_node(:,:) ! residual fraction (fraction)
real(r8), allocatable :: hydr_fcap_node(:,:) ! fraction of (1-resid_node) that is capillary in source
real(r8), allocatable :: hydr_pinot_node(:,:) ! osmotic potential at full turgor
real(r8), allocatable :: hydr_kmax_node(:,:) ! maximum xylem conductivity per unit conducting xylem area
contains
procedure, public :: Init => EDpftconInit
procedure, public :: Register
procedure, public :: Receive
procedure, private :: Register_PFT
procedure, private :: Receive_PFT
procedure, private :: Register_PFT_nvariants
procedure, private :: Receive_PFT_nvariants
procedure, private :: Register_PFT_hydr_organs
procedure, private :: Receive_PFT_hydr_organs
procedure, private :: Register_PFT_prt_organs
procedure, private :: Receive_PFT_prt_organs
procedure, private :: Register_PFT_leafage
procedure, private :: Receive_PFT_leafage
procedure, private :: Register_PFT_numrad
procedure, private :: Receive_PFT_numrad
end type EDPftvarcon_type
type(EDPftvarcon_type), public :: EDPftvarcon_inst
character(len=*), parameter, private :: sourcefile = &
__FILE__
!
! !PUBLIC MEMBER FUNCTIONS:
public :: FatesReportPFTParams
public :: FatesCheckParams
public :: GetDecompyFrac
!-----------------------------------------------------------------------
contains
!-----------------------------------------------------------------------
subroutine EDpftconInit(this)
use shr_infnan_mod , only : nan => shr_infnan_nan, assignment(=)
implicit none
class(EDPftvarcon_type), intent(inout) :: this
end subroutine EDpftconInit
!-----------------------------------------------------------------------
subroutine Register(this, fates_params)
use FatesParametersInterface, only : fates_parameters_type
implicit none
class(EDPftvarcon_type), intent(inout) :: this
class(fates_parameters_type), intent(inout) :: fates_params
call this%Register_PFT(fates_params)
call this%Register_PFT_numrad(fates_params)
call this%Register_PFT_nvariants(fates_params)
call this%Register_PFT_hydr_organs(fates_params)
call this%Register_PFT_prt_organs(fates_params)
call this%Register_PFT_leafage(fates_params)
end subroutine Register
!-----------------------------------------------------------------------
subroutine Receive(this, fates_params)
use FatesParametersInterface, only : fates_parameters_type
implicit none
class(EDPftvarcon_type), intent(inout) :: this
class(fates_parameters_type), intent(inout) :: fates_params
call this%Receive_PFT(fates_params)
call this%Receive_PFT_numrad(fates_params)
call this%Receive_PFT_nvariants(fates_params)
call this%Receive_PFT_hydr_organs(fates_params)
call this%Receive_PFT_prt_organs(fates_params)
call this%Receive_PFT_leafage(fates_params)
end subroutine Receive
!-----------------------------------------------------------------------
subroutine Register_PFT(this, fates_params)
use FatesParametersInterface, only : fates_parameters_type, param_string_length
use FatesParametersInterface, only : dimension_name_pft, dimension_shape_1d
implicit none
class(EDPftvarcon_type), intent(inout) :: this
class(fates_parameters_type), intent(inout) :: fates_params
character(len=param_string_length), parameter :: dim_names(1) = (/dimension_name_pft/)
integer, parameter :: dim_lower_bound(1) = (/ lower_bound_pft /)
character(len=param_string_length) :: name
!X! name = ''
!X! call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
!X! dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_seed_dbh_repro_threshold'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_freezetol'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_wood_density'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_recruit_hgt_min'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_alloc_storage_cushion'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_stor_priority'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fire_crown_depth_frac'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fire_bark_scaler'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fire_crown_kill'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_recruit_initd'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_seed_suppl'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_BB_slope'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_senleaf_long_fdrought'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_root_long'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_seed_alloc_mature'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_seed_alloc'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_c2b'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_woody'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_phen_stress_decid'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_phen_season_decid'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_phen_evergreen'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_l2fr'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_slamax'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_slatop'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_roota_par'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_rootb_par'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_lf_flab'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_lf_fcel'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_lf_flig'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fr_flab'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fr_fcel'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fr_flig'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_xl'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_clumping_index'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_c3psn'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_smpso'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_smpsc'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_grperc'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_maintresp_reduction_curvature'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_maintresp_reduction_intercept'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_npp_canopy'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_npp_understory'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_mortality_canopy'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_mortality_understory'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_recruitment'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_fire_alpha_SH'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_dbh_maxheight'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_hmode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_lmode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_fmode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_amode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_stmode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_cmode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_smode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_la_per_sa_int'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_la_per_sa_slp'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_agb_frac'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2h1'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2h2'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2h3'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2bl1'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2bl2'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2bl3'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_blca_expnt_diff'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2ca_coefficient_max'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_d2ca_coefficient_min'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_sai_scaler'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_agb1'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_agb2'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_agb3'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_agb4'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_allom_frbstor_repro'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_hydr_p_taper'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_hydr_rs2'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_hydr_srl'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_hydr_rfrac_stem'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_hydr_avuln_gs'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_hydr_p50_gs'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_bmort'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_r_size_senescence'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_ip_size_senescence'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_r_age_senescence'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_ip_age_senescence'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_scalar_coldstress'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_scalar_cstarvation'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_scalar_hydrfailure'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_hf_sm_threshold'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_mort_hf_flc_threshold'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_vcmaxha'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_jmaxha'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_tpuha'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_vcmaxhd'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_jmaxhd'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_tpuhd'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_vcmaxse'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_jmaxse'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_tpuse'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_seed_germination_rate'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_seed_decay_rate'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_turnover_retrans_mode'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_branch_turnover'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_trim_limit'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_trim_inc'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_leaf_diameter'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_z0mr'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_displar'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_phenflush_fraction'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_phen_cold_size_threshold'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_phen_stem_drop_fraction'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
! Nutrient competition parameters
! name = 'fates_eca_decompmicc'
! call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
! dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_km_nh4'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_vmax_nh4'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_km_no3'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_vmax_no3'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_km_p'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_vmax_p'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_km_ptase'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_vmax_ptase'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_alpha_ptase'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_eca_lambda_ptase'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_nfix1'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_nfix2'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_nuptake'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
name = 'fates_prescribed_puptake'
call fates_params%RegisterParameter(name=name, dimension_shape=dimension_shape_1d, &
dimension_names=dim_names, lower_bounds=dim_lower_bound)
end subroutine Register_PFT
!-----------------------------------------------------------------------
subroutine Receive_PFT(this, fates_params)
use FatesParametersInterface, only : fates_parameters_type, param_string_length
implicit none
class(EDPftvarcon_type), intent(inout) :: this
class(fates_parameters_type), intent(inout) :: fates_params
character(len=param_string_length) :: name
!X! name = ''
!X! call fates_params%RetreiveParameter(name=name, &
!X! data=this%)
name = 'fates_seed_dbh_repro_threshold'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%dbh_repro_threshold)
name = 'fates_mort_freezetol'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%freezetol)
name = 'fates_wood_density'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%wood_density)
name = 'fates_recruit_hgt_min'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%hgt_min)
name = 'fates_alloc_storage_cushion'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%cushion)
name = 'fates_leaf_stor_priority'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%leaf_stor_priority)
name = 'fates_fire_crown_depth_frac'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%crown)
name = 'fates_fire_bark_scaler'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%bark_scaler)
name = 'fates_fire_crown_kill'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%crown_kill)
name = 'fates_recruit_initd'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%initd)
name = 'fates_seed_suppl'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%seed_suppl)
name = 'fates_leaf_BB_slope'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%BB_slope)
name = 'fates_senleaf_long_fdrought'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%senleaf_long_fdrought)
name = 'fates_root_long'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%root_long)
name = 'fates_seed_alloc_mature'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%seed_alloc_mature)
name = 'fates_seed_alloc'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%seed_alloc)
name = 'fates_c2b'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%c2b)
name = 'fates_woody'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%woody)
name = 'fates_phen_stress_decid'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%stress_decid)
name = 'fates_phen_season_decid'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%season_decid)
name = 'fates_phen_evergreen'
call fates_params%RetreiveParameterAllocate(name=name, &
data=this%evergreen)
name = 'fates_leaf_slamax'