Opened 7 years ago

Closed 6 years ago

#114 closed defect (fixed)

small bug of mcs in hydrol_var_init

Reported by: clargeron Owned by: aducharne
Priority: major Milestone:
Component: Physical processes Version:
Keywords: Cc:

Description

if (ok_shumdiag_perma) then

DO jsl = 1, nslm

shumdiag_perma(ji,jd)= shumdiag_perma(ji,jd) &

& + mc(ji,jsl,jst) *frac_hydro_diag(jsl,jd) &
& /mcs(jst)*soiltile(ji,jst)

ENDDO !DO jsl = 1, nslm

endif

WE HAVE TO CHANGE MCS(jst) into MCS(njsc(ji)) because mcs depend on soilclass and do not depend on soiltype.

Change History (3)

comment:1 Changed 7 years ago by aducharne

  • Owner changed from clargeron to aducharne
  • Status changed from new to accepted

comment:2 Changed 7 years ago by aducharne

This bug happens twice: once in hydrol_var_init, and once hydrol_diag_soil.
Change :

/mcs(jst)*soiltile(ji,jst)

to

/mcs(njsc(ji))*soiltile(ji,jst)

comment:3 Changed 6 years ago by jgipsl

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

Done in trunk rev [2398].

Note: See TracTickets for help on using tickets.