Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  ![]() |
Uranie / Launcher
v4.10.0
|
Description of the class TInputFileFMU. More...
#include <TInputFileFMU.h>


Public Member Functions | |
Constructor and Destructor | |
| TInputFileFMU (TString str) | |
| Default constructor. More... | |
| virtual | ~TInputFileFMU () |
| Default destructor. More... | |
Setting and Getting attributs | |
| void | setWorkingDirectory (TString sPathName="") |
| Set the working directory. More... | |
| TString | getWorkingDirectory () |
| Get the working directory. More... | |
| Double_t | getStartTime () |
| void | setStartTime (Double_t dval) |
| Double_t | getStopTime () |
| void | setStopTime (Double_t dval) |
| Double_t | getStepTime () |
| void | setStepTime (Double_t dval) |
| Double_t | getTolerance () |
| void | setTolerance (Double_t dval) |
Methods to perform initialisation and terminate states | |
| virtual void | init () |
| The init step. More... | |
| virtual void | terminate () |
| The terminate step. More... | |
File properties | |
| Bool_t | isFileToCopy () |
| Gets the type of the file. This method is used to find InputFile of type 'Recreate'. More... | |
| TString | getAttributeInKey (TString skey) |
| Return the name of the attribute for the key. More... | |
| virtual void | addAttribute (URANIE::DataServer::TAttribute *) |
| addAttribute More... | |
Implement the abstract pure methods | |
| virtual void | searchIndexeAttribute (URANIE::DataServer::TAttribute *att) |
| search the indexes of the attribute in the input file More... | |
| void | substitue (forkcode *fjob, Int_t &n, Double_t *val, Int_t *index=NULL) |
| Substitute the values of the attributes linked in the input file and write it. More... | |
| void | substitue (forkcode *fjob, Int_t &n, vector< URANIE::DataServer::UEntry *> *ent, Int_t *index=NULL) |
| Substitute the values of the attributes linked in the input file and write it. More... | |
methods associated to the FMI Library | |
| void | setContext (fmi_import_context_t *fmi_ctxt) |
| fmi_import_context_t * | getContext () |
| jm_callbacks * | getCallbackFMI () |
| fmi1_import_t * | getFMU1Import () |
| fmi2_import_t * | getFMU2Import () |
| void | setVersion (fmi_version_enu_t fmi_version) |
| fmi_version_enu_t | getFMUVersion () |
| const char * | getFMUVersionString () |
| void | runFMI (Option_t *option="") |
| Int_t | simulate_fmi1_cs (Option_t *option="") |
| simulate_fmi1_cs More... | |
| Int_t | simulate_fmi2_cs (Option_t *option="") |
| test_simulate_fmi2_cs More... | |
| void | initFMI (Option_t *option="") |
| void | do_exit (int code) |
| void | init_fmi2_0 (Option_t *option="") |
| init_fmi_v2_0 More... | |
| void | init_fmi1 (Option_t *option="") |
| init_fmi1 More... | |
| vector< vector< double > > | getVectorValues () |
| void | setListOutputVector (TArrayI *arr) |
The Log | |
| virtual void | printLog (Option_t *option="") |
Public Member Functions inherited from URANIE::Launcher::TInputFile | |
| TInputFile (TString str) | |
| Default constructor. More... | |
| virtual | ~TInputFile () |
| Default destructor. More... | |
| Bool_t | isExist () |
Public Member Functions inherited from URANIE::Launcher::TCodeFile | |
| TCodeFile (TString str) | |
| Default constructor. More... | |
| virtual | ~TCodeFile () |
| Default destructor. More... | |
| TString | getFileName () |
| void | setCommentCharacter (const char *str) |
| const char * | getCommentCharacter () |
| void | setSeparatorCharacter (const char *str) |
| const char * | getSeparatorCharacter () |
| void | setFieldSeparatorCharacter (const char *str) |
| const char * | getFieldSeparatorCharacter () |
| URANIE::DataServer::TAttribute * | getAttribute (Int_t ind) |
| Int_t | getAttributesNumber () const |
| Int_t | getNAttributes () const |
| void | setVectorProperties (TString beg, TString delim, TString end) |
| void | setStringProperties (TString beg, TString end) |
| void | getBegEndProperties (URANIE::DataServer::TAttribute *att, TString &beg, TString &end) |
| Bool_t | isAttribute (TString sAttributeName) |
| Verify is the attribute given by the name is is the list of attribute. More... | |
| void | setLog () |
| void | unsetLog () |
| void | changeLog () |
| Bool_t | getLog () |
Protected Attributes | |
protected attributes | |
| TString | _sFMUWorkingDirectory |
| the FMU import directory More... | |
| jm_callbacks * | _callbacks_FMI |
| fmi_import_context_t * | _context_FMI |
| The FMU context. More... | |
| fmi_version_enu_t | _sVersion |
| The FMU version. More... | |
| fmi1_import_t * | _fmi1Import |
| The FMU 1.0 Object. More... | |
| fmi2_import_t * | _fmi2Import |
| The FMU 2.0 Object. More... | |
| TString | _sGenerationTool |
| The FMU generation tool. More... | |
| TString | _sGenerationDateTime |
| The FMU generation date and time. More... | |
| TString | _sPlatformName |
| The. More... | |
| TString | _sModelName |
| The. More... | |
| TString | _sModelVersion |
| The. More... | |
| TString | _sGUID |
| The. More... | |
| Double_t | _dFMUStart |
| The start time for default experiment as specified in the XML file. More... | |
| Double_t | _dFMUStop |
| The stop time for default experiment as specified in the XML file. More... | |
| Double_t | _dFMUTolerance |
| The tolerance for default experiment as specified in the XML file (not used) More... | |
| Double_t | _dFMUStep |
| The step for default experiment as specified in the XML file. More... | |
| vector< vector< double > > | _vecOutputs |
| the vector of stored kVector attributes More... | |
| vector< int > | _vecVROutputs |
| The vector of VR of the kVector Output attributes. More... | |
| UInt_t | _no |
| The number of kVector Output attributes. More... | |
Additional Inherited Members | |
Public Attributes inherited from URANIE::Launcher::TCodeFile | |
| vector< URANIE::DataServer::TAttribute * > | _attributes |
| Vector of attributes. More... | |
| TString | _svecbeg |
| TString | _svecend |
| TString | _svecdel |
| TString | _sstrbeg |
| TString | _sstrend |
| string used for the beginning, end and delimitation of vectors and strings More... | |
| TString | _sFileName |
| The name of file. More... | |
| Bool_t | _blog |
| Boolean for edit the log. More... | |
| TString | _cComments |
| The set of comment character. More... | |
| TString | _cSeparators |
| The set of separator character. More... | |
| TString | _cFieldSeparator |
| the separator to be used in between fields More... | |
Detailed Description
Description of the class TInputFileFMU.
To be written by the developper.
Constructor & Destructor Documentation
◆ TInputFileFMU()
| URANIE::Launcher::TInputFileFMU::TInputFileFMU | ( | TString | str | ) |
Default constructor.
Referenced by ClassImp().
◆ ~TInputFileFMU()
|
virtual |
Default destructor.
Referenced by ClassImp().
Member Function Documentation
◆ addAttribute()
|
virtual |
◆ do_exit()
|
inline |
Referenced by ClassImp().
◆ getAttributeInKey()
| TString URANIE::Launcher::TInputFileFMU::getAttributeInKey | ( | TString | skey | ) |
Return the name of the attribute for the key.
The name of the attribute is the string after the last :"@" character
Referenced by ClassImp().
◆ getCallbackFMI()
|
inline |
References _callbacks_FMI.
◆ getContext()
|
inline |
References _context_FMI.
◆ getFMU1Import()
|
inline |
References _fmi1Import.
◆ getFMU2Import()
|
inline |
References _fmi2Import.
◆ getFMUVersion()
|
inline |
References _sVersion.
◆ getFMUVersionString()
| const char* URANIE::Launcher::TInputFileFMU::getFMUVersionString | ( | ) |
Referenced by ClassImp().
◆ getStartTime()
|
inline |
References _dFMUStart.
◆ getStepTime()
|
inline |
References _dFMUStep.
◆ getStopTime()
|
inline |
References _dFMUStop.
◆ getTolerance()
|
inline |
References _dFMUTolerance.
◆ getVectorValues()
|
inline |
References _vecOutputs.
◆ getWorkingDirectory()
|
inline |
◆ init()
|
virtual |
The init step.
- Warning
- not yet used
Reimplemented from URANIE::Launcher::TInputFile.
Referenced by ClassImp().
◆ init_fmi1()
| void URANIE::Launcher::TInputFileFMU::init_fmi1 | ( | Option_t * | option = "" | ) |
◆ init_fmi2_0()
| void URANIE::Launcher::TInputFileFMU::init_fmi2_0 | ( | Option_t * | option = "" | ) |
◆ initFMI()
| void URANIE::Launcher::TInputFileFMU::initFMI | ( | Option_t * | option = "" | ) |
Referenced by ClassImp().
◆ isFileToCopy()
|
inlinevirtual |
Gets the type of the file. This method is used to find InputFile of type 'Recreate'.
- Returns
Reimplemented from URANIE::Launcher::TInputFile.
◆ printLog()
|
virtual |
Reimplemented from URANIE::Launcher::TInputFile.
Referenced by ClassImp().
◆ runFMI()
| void URANIE::Launcher::TInputFileFMU::runFMI | ( | Option_t * | option = "" | ) |
Referenced by ClassImp().
◆ searchIndexeAttribute()
|
virtual |
search the indexes of the attribute in the input file
- Parameters
-
att (URANIE::DataServer::TAttribute*) the attribute to search the indexes
Implements URANIE::Launcher::TInputFile.
Referenced by ClassImp().
◆ setContext()
|
inline |
References _context_FMI.
◆ setListOutputVector()
| void URANIE::Launcher::TInputFileFMU::setListOutputVector | ( | TArrayI * | arr | ) |
Referenced by ClassImp().
◆ setStartTime()
|
inline |
References _dFMUStart.
◆ setStepTime()
|
inline |
References _dFMUStep.
◆ setStopTime()
|
inline |
References _dFMUStop.
◆ setTolerance()
|
inline |
References _dFMUTolerance.
◆ setVersion()
|
inline |
References _sVersion.
◆ setWorkingDirectory()
| void URANIE::Launcher::TInputFileFMU::setWorkingDirectory | ( | TString | sPathName = "" | ) |
◆ simulate_fmi1_cs()
| Int_t URANIE::Launcher::TInputFileFMU::simulate_fmi1_cs | ( | Option_t * | option = "" | ) |
◆ simulate_fmi2_cs()
| Int_t URANIE::Launcher::TInputFileFMU::simulate_fmi2_cs | ( | Option_t * | option = "" | ) |
◆ substitue() [1/2]
|
virtual |
Substitute the values of the attributes linked in the input file and write it.
The first value is defined par the parameter n and the values are stored in the parameter val. After the method, the parameter is increased by the number of attributes contained in the input file.
- Parameters
-
n (Int_t &) the index of the first value in the vector of data val val (Double_t *) the pointer of the data index (Int_t *)the pointer of the index of data
Implements URANIE::Launcher::TInputFile.
Referenced by ClassImp().
◆ substitue() [2/2]
|
virtual |
Substitute the values of the attributes linked in the input file and write it.
The first value is defined par the parameter n and the values are stored in the parameter val. After the method, the parameter is increased by the number of attributes contained in the input file.
- Parameters
-
n (Int_t &) the index of the first value in the vector of data val val (Double_t *) the pointer of the data index (Int_t *)the pointer of the index of data
Implements URANIE::Launcher::TInputFile.
◆ terminate()
|
virtual |
The terminate step.
- Warning
- not yet used
Reimplemented from URANIE::Launcher::TInputFile.
Referenced by ClassImp().
Member Data Documentation
◆ _callbacks_FMI
|
protected |
Referenced by ClassImp(), and getCallbackFMI().
◆ _context_FMI
|
protected |
The FMU context.
Referenced by ClassImp(), getContext(), and setContext().
◆ _dFMUStart
|
protected |
The start time for default experiment as specified in the XML file.
Referenced by ClassImp(), getStartTime(), and setStartTime().
◆ _dFMUStep
|
protected |
The step for default experiment as specified in the XML file.
Referenced by ClassImp(), getStepTime(), and setStepTime().
◆ _dFMUStop
|
protected |
The stop time for default experiment as specified in the XML file.
Referenced by ClassImp(), getStopTime(), and setStopTime().
◆ _dFMUTolerance
|
protected |
The tolerance for default experiment as specified in the XML file (not used)
Referenced by ClassImp(), getTolerance(), and setTolerance().
◆ _fmi1Import
|
protected |
The FMU 1.0 Object.
Referenced by ClassImp(), and getFMU1Import().
◆ _fmi2Import
|
protected |
The FMU 2.0 Object.
Referenced by ClassImp(), and getFMU2Import().
◆ _no
|
protected |
The number of kVector Output attributes.
Referenced by ClassImp().
◆ _sFMUWorkingDirectory
|
protected |
the FMU import directory
Referenced by ClassImp(), and getWorkingDirectory().
◆ _sGenerationDateTime
|
protected |
The FMU generation date and time.
Referenced by ClassImp().
◆ _sGenerationTool
|
protected |
The FMU generation tool.
Referenced by ClassImp().
◆ _sGUID
|
protected |
The.
Referenced by ClassImp().
◆ _sModelName
|
protected |
The.
Referenced by ClassImp().
◆ _sModelVersion
|
protected |
The.
Referenced by ClassImp().
◆ _sPlatformName
|
protected |
The.
Referenced by ClassImp().
◆ _sVersion
|
protected |
The FMU version.
Referenced by ClassImp(), getFMUVersion(), and setVersion().
◆ _vecOutputs
|
protected |
the vector of stored kVector attributes
Referenced by ClassImp(), and getVectorValues().
◆ _vecVROutputs
|
protected |
The vector of VR of the kVector Output attributes.
Referenced by ClassImp().

Public Member Functions inherited from