PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
pism::units::Converter Class Reference

#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 &)
 
Converteroperator= (Converter const &)
 

Private Attributes

std::shared_ptr< Implm_impl
 

Detailed Description

Unit converter.

Throws pism::RuntimeError() if the conversion is not possible.

Definition at line 102 of file Units.hh.


The documentation for this class was generated from the following files: