Changes between Version 4 and Version 5 of Ajeterici/TechnicalModifications


Ignore:
Timestamp:
2011-03-21T10:06:09+01:00 (13 years ago)
Author:
dsolyga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ajeterici/TechnicalModifications

    v4 v5  
    77 
    88We tried to respect as soon as possible the structure of the code. Three folders over five were affected by 
    9 the modifications : '''src_parameters''', '''src_sechiba''' and '''src_stomate'''. We regroup all the 
     9the modifications : ''src_parameters'', ''src_sechiba'' and ''src_stomate''. We regroup all the 
    1010files containing parameters in src_parameters. We rewrite some parts of the code in order not to have explicit 
    1111references to indexes to some PFTs (like agricultural ones). The changements are detailed below : 
     
    3131 
    3232We delete '''stomate_constants.f90''' in order to move its parameters in src_parameters. The too-specific parameters were moved to '''stomate_data.f90'''. [[BR]] 
    33 During our validations on fluxnet sites, we modify the herbivory model and the formulation for the variable  
    34 "black_carbon". 
     33During our validations on fluxnet sites, we modified the herbivory model and the formulation for the variable  
     34"black_carbon". In '''stomate_season.f90''', we replace :  
     35{{{ 
     36    DO j = 2,nvm 
     37       ! 
     38       IF ( natural(j) ) THEN 
     39          ! 
     40          WHERE ( nlflong_nat(:) .GT. zero ) 
     41             consumption(:) = hvc1 * nlflong_nat(:) ** hvc2 
     42             herbivores(:,j) = one_year * green_age(:) * nlflong_nat(:) / consumption(:) 
     43          ELSEWHERE 
     44             herbivores(:,j) = 100000. 
     45          ENDWHERE 
     46          ! 
     47       ELSE 
     48          ! 
     49          herbivores(:,j) = 100000. 
     50          ! 
     51       ENDIF 
     52       ! 
     53    ENDDO 
     54}}} 
     55by :  
     56{{{ 
     57     DO j = 2,nvm 
     58       ! 
     59       IF ( natural(j) ) THEN 
     60          ! 
     61          WHERE ( nlflong_nat(:,j) .GT. zero ) 
     62             consumption(:) = hvc1 * nlflong_nat(:,j) ** hvc2 
     63             herbivores(:,j) = one_year * green_age(:,j) * nlflong_nat(:,j) / consumption(:) 
     64          ELSEWHERE 
     65             herbivores(:,j) = 100000. 
     66          ENDWHERE 
     67          ! 
     68       ELSE 
     69          ! 
     70          herbivores(:,j) = 100000. 
     71          ! 
     72       ENDIF 
     73       ! 
     74    ENDDO   
     75}}} 
     76in order to make herbivores more pft-specific.