Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
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

namespace  goby
 The global namespace for the Goby project.
 
namespace  goby::util
 
namespace  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)