PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
#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.