QSS Solver GUI  4.5.3
ModelEditor Class Reference

#include <modeleditor.hpp>

Inheritance diagram for ModelEditor:
Collaboration diagram for ModelEditor:

Signals

void clean (int)
 
void done (QString name, QString ext)
 

Public Member Functions

 ModelEditor (QWidget *parent=NULL, QString name=QString())
 
 ~ModelEditor ()
 
QString absTolerance ()
 
QString activeBaseFileName ()
 
bool activeDirty ()
 
QString activeFileName ()
 
int activeFileIndex ()
 
QString activeFullFileName ()
 
QString baseFileName (int idx)
 
bool checkModel ()
 
bool checkPackage ()
 
void closeFiles ()
 
int count ()
 
QString derDelta ()
 
QString description ()
 
void editModel (QString name=QString())
 
QString fileName (int idx)
 
QStringList fileNames ()
 
QString fullFileName (int idx)
 
QString minStep ()
 
QString modelName ()
 
QString newFileName ()
 
QString output ()
 
QString outputType ()
 
QString period ()
 
QString scheduler ()
 
QString solver ()
 
QString startTime ()
 
QString stopTime ()
 
QString symDiff ()
 
QString parallel ()
 
QString partitionMethod ()
 
QString DT ()
 
QString tolerance ()
 
void setAbsTolerance (QString str)
 
void setDerDelta (QString str)
 
void setDescription (QString str)
 
void setMinStep (QString str)
 
void setOutput (QString str)
 
void setOutputType (QString str)
 
void setPeriod (QString str)
 
void setScheduler (QString str)
 
void setSolver (QString str)
 
void setStartTime (QString str)
 
void setStopTime (QString str)
 
void setSymDiff (QString str)
 
void setTolerance (QString str)
 
void setZcHyst (QString str)
 
void setLPS (QString str)
 
void writeAnnotations ()
 
QString zcHyst ()
 
QString LPS ()
 
void setParallel (QString str)
 
bool isParallel ()
 
void setPartitionMethod (QString str)
 
void setJacobian (QString str)
 
QString jacobian ()
 
void setDT (QString str)
 
void setDtSynch (QString str)
 
QString dtSynch ()
 
void setDtPeriod (QString str)
 
QString dtPeriod ()
 
void setDtStepLog (QString str)
 
QString dtStepLog ()
 
void setPatohSettings (QString str)
 
void setScotchSettings (QString str)
 
void setMetisSettings (QString str)
 
QString patohSettings ()
 
QString scotchSettings ()
 
QString metisSettings ()
 
void setSemiStaticPartitioning (bool st)
 
bool semiStaticPartitioning ()
 
void setImbalance (QString str)
 
QString imbalance ()
 
void setReorderPartition (QString str)
 
QString reorderPartition ()
 
void setDebugGraph (QString str)
 
QString debugGraph ()
 
void setGenerateArch (QString str)
 
QString generateArch ()
 
QString BDFPart ()
 
void setBDFPart (QString str)
 
QString BDFPartitionDepth ()
 
void setBDFPartitionDepth (QString str)
 
QString BDFMaxStep ()
 
void setBDFMaxStep (QString str)
 
void keyReleaseEvent (QKeyEvent *event)
 
void save (void)
 
void saveAll (void)
 
void saveAs (QString name=QString())
 

Protected Member Functions

void reject ()
 
void currentChanged (int index)
 
void tabCloseRequested (int index)
 
void textChanged ()
 

Private Member Functions

void addLine (QString str)
 
int beginModel ()
 
int endModel ()
 
int controlEmptyLines (int position)
 
bool checkToken (QString str)
 
bool checkAnnotations ()
 
int checkFunctions (int modelInit, int modelEnd)
 
void remove (int tab)
 
void deleteAnnotations ()
 
void deletePackageFiles (int idx)
 
QString findValue (QString token, QString str)
 
QString getAnnotations (QString str)
 
QString getAnnotationValue (QString value, QString token)
 
bool lineEmpty ()
 
void setAnnotations (QString str, QString value, bool separator)
 
void save (int tab)
 
int tokenPosition (QString token)
 
void searchFixedAnnot (QStringList annotations)
 
void addFixedAnnot ()
 

Private Attributes

QStringList _annotations
 
QMap< QString, QString > _defaultValues
 
QString _startTime
 
QString _stopTime
 
QString _tolerance
 
QString _absTolerance
 
QString _solver
 
QString _output
 
QString _outputType
 
QString _period
 
QString _lps
 
QString _description
 
QString _minstep
 
QString _zchyst
 
QString _derdelta
 
QString _scheduler
 
QString _symdiff
 
QString _dtSynch
 
QString _dtPeriod
 
QString _dtStepLog
 
QString _dt
 
QString _parallel
 
QString _partitionMethod
 
QString _jacobian
 
QString _patohSettings
 
QString _scotchSettings
 
QString _metisSettings
 
QString _generateArch
 
QString _debugGraph
 
QString _reorderPartition
 
QString _imbalance
 
QString _BDFPart
 
QString _BDFPartitionDepth
 
QString _BDFMaxStep
 
bool _semiStaticPartitioning
 
QMap< QString, QString > _fixed_annotations
 
QTabWidget * _model_editor_tab
 
QList< ModelInfo > * _models
 
Utils_utils
 
MmoHighlighter_hl
 

Detailed Description

Definition at line 31 of file modeleditor.hpp.

Constructor & Destructor Documentation

◆ ModelEditor()

ModelEditor::ModelEditor ( QWidget *  parent = NULL,
QString  name = QString() 
)

Definition at line 29 of file modeleditor.cpp.

References _defaultValues, _model_editor_tab, _models, _utils, currentChanged(), editModel(), and tabCloseRequested().

Here is the call graph for this function:

◆ ~ModelEditor()

ModelEditor::~ModelEditor ( )

Definition at line 107 of file modeleditor.cpp.

References _model_editor_tab, _models, and _utils.

Member Function Documentation

◆ absTolerance()

QString ModelEditor::absTolerance ( )
inline

Definition at line 36 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ activeBaseFileName()

◆ activeDirty()

bool ModelEditor::activeDirty ( )

Definition at line 167 of file modeleditor.cpp.

References _model_editor_tab, and _models.

◆ activeFileIndex()

int ModelEditor::activeFileIndex ( )
inline

Definition at line 40 of file modeleditor.hpp.

References _model_editor_tab.

◆ activeFileName()

QString ModelEditor::activeFileName ( )

Definition at line 161 of file modeleditor.cpp.

References _model_editor_tab, and fileName().

Here is the call graph for this function:

◆ activeFullFileName()

QString ModelEditor::activeFullFileName ( )

Definition at line 198 of file modeleditor.cpp.

References _model_editor_tab, and fullFileName().

Referenced by MmomeGui::comp_finished(), and MmomeGui::compile().

Here is the call graph for this function:

◆ addFixedAnnot()

void ModelEditor::addFixedAnnot ( )
private

Definition at line 742 of file modeleditor.cpp.

References _fixed_annotations, and setAnnotations().

Referenced by writeAnnotations().

Here is the call graph for this function:

◆ addLine()

void ModelEditor::addLine ( QString  str)
inlineprivate

Definition at line 142 of file modeleditor.hpp.

References _annotations.

Referenced by setAnnotations(), and writeAnnotations().

◆ baseFileName()

QString ModelEditor::baseFileName ( int  idx)

Definition at line 190 of file modeleditor.cpp.

References _models.

Referenced by activeBaseFileName(), MmomeGui::cleanBuildDir(), fileNames(), and remove().

◆ BDFMaxStep()

QString ModelEditor::BDFMaxStep ( )
inline

Definition at line 122 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ BDFPart()

QString ModelEditor::BDFPart ( )
inline

Definition at line 118 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ BDFPartitionDepth()

QString ModelEditor::BDFPartitionDepth ( )
inline

Definition at line 120 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ beginModel()

int ModelEditor::beginModel ( )
inlineprivate

Definition at line 143 of file modeleditor.hpp.

References tokenPosition().

Referenced by checkAnnotations().

Here is the call graph for this function:

◆ checkAnnotations()

bool ModelEditor::checkAnnotations ( )
private

Definition at line 444 of file modeleditor.cpp.

References _model_editor_tab, beginModel(), checkFunctions(), endModel(), and modelName().

Referenced by deleteAnnotations().

Here is the call graph for this function:

◆ checkFunctions()

int ModelEditor::checkFunctions ( int  modelInit,
int  modelEnd 
)
private

Definition at line 582 of file modeleditor.cpp.

References _model_editor_tab.

Referenced by checkAnnotations().

◆ checkModel()

bool ModelEditor::checkModel ( )
inline

Definition at line 43 of file modeleditor.hpp.

References checkToken().

Here is the call graph for this function:

◆ checkPackage()

bool ModelEditor::checkPackage ( )
inline

Definition at line 44 of file modeleditor.hpp.

References checkToken().

Referenced by save().

Here is the call graph for this function:

◆ checkToken()

bool ModelEditor::checkToken ( QString  str)
private

Definition at line 434 of file modeleditor.cpp.

References _model_editor_tab.

Referenced by checkModel(), and checkPackage().

◆ clean

void ModelEditor::clean ( int  )
signal

Referenced by MmomeGui::editModel(), and save().

◆ closeFiles()

void ModelEditor::closeFiles ( )

Definition at line 258 of file modeleditor.cpp.

References _models, and tabCloseRequested().

Referenced by MmomeGui::closeEvent().

Here is the call graph for this function:

◆ controlEmptyLines()

int ModelEditor::controlEmptyLines ( int  position)
private

Definition at line 617 of file modeleditor.cpp.

References _model_editor_tab.

Referenced by deleteAnnotations(), and getAnnotations().

◆ count()

int ModelEditor::count ( )
inline

Definition at line 46 of file modeleditor.hpp.

References _model_editor_tab.

◆ currentChanged()

void ModelEditor::currentChanged ( int  index)
protected

Definition at line 228 of file modeleditor.cpp.

References _model_editor_tab.

Referenced by ModelEditor().

◆ debugGraph()

QString ModelEditor::debugGraph ( )
inline

Definition at line 115 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ deleteAnnotations()

void ModelEditor::deleteAnnotations ( )
private

Definition at line 637 of file modeleditor.cpp.

References _model_editor_tab, checkAnnotations(), controlEmptyLines(), endModel(), and modelName().

Referenced by writeAnnotations().

Here is the call graph for this function:

◆ deletePackageFiles()

void ModelEditor::deletePackageFiles ( int  idx)
private

Definition at line 706 of file modeleditor.cpp.

References _models, ModelInfo::baseName(), and ModelInfo::path().

Referenced by save().

Here is the call graph for this function:

◆ derDelta()

QString ModelEditor::derDelta ( )
inline

Definition at line 47 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ description()

QString ModelEditor::description ( )
inline

Definition at line 48 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ done

void ModelEditor::done ( QString  name,
QString  ext 
)
signal

Referenced by MmomeGui::editModel(), and remove().

◆ DT()

QString ModelEditor::DT ( )
inline

Definition at line 66 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ dtPeriod()

QString ModelEditor::dtPeriod ( )
inline

Definition at line 99 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ dtStepLog()

QString ModelEditor::dtStepLog ( )
inline

Definition at line 101 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ dtSynch()

QString ModelEditor::dtSynch ( )
inline

Definition at line 97 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ editModel()

void ModelEditor::editModel ( QString  name = QString())

Definition at line 114 of file modeleditor.cpp.

References _hl, _model_editor_tab, _models, and textChanged().

Referenced by MmomeGui::editModel(), and ModelEditor().

Here is the call graph for this function:

◆ endModel()

int ModelEditor::endModel ( )
inlineprivate

Definition at line 144 of file modeleditor.hpp.

References modelName(), and tokenPosition().

Referenced by checkAnnotations(), deleteAnnotations(), and getAnnotations().

Here is the call graph for this function:

◆ fileName()

QString ModelEditor::fileName ( int  idx)

Definition at line 176 of file modeleditor.cpp.

References _models.

Referenced by activeFileName(), and newFileName().

◆ fileNames()

QStringList ModelEditor::fileNames ( )

Definition at line 400 of file modeleditor.cpp.

References _model_editor_tab, and baseFileName().

Here is the call graph for this function:

◆ findValue()

◆ fullFileName()

QString ModelEditor::fullFileName ( int  idx)

Definition at line 204 of file modeleditor.cpp.

References _models.

Referenced by activeFullFileName(), and remove().

◆ generateArch()

QString ModelEditor::generateArch ( )
inline

Definition at line 117 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ getAnnotations()

◆ getAnnotationValue()

QString ModelEditor::getAnnotationValue ( QString  value,
QString  token 
)
private

Definition at line 365 of file modeleditor.cpp.

Referenced by getAnnotations().

◆ imbalance()

QString ModelEditor::imbalance ( )
inline

Definition at line 111 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ isParallel()

bool ModelEditor::isParallel ( )
inline

Definition at line 91 of file modeleditor.hpp.

References _parallel.

◆ jacobian()

QString ModelEditor::jacobian ( )
inline

Definition at line 94 of file modeleditor.hpp.

References _jacobian.

◆ keyReleaseEvent()

void ModelEditor::keyReleaseEvent ( QKeyEvent *  event)

Definition at line 149 of file modeleditor.cpp.

References _model_editor_tab.

◆ lineEmpty()

bool ModelEditor::lineEmpty ( )
private

Definition at line 409 of file modeleditor.cpp.

References _model_editor_tab.

◆ LPS()

QString ModelEditor::LPS ( )
inline

Definition at line 89 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ metisSettings()

QString ModelEditor::metisSettings ( )
inline

Definition at line 107 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ minStep()

QString ModelEditor::minStep ( )
inline

Definition at line 53 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ modelName()

QString ModelEditor::modelName ( )

◆ newFileName()

QString ModelEditor::newFileName ( )

Definition at line 318 of file modeleditor.cpp.

References _utils, Utils::appDir(), fileName(), and MMOC_MODELS.

Referenced by save().

Here is the call graph for this function:

◆ output()

QString ModelEditor::output ( )
inline

Definition at line 56 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ outputType()

QString ModelEditor::outputType ( )
inline

Definition at line 57 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ parallel()

QString ModelEditor::parallel ( )
inline

Definition at line 64 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ partitionMethod()

QString ModelEditor::partitionMethod ( )
inline

Definition at line 65 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ patohSettings()

QString ModelEditor::patohSettings ( )
inline

Definition at line 105 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ period()

QString ModelEditor::period ( )
inline

Definition at line 58 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ reject()

void ModelEditor::reject ( )
inlineprotected

Definition at line 131 of file modeleditor.hpp.

◆ remove()

void ModelEditor::remove ( int  tab)
private

Definition at line 265 of file modeleditor.cpp.

References _model_editor_tab, _models, baseFileName(), done(), and fullFileName().

Referenced by tabCloseRequested().

Here is the call graph for this function:

◆ reorderPartition()

QString ModelEditor::reorderPartition ( )
inline

Definition at line 113 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ save() [1/2]

void ModelEditor::save ( int  tab)
private

Definition at line 327 of file modeleditor.cpp.

References _model_editor_tab, _models, ModelInfo::fullname(), ModelInfo::name(), newFileName(), ModelInfo::setDirty(), and ModelInfo::setFullname().

Here is the call graph for this function:

◆ save() [2/2]

void ModelEditor::save ( void  )

Definition at line 276 of file modeleditor.cpp.

References _model_editor_tab, checkPackage(), clean(), and deletePackageFiles().

Referenced by MmomeGui::editModel(), MmomeGui::runDlgClose(), saveAll(), saveAs(), and tabCloseRequested().

Here is the call graph for this function:

◆ saveAll()

void ModelEditor::saveAll ( void  )

Definition at line 307 of file modeleditor.cpp.

References _models, ModelInfo::dirty(), and save().

Referenced by MmomeGui::editModel().

Here is the call graph for this function:

◆ saveAs()

void ModelEditor::saveAs ( QString  name = QString())

Definition at line 287 of file modeleditor.cpp.

References _model_editor_tab, _models, ModelInfo::fullname(), ModelInfo::name(), save(), ModelInfo::setDirty(), and ModelInfo::setFullname().

Referenced by MmomeGui::on_action_Save_As_triggered().

Here is the call graph for this function:

◆ scheduler()

QString ModelEditor::scheduler ( )
inline

Definition at line 59 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ scotchSettings()

QString ModelEditor::scotchSettings ( )
inline

Definition at line 106 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ searchFixedAnnot()

void ModelEditor::searchFixedAnnot ( QStringList  annotations)
private

Add any annotation that's not required in the run form here. They will be added to the to the generated annotations without any modifications.

Definition at line 732 of file modeleditor.cpp.

References _fixed_annotations, and getAnnotations().

Referenced by writeAnnotations().

Here is the call graph for this function:

◆ semiStaticPartitioning()

bool ModelEditor::semiStaticPartitioning ( )
inline

Definition at line 109 of file modeleditor.hpp.

References _semiStaticPartitioning.

◆ setAbsTolerance()

void ModelEditor::setAbsTolerance ( QString  str)
inline

Definition at line 68 of file modeleditor.hpp.

References _absTolerance.

Referenced by MmomeGui::runDlgClose().

◆ setAnnotations()

void ModelEditor::setAnnotations ( QString  str,
QString  value,
bool  separator 
)
private

Definition at line 419 of file modeleditor.cpp.

References addLine().

Referenced by addFixedAnnot(), and writeAnnotations().

Here is the call graph for this function:

◆ setBDFMaxStep()

void ModelEditor::setBDFMaxStep ( QString  str)
inline

Definition at line 123 of file modeleditor.hpp.

References _BDFMaxStep.

Referenced by MmomeGui::runDlgClose().

◆ setBDFPart()

void ModelEditor::setBDFPart ( QString  str)
inline

Definition at line 119 of file modeleditor.hpp.

References _BDFPart.

Referenced by MmomeGui::runDlgClose().

◆ setBDFPartitionDepth()

void ModelEditor::setBDFPartitionDepth ( QString  str)
inline

Definition at line 121 of file modeleditor.hpp.

References _BDFPartitionDepth.

Referenced by MmomeGui::runDlgClose().

◆ setDebugGraph()

void ModelEditor::setDebugGraph ( QString  str)
inline

Definition at line 114 of file modeleditor.hpp.

References _debugGraph, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setDerDelta()

void ModelEditor::setDerDelta ( QString  str)
inline

Definition at line 69 of file modeleditor.hpp.

References _derdelta, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setDescription()

void ModelEditor::setDescription ( QString  str)
inline

Definition at line 70 of file modeleditor.hpp.

References _description.

Referenced by MmomeGui::runDlgClose().

◆ setDT()

void ModelEditor::setDT ( QString  str)
inline

Definition at line 95 of file modeleditor.hpp.

References _dt, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setDtPeriod()

void ModelEditor::setDtPeriod ( QString  str)
inline

Definition at line 98 of file modeleditor.hpp.

References _dtPeriod, and findValue().

Here is the call graph for this function:

◆ setDtStepLog()

void ModelEditor::setDtStepLog ( QString  str)
inline

Definition at line 100 of file modeleditor.hpp.

References _dtStepLog, and findValue().

Here is the call graph for this function:

◆ setDtSynch()

void ModelEditor::setDtSynch ( QString  str)
inline

Definition at line 96 of file modeleditor.hpp.

References _dtSynch, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setGenerateArch()

void ModelEditor::setGenerateArch ( QString  str)
inline

Definition at line 116 of file modeleditor.hpp.

References _generateArch, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setImbalance()

void ModelEditor::setImbalance ( QString  str)
inline

Definition at line 110 of file modeleditor.hpp.

References _imbalance, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setJacobian()

void ModelEditor::setJacobian ( QString  str)
inline

Definition at line 93 of file modeleditor.hpp.

References _jacobian, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setLPS()

void ModelEditor::setLPS ( QString  str)
inline

Definition at line 86 of file modeleditor.hpp.

References _lps, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setMetisSettings()

void ModelEditor::setMetisSettings ( QString  str)
inline

Definition at line 104 of file modeleditor.hpp.

References _metisSettings.

Referenced by MmomeGui::runDlgClose().

◆ setMinStep()

void ModelEditor::setMinStep ( QString  str)
inline

Definition at line 75 of file modeleditor.hpp.

References _minstep, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setOutput()

void ModelEditor::setOutput ( QString  str)
inline

Definition at line 76 of file modeleditor.hpp.

References _output.

Referenced by MmomeGui::runDlgClose().

◆ setOutputType()

void ModelEditor::setOutputType ( QString  str)
inline

Definition at line 77 of file modeleditor.hpp.

References _outputType, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setParallel()

void ModelEditor::setParallel ( QString  str)
inline

Definition at line 90 of file modeleditor.hpp.

References _parallel, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setPartitionMethod()

void ModelEditor::setPartitionMethod ( QString  str)
inline

Definition at line 92 of file modeleditor.hpp.

References _partitionMethod, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setPatohSettings()

void ModelEditor::setPatohSettings ( QString  str)
inline

Definition at line 102 of file modeleditor.hpp.

References _patohSettings.

Referenced by MmomeGui::runDlgClose().

◆ setPeriod()

void ModelEditor::setPeriod ( QString  str)
inline

Definition at line 78 of file modeleditor.hpp.

References _period, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setReorderPartition()

void ModelEditor::setReorderPartition ( QString  str)
inline

Definition at line 112 of file modeleditor.hpp.

References _reorderPartition, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setScheduler()

void ModelEditor::setScheduler ( QString  str)
inline

Definition at line 79 of file modeleditor.hpp.

References _scheduler, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setScotchSettings()

void ModelEditor::setScotchSettings ( QString  str)
inline

Definition at line 103 of file modeleditor.hpp.

References _scotchSettings.

Referenced by MmomeGui::runDlgClose().

◆ setSemiStaticPartitioning()

void ModelEditor::setSemiStaticPartitioning ( bool  st)
inline

Definition at line 108 of file modeleditor.hpp.

References _semiStaticPartitioning.

Referenced by MmomeGui::runDlgClose().

◆ setSolver()

void ModelEditor::setSolver ( QString  str)
inline

Definition at line 80 of file modeleditor.hpp.

References _solver.

Referenced by MmomeGui::runDlgClose().

◆ setStartTime()

void ModelEditor::setStartTime ( QString  str)
inline

Definition at line 81 of file modeleditor.hpp.

References _startTime.

Referenced by MmomeGui::runDlgClose().

◆ setStopTime()

void ModelEditor::setStopTime ( QString  str)
inline

Definition at line 82 of file modeleditor.hpp.

References _stopTime.

Referenced by MmomeGui::runDlgClose().

◆ setSymDiff()

void ModelEditor::setSymDiff ( QString  str)
inline

Definition at line 83 of file modeleditor.hpp.

References _symdiff, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ setTolerance()

void ModelEditor::setTolerance ( QString  str)
inline

Definition at line 84 of file modeleditor.hpp.

References _tolerance.

Referenced by MmomeGui::runDlgClose().

◆ setZcHyst()

void ModelEditor::setZcHyst ( QString  str)
inline

Definition at line 85 of file modeleditor.hpp.

References _zchyst, and findValue().

Referenced by MmomeGui::runDlgClose().

Here is the call graph for this function:

◆ solver()

QString ModelEditor::solver ( )
inline

Definition at line 60 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ startTime()

QString ModelEditor::startTime ( )
inline

Definition at line 61 of file modeleditor.hpp.

References getAnnotations().

Referenced by MmomeGui::run().

Here is the call graph for this function:

◆ stopTime()

QString ModelEditor::stopTime ( )
inline

Definition at line 62 of file modeleditor.hpp.

References getAnnotations().

Referenced by MmomeGui::run().

Here is the call graph for this function:

◆ symDiff()

QString ModelEditor::symDiff ( )
inline

Definition at line 63 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ tabCloseRequested()

void ModelEditor::tabCloseRequested ( int  index)
protected

Definition at line 236 of file modeleditor.cpp.

References _models, ModelInfo::dirty(), ModelInfo::isLogFile(), ModelInfo::name(), remove(), and save().

Referenced by closeFiles(), and ModelEditor().

Here is the call graph for this function:

◆ textChanged()

void ModelEditor::textChanged ( )
protected

Definition at line 210 of file modeleditor.cpp.

References _model_editor_tab, _models, ModelInfo::init(), ModelInfo::setDirty(), and ModelInfo::setInit().

Referenced by editModel().

Here is the call graph for this function:

◆ tokenPosition()

int ModelEditor::tokenPosition ( QString  token)
private

Definition at line 387 of file modeleditor.cpp.

References _model_editor_tab.

Referenced by beginModel(), and endModel().

◆ tolerance()

QString ModelEditor::tolerance ( )
inline

Definition at line 67 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

◆ writeAnnotations()

◆ zcHyst()

QString ModelEditor::zcHyst ( )
inline

Definition at line 88 of file modeleditor.hpp.

References getAnnotations().

Here is the call graph for this function:

Member Data Documentation

◆ _absTolerance

QString ModelEditor::_absTolerance
private

Definition at line 169 of file modeleditor.hpp.

Referenced by setAbsTolerance(), and writeAnnotations().

◆ _annotations

QStringList ModelEditor::_annotations
private

Definition at line 164 of file modeleditor.hpp.

Referenced by addLine(), and writeAnnotations().

◆ _BDFMaxStep

QString ModelEditor::_BDFMaxStep
private

Definition at line 197 of file modeleditor.hpp.

Referenced by setBDFMaxStep(), and writeAnnotations().

◆ _BDFPart

QString ModelEditor::_BDFPart
private

Definition at line 195 of file modeleditor.hpp.

Referenced by setBDFPart(), and writeAnnotations().

◆ _BDFPartitionDepth

QString ModelEditor::_BDFPartitionDepth
private

Definition at line 196 of file modeleditor.hpp.

Referenced by setBDFPartitionDepth(), and writeAnnotations().

◆ _debugGraph

QString ModelEditor::_debugGraph
private

Definition at line 192 of file modeleditor.hpp.

Referenced by setDebugGraph(), and writeAnnotations().

◆ _defaultValues

QMap<QString, QString> ModelEditor::_defaultValues
private

Definition at line 165 of file modeleditor.hpp.

Referenced by findValue(), getAnnotations(), and ModelEditor().

◆ _derdelta

QString ModelEditor::_derdelta
private

Definition at line 178 of file modeleditor.hpp.

Referenced by setDerDelta(), and writeAnnotations().

◆ _description

QString ModelEditor::_description
private

Definition at line 175 of file modeleditor.hpp.

Referenced by setDescription(), and writeAnnotations().

◆ _dt

QString ModelEditor::_dt
private

Definition at line 184 of file modeleditor.hpp.

Referenced by setDT(), and writeAnnotations().

◆ _dtPeriod

QString ModelEditor::_dtPeriod
private

Definition at line 182 of file modeleditor.hpp.

Referenced by setDtPeriod(), and writeAnnotations().

◆ _dtStepLog

QString ModelEditor::_dtStepLog
private

Definition at line 183 of file modeleditor.hpp.

Referenced by setDtStepLog(), and writeAnnotations().

◆ _dtSynch

QString ModelEditor::_dtSynch
private

Definition at line 181 of file modeleditor.hpp.

Referenced by setDtSynch(), and writeAnnotations().

◆ _fixed_annotations

QMap<QString, QString> ModelEditor::_fixed_annotations
private

Definition at line 199 of file modeleditor.hpp.

Referenced by addFixedAnnot(), searchFixedAnnot(), and writeAnnotations().

◆ _generateArch

QString ModelEditor::_generateArch
private

Definition at line 191 of file modeleditor.hpp.

Referenced by setGenerateArch(), and writeAnnotations().

◆ _hl

MmoHighlighter* ModelEditor::_hl
private

Definition at line 203 of file modeleditor.hpp.

Referenced by editModel().

◆ _imbalance

QString ModelEditor::_imbalance
private

Definition at line 194 of file modeleditor.hpp.

Referenced by setImbalance(), and writeAnnotations().

◆ _jacobian

QString ModelEditor::_jacobian
private

Definition at line 187 of file modeleditor.hpp.

Referenced by jacobian(), setJacobian(), and writeAnnotations().

◆ _lps

QString ModelEditor::_lps
private

Definition at line 174 of file modeleditor.hpp.

Referenced by setLPS(), and writeAnnotations().

◆ _metisSettings

QString ModelEditor::_metisSettings
private

Definition at line 190 of file modeleditor.hpp.

Referenced by setMetisSettings(), and writeAnnotations().

◆ _minstep

QString ModelEditor::_minstep
private

Definition at line 176 of file modeleditor.hpp.

Referenced by setMinStep(), and writeAnnotations().

◆ _model_editor_tab

◆ _models

◆ _output

QString ModelEditor::_output
private

Definition at line 171 of file modeleditor.hpp.

Referenced by setOutput(), and writeAnnotations().

◆ _outputType

QString ModelEditor::_outputType
private

Definition at line 172 of file modeleditor.hpp.

Referenced by setOutputType(), and writeAnnotations().

◆ _parallel

QString ModelEditor::_parallel
private

Definition at line 185 of file modeleditor.hpp.

Referenced by isParallel(), setParallel(), and writeAnnotations().

◆ _partitionMethod

QString ModelEditor::_partitionMethod
private

Definition at line 186 of file modeleditor.hpp.

Referenced by setPartitionMethod(), and writeAnnotations().

◆ _patohSettings

QString ModelEditor::_patohSettings
private

Definition at line 188 of file modeleditor.hpp.

Referenced by setPatohSettings(), and writeAnnotations().

◆ _period

QString ModelEditor::_period
private

Definition at line 173 of file modeleditor.hpp.

Referenced by setPeriod(), and writeAnnotations().

◆ _reorderPartition

QString ModelEditor::_reorderPartition
private

Definition at line 193 of file modeleditor.hpp.

Referenced by setReorderPartition(), and writeAnnotations().

◆ _scheduler

QString ModelEditor::_scheduler
private

Definition at line 179 of file modeleditor.hpp.

Referenced by setScheduler(), and writeAnnotations().

◆ _scotchSettings

QString ModelEditor::_scotchSettings
private

Definition at line 189 of file modeleditor.hpp.

Referenced by setScotchSettings(), and writeAnnotations().

◆ _semiStaticPartitioning

bool ModelEditor::_semiStaticPartitioning
private

Definition at line 198 of file modeleditor.hpp.

Referenced by semiStaticPartitioning(), and setSemiStaticPartitioning().

◆ _solver

QString ModelEditor::_solver
private

Definition at line 170 of file modeleditor.hpp.

Referenced by setSolver(), and writeAnnotations().

◆ _startTime

QString ModelEditor::_startTime
private

Definition at line 166 of file modeleditor.hpp.

Referenced by setStartTime(), and writeAnnotations().

◆ _stopTime

QString ModelEditor::_stopTime
private

Definition at line 167 of file modeleditor.hpp.

Referenced by setStopTime(), and writeAnnotations().

◆ _symdiff

QString ModelEditor::_symdiff
private

Definition at line 180 of file modeleditor.hpp.

Referenced by setSymDiff(), and writeAnnotations().

◆ _tolerance

QString ModelEditor::_tolerance
private

Definition at line 168 of file modeleditor.hpp.

Referenced by setTolerance(), and writeAnnotations().

◆ _utils

Utils* ModelEditor::_utils
private

Definition at line 202 of file modeleditor.hpp.

Referenced by ModelEditor(), newFileName(), and ~ModelEditor().

◆ _zchyst

QString ModelEditor::_zchyst
private

Definition at line 177 of file modeleditor.hpp.

Referenced by setZcHyst(), and writeAnnotations().


The documentation for this class was generated from the following files: