Opened 2 years ago

Closed 2 years ago

#508 closed enhancement (fixed)

Replace numerous calculations of lai by a variable

Reported by: luyssaert Owned by: jgipsl
Priority: minor Milestone: IPSLCM6.v2
Component: Physical processes Version:
Keywords: Cc:

Description

slowproc.f90 and sechiba.f90. Cleaning opportunity: height is calculated in slowproc but lai is calculated in sechiba. Both could be done at the same place as they should not change after stomate. The same applies to veget for which it may also be possible to calculate only once and pass it around in the sechiba subroutines.

Change History (2)

comment:1 Changed 2 years ago by jgipsl

  • Owner changed from somebody to jgipsl
  • Status changed from new to accepted
  • height and lai will be output from slowproc_initialize and slowproc_main.
  • circ_class_biomass and circ_class_n are removed from condveg, diffuco and mleb_diffuco_trans_co2. height and lai are added instead.
  • In diffuco, following calculation will be changed:
    From:
               coupled_lai(iainia, jv) = biomass_to_coupled_lai( SUM(circ_class_biomass(iainia, &
                    jv,:, ileaf, icarbon)*circ_class_n(iainia,jv,:)), veget(iainia,jv), jv)
    Into:
               coupled_lai(iainia, jv) = lai(iainia, jv)
    
  • circ_class_biomass and circ_class_n will be kept in sechiba and sechiba_hydrol_arch
  • remove height as argument from stomate_main and stomate_lpj. It was not calculated anyway.


comment:2 Changed 2 years ago by jgipsl

  • Resolution set to fixed
  • Status changed from accepted to closed

Done in [5945]

Note: See TracTickets for help on using tickets.