GridFire 0.0.1a
General Purpose Nuclear Network
Loading...
Searching...
No Matches
py_solver.cpp
Go to the documentation of this file.
2
3#include <pybind11/pybind11.h>
4#include <pybind11/stl.h>
5#include <pybind11/functional.h> // Needed for std::function
6
7#include <vector>
8
9#include "py_solver.h"
10
11
12namespace py = pybind11;
13
15 PYBIND11_OVERRIDE_PURE(
16 gridfire::NetOut, // Return type
18 evaluate, // Method name
19 netIn // Arguments
20 );
21}
gridfire::NetOut evaluate(const gridfire::NetIn &netIn) override
Evaluates the network for a given timestep.
Definition py_solver.cpp:14
NetworkSolverStrategy< DynamicEngine > DynamicNetworkSolverStrategy
Type alias for a network solver strategy that uses a DynamicEngine.
Definition solver.h:53