Opm::unit::convert Namespace Reference
Detailed DescriptionUnit conversion routines. Function Documentation
Convert from external units of measurements to equivalent internal units of measurements. Note: The internal units of measurements are ALWAYS, and exclusively, SI. Example: Convert a double
Convert from internal units of measurements to equivalent external units of measurements. Note: The internal units of measurements are ALWAYS, and exclusively, SI. Example: Convert a using namespace Opm::unit;
std::transform(p.begin(), p.end(), p.begin(),
boost::bind(convert::to, _1, psia));
Referenced by Opm::AdaptiveTimeStepping::stepImpl(). |
||||||||||||||||||||||||||||||||||||||||||||||||||