OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
SurfaceSolverFactory.hpp
Go to the documentation of this file.
1
35
36#ifndef OPENSWMM_ENGINE_2D_SURFACE_SOLVER_FACTORY_HPP
37#define OPENSWMM_ENGINE_2D_SURFACE_SOLVER_FACTORY_HPP
38
39#include <memory>
40#include <string>
41
42namespace openswmm::twoD {
43
44struct SolverOptions2D;
45class ISurfaceSolver;
46
67std::unique_ptr<ISurfaceSolver> makeSurfaceSolver(const SolverOptions2D& opts,
68 std::string* chosen = nullptr,
69 int n_cells = 0);
70
71} // namespace openswmm::twoD
72
73#endif // OPENSWMM_ENGINE_2D_SURFACE_SOLVER_FACTORY_HPP
Abstract time integrator for the 2D surface-routing ODE system.
Definition ISurfaceSolver.hpp:49
Definition NodeCoupling.cpp:15
std::unique_ptr< ISurfaceSolver > makeSurfaceSolver(const SolverOptions2D &opts, std::string *chosen=nullptr, int n_cells=0)
Construct the 2D surface solver per the runtime backend policy.
Configuration for the 2D surface routing CVODE solver.
Definition SolverOptions2D.hpp:132