typo in bulk_flux.F

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
longmtm
Posts: 55
Joined: Tue Dec 13, 2005 7:23 pm
Location: Univ of Maryland Center for Environmental Science

typo in bulk_flux.F

#1 Unread post by longmtm »

Hi,

Just to point out a tiny typo in bulk_flux.F of ROMS 2.2

!
! Mean absoption in cool-skin layer.
!
Fc=0.065_r8+11.0_r8*Hcool- &
& (1.0_r8-EXP(-Hcool*1250.0_8))*6.6E-5_r8/Hcool


where 1250.0_8 should be 1250.0_r8 ? Don't know what the effect will be with "r" left out.

Wen

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

#2 Unread post by m.hadfield »

Don't know what the effect will be with "r" left out.
None at all on most platforms as r8 (the real-number kind that supports double precisions) is usually equal to 8. But there is a logical distinction that should be preserved, so thanks for pointing it out.

Post Reply