Opened 8 years ago

Closed 4 years ago

#54 closed enhancement (fixed)

IF/ELSE statement in stomate_npp

Reported by: luyssaert Owned by: nvuilsce
Priority: minor Milestone: ORCHIDEE 2.0
Component: Anthropogenic processes Version:
Keywords: Cc:

Description

The IF/ELSE statement in stomape_npp under section 3.3 seems not correct more suitable would be

IF ( bm_alloc_tot(i,j) .GT. zero ) THEN    
   IF ( ( resp_maint(i,j) * dt ) .LT. bm_tax_max(i) ) ) THEN              
      bm_alloc_tot(i,j) = bm_alloc_tot(i,j) - resp_maint(i,j) * dt
   ELSE
      ...
   ENDIF  
ENDIF

Change History (3)

comment:1 Changed 8 years ago by nvuilsce

  • Owner changed from somebody to nvuilsce
  • Status changed from new to accepted

Before to modify this, maybe it is good to ensure that the C balance is closed with possible negative values of bm_alloc_tot.

comment:2 Changed 4 years ago by nvuilsce

This modification has been added into the trunk in revision r2031

comment:3 Changed 4 years ago by nvuilsce

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.