MicroModelicaCCompiler
4.5.3
|
#include <annotation.hpp>
Protected Member Functions | |
void | initialize () |
void | processAnnotation (string annot, AST_Modification_Equal x) |
void | processArgument (AST_Argument_Modification arg) |
void | processList (AST_Expression x, list< double > *l) |
void | processList (AST_Expression x, list< string > *l) |
void | processExpressionList (AST_Expression x, AST_ExpressionList exps) |
Solver | getSolver (string s) |
DT_Synch | getDtSynch (string s) |
void | parseMatrix (AST_Expression exp, IR::MATRIX::UserDefMatrixExps &matrix) |
Definition at line 121 of file annotation.hpp.
|
protected |
Definition at line 220 of file annotation.hpp.
|
strongprotected |
Definition at line 175 of file annotation.hpp.
MicroModelica::IR::ModelAnnotation::ModelAnnotation | ( | ) |
Definition at line 137 of file annotation.cpp.
References MicroModelica::IR::DT_Fixed.
|
default |
double MicroModelica::IR::ModelAnnotation::BDFMaxStep | ( | ) |
Definition at line 698 of file annotation.cpp.
References _rhs_st_matrix.
Referenced by MicroModelica::Generator::Files::settings().
AST_ExpressionList MicroModelica::IR::ModelAnnotation::BDFPartition | ( | ) |
Definition at line 694 of file annotation.cpp.
References _lhs_st_matrix.
Referenced by MicroModelica::Generator::Files::bdfPartition(), and MicroModelica::Generator::Files::settings().
int MicroModelica::IR::ModelAnnotation::BDFPartitionDepth | ( | ) |
Definition at line 696 of file annotation.cpp.
References _lhs_dsc_matrix.
Referenced by MicroModelica::Generator::Files::settings().
string MicroModelica::IR::ModelAnnotation::commInterval | ( | ) |
Definition at line 676 of file annotation.cpp.
References _BDFPartition.
double MicroModelica::IR::ModelAnnotation::derDelta | ( | ) |
Definition at line 660 of file annotation.cpp.
References _sample.
Referenced by MicroModelica::Generator::Files::settings().
string MicroModelica::IR::ModelAnnotation::desc | ( | ) |
Definition at line 632 of file annotation.cpp.
References _dtSynchString.
list< double > MicroModelica::IR::ModelAnnotation::dqmin | ( | ) |
Definition at line 634 of file annotation.cpp.
References _initialTime.
Referenced by MicroModelica::Generator::Files::settings().
list< double > MicroModelica::IR::ModelAnnotation::dqrel | ( | ) |
Definition at line 638 of file annotation.cpp.
References _minStep.
Referenced by MicroModelica::Generator::Files::settings().
double MicroModelica::IR::ModelAnnotation::DT | ( | ) |
Definition at line 636 of file annotation.cpp.
References _finalTime.
Referenced by MicroModelica::Generator::Files::settings().
DT_Synch MicroModelica::IR::ModelAnnotation::dtSynch | ( | ) |
Definition at line 648 of file annotation.cpp.
string MicroModelica::IR::ModelAnnotation::dtSynchString | ( | ) |
Definition at line 650 of file annotation.cpp.
References _solver, MicroModelica::IR::CVODE_BDF, MicroModelica::IR::DASSL, MicroModelica::IR::DOPRI, and MicroModelica::IR::IDA.
Referenced by MicroModelica::Generator::Files::settings().
string MicroModelica::IR::ModelAnnotation::EventId | ( | ) |
Definition at line 704 of file annotation.cpp.
Referenced by MicroModelica::IR::Model::addEvent().
void MicroModelica::IR::ModelAnnotation::expComment | ( | AST_Comment | x, |
int | id | ||
) |
Definition at line 235 of file annotation.cpp.
References MicroModelica::Util::Error::add(), EM_ANNOTATION_TYPE, EM_IR, MicroModelica::Util::ER_Error, MicroModelica::Util::Error::instance(), MODEQUAL, and processAnnotation().
double MicroModelica::IR::ModelAnnotation::finalTime | ( | ) |
Definition at line 654 of file annotation.cpp.
References _lps.
Referenced by MicroModelica::Generator::Files::settings().
int MicroModelica::IR::ModelAnnotation::getAnnotation | ( | IntegerAnnotations | annot | ) | const |
Definition at line 619 of file annotation.cpp.
References _dt.
Referenced by MicroModelica::Generator::Files::addAnnotation().
|
protected |
Definition at line 386 of file annotation.cpp.
|
protected |
Definition at line 396 of file annotation.cpp.
bool MicroModelica::IR::ModelAnnotation::hasAnnotation | ( | IntegerAnnotations | annot | ) | const |
Definition at line 627 of file annotation.cpp.
References _solver.
Referenced by MicroModelica::Generator::Files::addAnnotation().
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::HDMatrix | ( | ) |
Definition at line 706 of file annotation.cpp.
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::HHMatrix | ( | ) |
Definition at line 710 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_integer.
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::HZMatrix | ( | ) |
Definition at line 708 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_integer.
|
protected |
Definition at line 183 of file annotation.cpp.
double MicroModelica::IR::ModelAnnotation::initialTime | ( | ) |
Definition at line 652 of file annotation.cpp.
Referenced by MicroModelica::Generator::Files::settings().
bool MicroModelica::IR::ModelAnnotation::insert | ( | AST_Argument_Modification | x | ) |
Definition at line 266 of file annotation.cpp.
bool MicroModelica::IR::ModelAnnotation::isClassic | ( | ) |
Definition at line 666 of file annotation.cpp.
References _order.
Referenced by MicroModelica::Generator::Macros::Macros().
int MicroModelica::IR::ModelAnnotation::jacobian | ( | ) |
Definition at line 664 of file annotation.cpp.
References _symDiff.
Referenced by MicroModelica::Generator::Files::settings().
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::LHSDSCMatrix | ( | ) |
Definition at line 714 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_real.
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::LHSSTMatrix | ( | ) |
Definition at line 712 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_real.
int MicroModelica::IR::ModelAnnotation::lps | ( | ) |
Definition at line 672 of file annotation.cpp.
References _scotchSettings.
Referenced by MicroModelica::Generator::Files::settings().
list< string > MicroModelica::IR::ModelAnnotation::metisSettings | ( | ) |
Definition at line 692 of file annotation.cpp.
References _hh_matrix.
Referenced by MicroModelica::Generator::Files::settings().
double MicroModelica::IR::ModelAnnotation::minStep | ( | ) |
Definition at line 656 of file annotation.cpp.
References _nodeSize.
Referenced by MicroModelica::Generator::Files::settings().
int MicroModelica::IR::ModelAnnotation::nodeSize | ( | ) |
Definition at line 674 of file annotation.cpp.
References _metisSettings.
Referenced by MicroModelica::Generator::Files::settings().
int MicroModelica::IR::ModelAnnotation::order | ( | ) |
Definition at line 684 of file annotation.cpp.
References _polyCoeffs.
list< AST_Expression > MicroModelica::IR::ModelAnnotation::output | ( | ) |
Definition at line 686 of file annotation.cpp.
References _event_ids.
bool MicroModelica::IR::ModelAnnotation::parallel | ( | ) |
Definition at line 700 of file annotation.cpp.
References _sd_matrix.
Referenced by MicroModelica::Generator::QSSModelInstance::allocateSolver(), MicroModelica::Generator::Files::makefile(), and MicroModelica::Generator::Files::settings().
|
protected |
Definition at line 466 of file annotation.cpp.
string MicroModelica::IR::ModelAnnotation::partitionMethodString | ( | ) |
Definition at line 646 of file annotation.cpp.
References _jacobian.
Referenced by MicroModelica::Generator::Files::settings().
list< string > MicroModelica::IR::ModelAnnotation::patohSettings | ( | ) |
Definition at line 688 of file annotation.cpp.
References _hd_matrix.
Referenced by MicroModelica::Generator::Files::settings().
int MicroModelica::IR::ModelAnnotation::polyCoeffs | ( | ) |
Definition at line 702 of file annotation.cpp.
References _sz_matrix.
Referenced by MicroModelica::Generator::Macros::arguments().
|
protected |
Definition at line 473 of file annotation.cpp.
Referenced by expComment().
|
protected |
Definition at line 252 of file annotation.cpp.
|
protected |
Definition at line 374 of file annotation.cpp.
|
protected |
Definition at line 313 of file annotation.cpp.
|
protected |
Definition at line 355 of file annotation.cpp.
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::RHSSTMatrix | ( | ) |
Definition at line 716 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_str.
list< double > MicroModelica::IR::ModelAnnotation::sample | ( | ) |
Definition at line 678 of file annotation.cpp.
References _BDFPartitionDepth.
string MicroModelica::IR::ModelAnnotation::scheduler | ( | ) |
Definition at line 680 of file annotation.cpp.
References _BDFMaxStep.
list< string > MicroModelica::IR::ModelAnnotation::scotchSettings | ( | ) |
Definition at line 690 of file annotation.cpp.
References _hz_matrix.
Referenced by MicroModelica::Generator::Files::settings().
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::SDMatrix | ( | ) |
Definition at line 718 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_str.
void MicroModelica::IR::ModelAnnotation::setNodeSize | ( | int | ns | ) |
Solver MicroModelica::IR::ModelAnnotation::solver | ( | ) |
Definition at line 644 of file annotation.cpp.
References _storeData.
string MicroModelica::IR::ModelAnnotation::solverString | ( | ) |
Definition at line 642 of file annotation.cpp.
References _derDelta.
Referenced by MicroModelica::Generator::Files::settings().
string MicroModelica::IR::ModelAnnotation::storeData | ( | ) |
Definition at line 662 of file annotation.cpp.
References _scheduler.
bool MicroModelica::IR::ModelAnnotation::symDiff | ( | ) |
Definition at line 682 of file annotation.cpp.
References _parallel.
Referenced by MicroModelica::Generator::Files::settings().
IR::MATRIX::UserDefMatrixExps MicroModelica::IR::ModelAnnotation::SZMatrix | ( | ) |
Definition at line 720 of file annotation.cpp.
References MicroModelica::IR::AnnotationValue::_plain_str.
double MicroModelica::IR::ModelAnnotation::weight | ( | ) |
Definition at line 640 of file annotation.cpp.
References _ZCHyst.
double MicroModelica::IR::ModelAnnotation::ZCHyst | ( | ) |
Definition at line 658 of file annotation.cpp.
References _commInterval.
Referenced by MicroModelica::Generator::Files::settings().
|
protected |
Definition at line 244 of file annotation.hpp.
|
protected |
Definition at line 265 of file annotation.hpp.
Referenced by scheduler().
|
protected |
Definition at line 263 of file annotation.hpp.
Referenced by commInterval().
|
protected |
Definition at line 264 of file annotation.hpp.
Referenced by sample().
|
protected |
Definition at line 234 of file annotation.hpp.
Referenced by ZCHyst().
|
protected |
Definition at line 275 of file annotation.hpp.
|
protected |
Definition at line 238 of file annotation.hpp.
Referenced by solverString().
|
protected |
Definition at line 258 of file annotation.hpp.
|
protected |
Definition at line 245 of file annotation.hpp.
|
protected |
Definition at line 246 of file annotation.hpp.
|
protected |
Definition at line 254 of file annotation.hpp.
Referenced by getAnnotation().
|
protected |
Definition at line 256 of file annotation.hpp.
|
protected |
Definition at line 257 of file annotation.hpp.
Referenced by desc().
|
protected |
Definition at line 274 of file annotation.hpp.
Referenced by output().
|
protected |
Definition at line 251 of file annotation.hpp.
Referenced by DT().
|
protected |
Definition at line 266 of file annotation.hpp.
Referenced by patohSettings().
|
protected |
Definition at line 268 of file annotation.hpp.
Referenced by metisSettings().
|
protected |
Definition at line 267 of file annotation.hpp.
Referenced by scotchSettings().
|
protected |
Definition at line 250 of file annotation.hpp.
Referenced by dqmin().
|
protected |
Definition at line 276 of file annotation.hpp.
|
protected |
Definition at line 277 of file annotation.hpp.
|
protected |
Definition at line 262 of file annotation.hpp.
Referenced by partitionMethodString().
|
protected |
Definition at line 271 of file annotation.hpp.
Referenced by BDFPartitionDepth().
|
protected |
Definition at line 269 of file annotation.hpp.
Referenced by BDFPartition().
|
protected |
Definition at line 237 of file annotation.hpp.
Referenced by finalTime().
|
protected |
Definition at line 261 of file annotation.hpp.
Referenced by nodeSize().
|
protected |
Definition at line 236 of file annotation.hpp.
Referenced by dqrel().
|
protected |
Definition at line 239 of file annotation.hpp.
Referenced by minStep().
|
protected |
Definition at line 241 of file annotation.hpp.
Referenced by isClassic().
|
protected |
Definition at line 249 of file annotation.hpp.
|
protected |
Definition at line 253 of file annotation.hpp.
Referenced by symDiff().
|
protected |
Definition at line 252 of file annotation.hpp.
|
protected |
Definition at line 259 of file annotation.hpp.
|
protected |
Definition at line 255 of file annotation.hpp.
Referenced by order().
|
protected |
Definition at line 270 of file annotation.hpp.
Referenced by BDFMaxStep().
|
protected |
Definition at line 248 of file annotation.hpp.
Referenced by derDelta().
|
protected |
Definition at line 242 of file annotation.hpp.
Referenced by storeData().
|
protected |
Definition at line 260 of file annotation.hpp.
Referenced by lps().
|
protected |
Definition at line 272 of file annotation.hpp.
Referenced by parallel().
|
protected |
Definition at line 232 of file annotation.hpp.
Referenced by dtSynchString(), and hasAnnotation().
|
protected |
Definition at line 233 of file annotation.hpp.
|
protected |
Definition at line 243 of file annotation.hpp.
Referenced by solver().
|
protected |
Definition at line 235 of file annotation.hpp.
Referenced by jacobian().
|
protected |
Definition at line 273 of file annotation.hpp.
Referenced by polyCoeffs().
|
protected |
Definition at line 247 of file annotation.hpp.
|
protected |
Definition at line 240 of file annotation.hpp.
Referenced by weight().