#include <Dimension.hpp>

Public Member Functions

 Dimension (const std::string &name, double SI_factor)
 
double getSIScaling () const
 
const std::string & getName () const
 
 Dimension (const std::string &name, double SIfactor, double SIoffset=0.0)
 
double getSIScaling () const
 
double getSIOffset () const
 
double convertRawToSi (double rawValue) const
 
double convertSiToRaw (double siValue) const
 
bool equal (const Dimension &other) const
 
const std::string & getName () const
 
bool isCompositable () const
 

Static Public Member Functions

static Dimension makeComposite (const std::string &dim, double SIfactor)
 
static DimensionnewComposite (const std::string &dim, double SIfactor, double SIoffset=0.0)
 

Constructor & Destructor Documentation

Opm::Dimension::Dimension ( const std::string &  name,
double  SI_factor 
)
Opm::Dimension::Dimension ( const std::string &  name,
double  SIfactor,
double  SIoffset = 0.0 
)

Member Function Documentation

double Opm::Dimension::convertRawToSi ( double  rawValue) const
double Opm::Dimension::convertSiToRaw ( double  siValue) const
bool Opm::Dimension::equal ( const Dimension other) const
const std::string& Opm::Dimension::getName ( ) const
const std::string& Opm::Dimension::getName ( ) const
double Opm::Dimension::getSIOffset ( ) const
double Opm::Dimension::getSIScaling ( ) const
double Opm::Dimension::getSIScaling ( ) const
bool Opm::Dimension::isCompositable ( ) const
static Dimension Opm::Dimension::makeComposite ( const std::string &  dim,
double  SIfactor 
)
static
static Dimension* Opm::Dimension::newComposite ( const std::string &  dim,
double  SIfactor,
double  SIoffset = 0.0 
)
static

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