PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Namespaces | Functions
Units.cc File Reference
#include "pism/util/Units.hh"
#include <udunits2.h>
#include "pism/external/calcalcs/utCalendar2_cal.h"
#include "pism/util/error_handling.hh"

Go to the source code of this file.

Classes

struct  pism::units::System::Impl
 
struct  pism::units::Unit::Impl
 
struct  pism::units::Converter::Impl
 

Namespaces

 pism
 
 pism::units
 

Functions

double pism::units::convert (System::Ptr system, double input, const std::string &spec1, const std::string &spec2)
 Convert a quantity from unit1 to unit2. More...
 
bool pism::units::are_convertible (const Unit &u1, const Unit &u2)