python: added class UnitSystem.
This commit is contained in:
10
python/cxx/unit_system.cpp
Normal file
10
python/cxx/unit_system.cpp
Normal 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 );
|
||||
}
|
||||
Reference in New Issue
Block a user