source: trunk/LMDZ.GENERIC/libf/phystd/comcstfi.h @ 919

Last change on this file since 919 was 600, checked in by jleconte, 13 years ago
  • Corrects the computation of planck function at the surface in sfluxi

so that its integral is equal to sigma Tsurf4.

  • This ensure that no flux is lost due to:

-truncation of the planck function at high/low wavenumber
-numerical error during first spectral computation of the planck function
-discrepancy between Tsurf and NTS/NTfac in sfluxi

  • OLR now equal to LW net heating/cooling at equilibrium!
  • As much as possible, only the value of the stephan boltzmann constant defined in racommon_h (and the

corresponding variable, sigma) should be used. Now done in physics, vdifc and turbdiff.

File size: 301 bytes
Line 
1!-----------------------------------------------------------------------
2! INCLUDE "comcstfi.h"
3
4      common/comcstfi/pi,rad,g,r,cpp,rcp,dtphys,daysec,mugaz,omeg
5      common/comcstfi/avocado!,molrad,visc
6     
7      real pi,rad,g,r,cpp,rcp,dtphys,daysec,mugaz,omeg
8      real avocado!,molrad,visc
9
Note: See TracBrowser for help on using the repository browser.