Loading...
Searching...
No Matches
py_solver.h
Go to the documentation of this file.
#pragma once
#include "gridfire/solver/solver.h"
#include <vector>
class PyDynamicNetworkSolverStrategy final : public gridfire::solver::DynamicNetworkSolverStrategy {
explicit PyDynamicNetworkSolverStrategy(gridfire::DynamicEngine &engine) : gridfire::solver::DynamicNetworkSolverStrategy(engine) {}
gridfire::NetOut evaluate(const gridfire::NetIn &netIn) override;
};
PyDynamicNetworkSolverStrategy::evaluate
gridfire::NetOut evaluate(const gridfire::NetIn &netIn) override
Evaluates the network for a given timestep.
Definition py_solver.cpp:14
PyDynamicNetworkSolverStrategy::PyDynamicNetworkSolverStrategy
PyDynamicNetworkSolverStrategy(gridfire::DynamicEngine &engine)
Definition py_solver.h:8
gridfire::DynamicEngine
Abstract class for engines supporting Jacobian and stoichiometry operations.
Definition engine_abstract.h:130
gridfire::solver::DynamicNetworkSolverStrategy
NetworkSolverStrategy< DynamicEngine > DynamicNetworkSolverStrategy
Type alias for a network solver strategy that uses a DynamicEngine.
Definition solver.h:53
gridfire
Definition engine_abstract.h:31
solver.h
gridfire::NetIn
Definition network.h:53
gridfire::NetOut
Definition network.h:65