lanl/singularity-eos

Fix bulk modulus formula in API documentation

Aperta

#276 aperta il 18 lug 2023

 (0 commenti) (0 reazioni) (0 assegnatari)C++ (21 fork)auto 404
documentationgood first issue

Metriche repository

Star
 (36 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor