MicroModelicaCCompiler
4.5.3
|
Go to the documentation of this file.
22 #include <deps/sbg_graph/build_from_exps.hpp>
44 if (range && der.hasRange()) {
61 Equation eq = getEquation(vertex, _eqs);
65 int EQSelector::id(SB::Deps::SetVertex vertex) {
return getEquation(vertex, _eqs).id(); };
80 return (var.name().find(
"_event_") != std::string::npos);
108 if (vertex.desc().type() == SB::Deps::VERTEX::Equation) {
115 int EVSelector::id(SB::Deps::SetVertex vertex) {
return getEvent(vertex).id(); };
void setMapU(SB::PWLMap map_u)
IR::Expression exp(IR::Event ev)
std::string nodeName(int id)
IR::Equation getScalarUsage(SB::Set range, IR::Expression exp, IR::Equation eq, IR::Index ifr_idx)
IR::Event getNode(int id)
Option< Util::Variable > LHSVariable() const
int id(SB::Deps::SetVertex vertex)
ModelTable< int, Equation > EquationTable
IR::Equation getNode(int id)
IR::EquationTable getNodes() const
int id(SB::Deps::SetVertex vertex)
bool validVariable(Util::Variable var)
bool isAlgebraic(SB::Deps::SetVertex vertex)
IR::EventTable getNodes() const
IR::Equation setUsage(IR::Index ifr_idx, IR::Equation eq, Option< IR::Range > range)
void setMapF(SB::PWLMap map_f)
IR::Event setUsage(IR::Index ifr_idx, IR::Event ev, Option< IR::Range > range)
bool isAlgebraic(SB::Deps::SetVertex vertex)
void setUsage(Index usage)
IR::Event getScalarUsage(SB::Set range, IR::Expression exp, IR::Event ev, IR::Index ifr_idx)
void applyUsage(Index usage)
std::string nodeName(int id)
bool multipleNodes() const
void setMapU(SB::PWLMap map_u)
bool validVariable(Util::Variable var)
Expression expression() const
IR::Expression exp(IR::Equation eq)
void setMapF(SB::PWLMap map_f)
bool multipleNodes() const
EQUATION::Type type() const