Skip to content

Speed of sounds is off by a factor of 10 #345

@xylar

Description

@xylar

In the process of creating:
E3SM-Project/PhysicalConstantsDictionary#17
Copilot pointed out that Omega's speed of sound in seawater is off by a factor of 10:

constexpr Real Sound = 1.5e2; // Speed of sound ~ m/s

It should be 1500 m/s, not 150.

There are some other small differences between the values of constants in shr_const_mod.F90 and in GlobalConstants.h. In most (all?) cases, I have chosen to stick with shr_const_mod.F90 over GlobalConstants.h when updating the Physical Constants Dictionary because I think we have to make a case for why those values need to be updated that the rest of the development team should be able to respond to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions