Hi,
as Jean-Michel said, the cross section routine gives not the exact discharge. The new method that Jean-Michel mentioned will work for all schemes that use the "flodel" array. I've allready put my work onto my brunch but I think there will be some minor changes since my Fortran style might not be the best.
At the beginning I was also a little bit disappointed that the flux of the section routine is not 100% the correct. But this was more or less since it is a nice way to check the conservation of mass of numerical schemes with such a cross section (academic world). Being a little bit more realistic, we see that the error is very small.
I think that the error is more relevant for bedload simulations in Sysiphe. Here we have significant differences since the cross section subroutine gives only the potential discharge over all classes.
With best regards,
Leo