pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Enable Tps Python solver interface #117

Closed koomie closed 2 years ago

koomie commented 2 years ago

Introduces an optional configuration (--enable-pybind11) to enable building of a python interface for a subset of the TPS::Tps C++ class that drives the main solver. Interface is built using pybind11. Build system refactored to produce a dynamic libtps.so instead of static library we had previously (needed to be able import the results into python).

A companion tps.py driver script is added which provides the same functionality as the current C++ main.