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