MicroModelicaCCompiler
4.5.3
|
#include <equation_printer.hpp>
Public Member Functions | |
DependencyPrinter (Equation eq) | |
~DependencyPrinter ()=default | |
std::string | print () const override |
![]() | |
DerivativePrinter (Equation eq) | |
~DerivativePrinter ()=default | |
std::string | macro () const override |
void | factorialInit (int fact_init) |
![]() | |
EquationPrinter (Equation eq) | |
virtual | ~EquationPrinter ()=default |
std::string | identifier () const |
std::string | algCode () const |
std::string | prefix () const |
std::string | lhs (int order=0) const |
virtual std::string | equationId () const |
FUNCTION_PRINTER::ReturnStatementType | returnStm () const |
std::multimap< std::string, int > | usedVariables () const |
Protected Member Functions | |
std::string | beginParallelMap (std::string &tabs) const |
std::string | endParallelMap () const |
![]() | |
void | initializeDerivatives () |
std::string | generateDerivatives (std::string tabs, int init=1) const |
![]() | |
void | setup (Equation eq) |
Private Attributes | |
Index | _usage |
Option< Range > | _range |
Expression | _rhs |
Index | _var_idx |
bool | _parallel |
Definition at line 142 of file equation_printer.hpp.
MicroModelica::IR::DependencyPrinter::DependencyPrinter | ( | Equation | eq | ) |
Definition at line 340 of file equation_printer.cpp.
|
default |
|
protected |
Definition at line 348 of file equation_printer.cpp.
|
protected |
Definition at line 359 of file equation_printer.cpp.
References _range, _usage, MicroModelica::IR::Index::replace(), and MicroModelica::IR::Index::revert().
|
overridevirtual |
Reimplemented from MicroModelica::IR::DerivativePrinter.
Definition at line 369 of file equation_printer.cpp.
|
private |
Definition at line 157 of file equation_printer.hpp.
Definition at line 154 of file equation_printer.hpp.
Referenced by endParallelMap().
|
private |
Definition at line 155 of file equation_printer.hpp.
|
private |
Definition at line 153 of file equation_printer.hpp.
Referenced by endParallelMap().
|
private |
Definition at line 156 of file equation_printer.hpp.
Referenced by MicroModelica::IR::AlgebraicPrinter::equationId().