Skip to content

Commit

Permalink
Increase precision of MPAS-O standalone pi
Browse files Browse the repository at this point in the history
Co-authored-by: Xylar Asay-Davis <xylarstorm@gmail.com>
  • Loading branch information
cbegeman and xylar committed Jul 1, 2024
1 parent e4dc8a1 commit 83c5a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mpas-ocean/src/shared/mpas_ocn_constants.F
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ subroutine ocn_constants_init(configPool, packagePool)!{{{
!-----------------------------------------------------------------------

T0_Kelvin = 273.16_RKIND ! zero point for Celsius
pi = 3.141592_RKIND ! pi
pi = 3.14159265358979323846_RKIND ! pi
rho_air = 1.2_RKIND ! ambient air density (kg/m^3)
rho_sw = config_density0 ! density of salt water (kg/m^3)
rho_fw = 1.0e3_RKIND ! avg. water density (kg/m^3)
Expand Down

0 comments on commit 83c5a22

Please sign in to comment.