Files
opm-common/python/cxx/export.cpp
Steinar Foss d6c1d64ba0 Python: added class FieldProperties.
test_props.py: added check for 3d_properties/field_props extraction.

cxx/eclipse_state.cpp: adding function field_props.

added python class FieldProperties.

python FieldProps: added __contains__.

python FieldProps: added __getitem__.

python field_props: images all 3dprops tests.
2019-12-22 15:25:16 +01:00

29 lines
716 B
C++

#include <pybind11/pybind11.h>
#include "export.hpp"
void python::common::export_all(py::module& module) {
export_ParseContext(module);
export_Parser(module);
export_Deck(module);
export_DeckKeyword(module);
export_Schedule(module);
export_Well(module);
export_Group(module);
export_Connection(module);
export_EclipseConfig(module);
export_Eclipse3DProperties(module);
export_FieldProperties(module);
export_EclipseState(module);
export_TableManager(module);
export_EclipseGrid(module);
export_UnitSystem(module);
export_Log(module);
export_IO(module);
}
PYBIND11_MODULE(libopmcommon_python, module) {
python::common::export_all(module);
}