lanl/singularity-eos

Fix bulk modulus formula in API documentation

Open

#276 opened on Jul 18, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (21 forks)auto 404
documentationgood first issue

Repository metrics

Stars
 (36 stars)
PR merge metrics
 (PR metrics pending)

Description

https://lanl.github.io/singularity-eos/main/src/using-eos.html#_CPPv4NK33BulkModulusFromDensityTemperatureEK4RealK4RealP4Real

There is a missing density in the formula for the bulk modulus.

Also we should add that the units for the bulk modulus are pressure since mass * length^2 / time^2 isn't an obvious pressure unit.

Thanks to @c0sm0-kramer for pointing it out

Contributor guide