|
CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|


Public Member Functions | |
| DaeIndexReduction (ADFun< CG< Base > > &fun) | |
| ADFun< CG< Base > > & | getOriginalModel () const |
| virtual std::unique_ptr< ADFun< CG< Base > > > | reduceIndex (std::vector< DaeVarInfo > &newVarInfo, std::vector< DaeEquationInfo > &equationInfo)=0 |
| std::ostream & | log () const |
| void | setLog (std::ostream &out) |
| void | setVerbosity (Verbosity verbosity) |
| Verbosity | getVerbosity () const |
Protected Attributes | |
| ADFun< CG< Base > > *const | fun_ |
| Verbosity | verbosity_ |
| std::ostream * | log_ |
Base class for algorithms that perform automatic index reduction of implicit DAEs.
Definition at line 31 of file dae_index_reduction.hpp.
|
inline |
Creates a new algorithm for index reduction of DAE systems.
| fun | The original model (potentially high index) |
Definition at line 44 of file dae_index_reduction.hpp.
|
inline |
Provides the original model with a representation of an implicit DAE (potentially high index).
Definition at line 55 of file dae_index_reduction.hpp.
|
pure virtual |
Performs the DAE index reduction and creates a new reduced index model.
| newVarInfo | Variable related information of the reduced index model |
| equationInfo | Equation related information of the reduced index model |
Implemented in CppAD::cg::DummyDerivatives< Base >, CppAD::cg::SoaresSecchi< Base >, and CppAD::cg::Pantelides< Base >.
Referenced by CppAD::cg::DaeIndexReduction< Base >::getOriginalModel(), and CppAD::cg::DummyDerivatives< Base >::reduceIndex().
|
protected |
The original model representing an implicit DAE system
Definition at line 36 of file dae_index_reduction.hpp.
Referenced by CppAD::cg::DaeIndexReduction< Base >::getOriginalModel().