PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
#include <Units.hh>
Classes | |
struct | Impl |
Public Member Functions | |
Converter () | |
Converter (const Unit &u1, const Unit &u2) | |
Converter (System::Ptr sys, const std::string &u1, const std::string &u2) | |
void | convert_doubles (double *data, size_t length) const |
double | operator() (double input) const |
Private Member Functions | |
Converter (const Converter &) | |
Converter & | operator= (Converter const &) |
Private Attributes | |
std::shared_ptr< Impl > | m_impl |
Unit converter.
Throws pism::RuntimeError() if the conversion is not possible.