#include <AlgLoop.h>
◆ AlgLoop()
oms::AlgLoop::AlgLoop |
( |
oms_alg_solver_enu_t |
method, |
|
|
double |
absTol, |
|
|
scc_t |
scc, |
|
|
const int |
number, |
|
|
const bool |
useDirectionalDerivative |
|
) |
| |
Construct a new oms::AlgLoop::AlgLoop object.
- Parameters
-
method | Specifies used solver for the loop. Can be oms_alg_solver_fixedpoint for fixed-point-iteration or oms_alg_solver_kinsol for SUNDIALS KINSOL |
absTol | Tolerance used for the algebraic solver. |
scc | Strong Connected Componten, a vector of connected |
number | |
◆ dumpLoopVars()
Dump variables of algebraic loop.
- Parameters
-
- Returns
- std::string
◆ fixPointIteration()
Fixed-point-iteration to solve algebraic loop.
- Parameters
-
- Returns
- oms_status_enu_t
◆ getAlgSolverName()
std::string oms::AlgLoop::getAlgSolverName |
( |
| ) |
|
Return solver method.
- Returns
- std::string Name of solver method
◆ getSCC()
scc_t oms::AlgLoop::getSCC |
( |
| ) |
|
|
inline |
◆ solveAlgLoop()
Solve algebraic loop.
Using solver method saved during AlgLoop creation. Can use fixed-point-iteration and KINSOL.
- Parameters
-
syst | Reference to System |
graph | Reference to directed graph |
- Returns
- oms_status_enu_t Returns
oms_status_ok
on success
◆ absoluteTolerance
double oms::AlgLoop::absoluteTolerance |
|
private |
◆ algSolverMethod
oms_alg_solver_enu_t oms::AlgLoop::algSolverMethod |
|
private |
◆ kinsolData
◆ SCC
const scc_t oms::AlgLoop::SCC |
|
private |
Strong connected components.
◆ systNumber
const int oms::AlgLoop::systNumber |
|
private |
The documentation for this class was generated from the following files:
- /var/lib/jenkins1/ws/OMSimulator_PR-1214/src/OMSimulatorLib/AlgLoop.h
- /var/lib/jenkins1/ws/OMSimulator_PR-1214/src/OMSimulatorLib/AlgLoop.cpp