python: added class UnitSystem.

This commit is contained in:
Steinar Foss
2019-10-11 16:29:09 +02:00
parent 32ac0034a7
commit c0bd19c59e
7 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#include <opm/parser/eclipse/Units/UnitSystem.hpp>
#include "export.hpp"
void python::common::export_UnitSystem(py::module& module)
{
py::class_<UnitSystem>(module, "UnitSystem")
.def_property_readonly( "type", &UnitSystem::getName );
}