some modifs
Fixed issue causing the numerical total flux to be always null.