Goby3  3.1.5a
2024.05.23
soundspeed.h File Reference
#include <stdexcept>
#include <boost/units/quantity.hpp>
#include <boost/units/systems/si.hpp>
#include <boost/units/systems/temperature/celsius.hpp>

Go to the source code of this file.

Namespaces

 goby
 The global namespace for the Goby project.
 
 goby::util
 
 goby::util::seawater
 

Functions

template<typename TemperatureUnit = boost::units::celsius::temperature, typename DimensionlessUnit = boost::units::si::dimensionless, typename LengthUnit = boost::units::si::length>
boost::units::quantity< boost::units::si::velocity > goby::util::seawater::mackenzie_soundspeed (boost::units::quantity< boost::units::absolute< TemperatureUnit >> temperature, boost::units::quantity< DimensionlessUnit > salinity, boost::units::quantity< LengthUnit > depth, bool ignore_bounds=false)
 
template<typename TemperatureUnit = boost::units::celsius::temperature, typename LengthUnit = boost::units::si::length>
boost::units::quantity< boost::units::si::velocity > goby::util::seawater::mackenzie_soundspeed (boost::units::quantity< boost::units::absolute< TemperatureUnit >> temperature, double salinity, boost::units::quantity< LengthUnit > depth, bool ignore_bounds=false)