Added getEclType() to UnitSystem

This commit is contained in:
Joakim Hove
2017-01-11 15:46:39 +01:00
parent 4f076c4813
commit ef6def6511
3 changed files with 19 additions and 0 deletions

View File

@@ -25,6 +25,8 @@
#include <vector>
#include <memory>
#include <ert/ecl/ecl_util.h>
#include <opm/parser/eclipse/Units/Dimension.hpp>
namespace Opm {
@@ -70,6 +72,7 @@ namespace Opm {
const std::string& getName() const;
UnitType getType() const;
ert_ecl_unit_enum getEclType( ) const;
void addDimension(const std::string& dimension, double SIfactor, double SIoffset = 0.0);
void addDimension( Dimension );