|
MicroModelicaCCompiler
4.5.3
|
#include <files.hpp>

Public Member Functions | |
| Files (ModelInstancePtr modelInstance, IR::Model &model, Util::CompileFlags &flags) | |
| Files (string name, Util::CompileFlags &flags) | |
| ~Files ()=default | |
| void | makefile () |
| void | run () |
| void | plot () |
| void | settings (IR::ModelAnnotation annotation) |
| void | graph () |
| void | bdfPartition () |
Protected Member Functions | |
| std::string | variablePlotSettings () |
| void | printList (const list< string > &ann, const string &tag) const |
| void | addAnnotation (const IR::ModelAnnotation &annotation, const string &mmo_name, IR::IntegerAnnotations name) |
Protected Attributes | |
| string | _fname |
| IR::Model | _model |
| ModelInstancePtr | _modelInstance |
| WriterPtr | _writer |
| Util::CompileFlags & | _flags |
| ofstream | _file |
| MicroModelica::Generator::Files::Files | ( | ModelInstancePtr | modelInstance, |
| IR::Model & | model, | ||
| Util::CompileFlags & | flags | ||
| ) |
Definition at line 50 of file files.cpp.
References _flags, _fname, MicroModelica::Util::CompileFlags::hasOutputFile(), and MicroModelica::Util::CompileFlags::outputFile().

| MicroModelica::Generator::Files::Files | ( | string | name, |
| Util::CompileFlags & | flags | ||
| ) |
Definition at line 58 of file files.cpp.
References _flags, _fname, MicroModelica::Util::CompileFlags::hasOutputFile(), and MicroModelica::Util::CompileFlags::outputFile().

|
default |
|
protected |
Definition at line 343 of file files.cpp.
References _writer, MicroModelica::IR::ModelAnnotation::getAnnotation(), and MicroModelica::IR::ModelAnnotation::hasAnnotation().
Referenced by settings().

| void MicroModelica::Generator::Files::bdfPartition | ( | ) |
Definition at line 371 of file files.cpp.
References _fname, _model, MicroModelica::IR::Model::annotations(), MicroModelica::IR::ModelAnnotation::BDFPartition(), and current_element.

| void MicroModelica::Generator::Files::graph | ( | ) |
| void MicroModelica::Generator::Files::makefile | ( | ) |
Definition at line 65 of file files.cpp.
References _flags, _fname, _model, _writer, MicroModelica::IR::Model::annotations(), ModelTable< Key, Value >::begin(), MicroModelica::IR::Model::calledFunctions(), MicroModelica::Util::CompileFlags::debug(), ModelTable< Key, Value >::empty(), ModelTable< Key, Value >::end(), MicroModelica::Util::Utils::environmentVariable(), MicroModelica::Util::CompileFlags::hasObjects(), MicroModelica::IR::Model::includeDirectories(), ModelTable< Key, Value >::insert(), MicroModelica::Util::Utils::instance(), MicroModelica::IR::Model::libraryDirectories(), MicroModelica::IR::Model::linkLibraries(), ModelTable< Key, Value >::next(), MicroModelica::Util::CompileFlags::objects(), and MicroModelica::IR::ModelAnnotation::parallel().

|
protected |
| void MicroModelica::Generator::Files::run | ( | ) |
Definition at line 175 of file files.cpp.
References _fname, _model, _writer, MicroModelica::Util::Utils::instance(), and MicroModelica::IR::Model::outputNbr().

| void MicroModelica::Generator::Files::settings | ( | IR::ModelAnnotation | annotation | ) |
Definition at line 264 of file files.cpp.
References _fname, _writer, addAnnotation(), MicroModelica::IR::ModelAnnotation::BDFMaxStep(), MicroModelica::IR::ModelAnnotation::BDFPartition(), MicroModelica::IR::ModelAnnotation::BDFPartitionDepth(), MicroModelica::IR::ModelAnnotation::derDelta(), MicroModelica::IR::ModelAnnotation::dqmin(), MicroModelica::IR::ModelAnnotation::dqrel(), MicroModelica::IR::ModelAnnotation::DT(), MicroModelica::IR::ModelAnnotation::dtSynchString(), MicroModelica::IR::ModelAnnotation::finalTime(), MicroModelica::IR::ModelAnnotation::initialTime(), MicroModelica::IR::ModelAnnotation::jacobian(), MicroModelica::IR::ModelAnnotation::lps(), MicroModelica::IR::ModelAnnotation::metisSettings(), MicroModelica::IR::ModelAnnotation::minStep(), MicroModelica::IR::ModelAnnotation::nodeSize(), MicroModelica::IR::ModelAnnotation::parallel(), MicroModelica::IR::ModelAnnotation::partitionMethodString(), MicroModelica::IR::ModelAnnotation::patohSettings(), printList(), MicroModelica::IR::ModelAnnotation::scotchSettings(), MicroModelica::IR::ModelAnnotation::solverString(), MicroModelica::IR::ModelAnnotation::symDiff(), and MicroModelica::IR::ModelAnnotation::ZCHyst().
Referenced by main().

|
protected |
|
protected |
Definition at line 106 of file files.hpp.
Referenced by Files(), and makefile().
|
protected |
Definition at line 102 of file files.hpp.
Referenced by bdfPartition(), Files(), makefile(), run(), and settings().
|
protected |
Definition at line 103 of file files.hpp.
Referenced by bdfPartition(), makefile(), and run().
|
protected |
|
protected |
Definition at line 105 of file files.hpp.
Referenced by addAnnotation(), makefile(), printList(), run(), and settings().