fix(Config-Py-Bindings): CVODESolver->PointSolver in python bindings
CVODESolver was renamed to PointSolver in the C++ source; however, the python source had not been updated. This has not been made consistent BREAKING CHANGE:
This commit is contained in:
@@ -6,14 +6,14 @@
|
|||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
|
|
||||||
void register_config_bindings(pybind11::module &m) {
|
void register_config_bindings(pybind11::module &m) {
|
||||||
py::class_<gridfire::config::CVODESolverConfig>(m, "CVODESolverConfig")
|
py::class_<gridfire::config::PointSolverConfig>(m, "PointSolverConfig")
|
||||||
.def(py::init<>())
|
.def(py::init<>())
|
||||||
.def_readwrite("absTol", &gridfire::config::CVODESolverConfig::absTol)
|
.def_readwrite("absTol", &gridfire::config::PointSolverConfig::absTol)
|
||||||
.def_readwrite("relTol", &gridfire::config::CVODESolverConfig::relTol);
|
.def_readwrite("relTol", &gridfire::config::PointSolverConfig::relTol);
|
||||||
|
|
||||||
py::class_<gridfire::config::SolverConfig>(m, "SolverConfig")
|
py::class_<gridfire::config::SolverConfig>(m, "SolverConfig")
|
||||||
.def(py::init<>())
|
.def(py::init<>())
|
||||||
.def_readwrite("cvode", &gridfire::config::SolverConfig::cvode);
|
.def_readwrite("pointSolver", &gridfire::config::SolverConfig::pointSolver);
|
||||||
|
|
||||||
py::class_<gridfire::config::AdaptiveEngineViewConfig>(m, "AdaptiveEngineViewConfig")
|
py::class_<gridfire::config::AdaptiveEngineViewConfig>(m, "AdaptiveEngineViewConfig")
|
||||||
.def(py::init<>())
|
.def(py::init<>())
|
||||||
|
|||||||
Reference in New Issue
Block a user