File: Pybind11Exporter.cpp

package info (click to toggle)
opm-simulators 2022.10%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,352 kB
  • sloc: cpp: 76,729; lisp: 1,173; sh: 886; python: 158; makefile: 19
file content (11 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#include <pybind11/pybind11.h>
#include <opm/simulators/flow/python/Pybind11Exporter.hpp>

void Opm::Pybind::export_all(py::module& m) {
    export_PyBlackOilSimulator(m);
}

PYBIND11_MODULE(simulators, m)
{
    Opm::Pybind::export_all(m);
}