Files
opm-common/python/cxx/unit_system.cpp

11 lines
252 B
C++
Raw Normal View History

2019-10-11 16:29:09 +02:00
#include <opm/parser/eclipse/Units/UnitSystem.hpp>
#include "export.hpp"
void python::common::export_UnitSystem(py::module& module)
{
py::class_<UnitSystem>(module, "UnitSystem")
2019-10-13 22:53:56 +02:00
.def_property_readonly( "name", &UnitSystem::getName );
2019-10-11 16:29:09 +02:00
}