MBDyn-1.7.3
|
#include <mbdynFMI.h>
Public Member Functions | |
void | parseXML (fmi_import_context_t *context, const char *dirPath) |
void | setCallBackFunction () |
fmu2 (fmi_import_context_t *text, int type) | |
void | ImportCreateDLL (void) |
bool | CheckInput (const std::string) |
int | GetNumOfContinousStates (void) |
int | GetNumOfEventIndicators (void) |
int | GetNumOfVar (void) |
void | Initialize (double dTol, double time, double rTol) |
void | EventIndicatorInit (void) |
void | SetRelativeTol (double dTol) |
void | SetTime (double time) |
void | SetStates (double *states) |
void | SetValuesByVariable (const std::string, double) |
int | GetRefValueFromString (const char *s) |
double | GetStateFromRefValue (unsigned int i) |
void | GetStateDerivatives (double *) |
void | GetStates (double *) |
void | GetDirectionalDerivatives (FullMatrixHandler *, int *, int, double *) |
bool | SupportsDirectionalDerivatives () |
bool | CheckInterrupts (double, double *) |
void | InitializeAsSlave (const char *, double, double) |
void | CSPropogate (double tcur, double dt) |
virtual | ~fmu2 (void) |
Public Member Functions inherited from fmu | |
fmu (fmi_import_context_t *text, int type) | |
virtual | ~fmu (void) |
Private Attributes | |
fmi2_callback_functions_t | callBackFunctions |
fmi2_import_t * | fmu |
fmi2_status_t | fmistatus |
jm_status_enu_t | jmstatus |
fmi2_real_t | currTime |
fmi2_real_t | relativeTolerance |
fmi2_event_info_t | eventInfo |
size_t | nEventIndicators |
fmi2_real_t * | eventIndicators |
fmi2_real_t * | eventIndicatorsPrev |
fmi2_import_variable_t * | v |
fmi2_boolean_t | callEventUpdate |
fmi2_boolean_t | terminateSimulation |
int | numOfContStates |
fmi2_value_reference_t * | vrs |
fmi2_boolean_t | intermediateResults |
Additional Inherited Members | |
Public Types inherited from fmu | |
enum | SimulationTypes { IMPORT, COSIM } |
Public Attributes inherited from fmu | |
int | simType |
fmi_import_context_t * | context |
Definition at line 179 of file mbdynFMI.h.
|
inline |
|
virtual |
Definition at line 335 of file mbdynFMI.cc.
References fmu::context, eventIndicators, eventIndicatorsPrev, fmistatus, fmu::IMPORT, fmu::simType, and STATUSCHECK.
|
virtual |
|
virtual |
Implements fmu.
Definition at line 373 of file mbdynFMI.cc.
References do_event_iteration(), eventIndicators, eventIndicatorsPrev, eventInfo, fmistatus, nEventIndicators, numOfContStates, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 462 of file mbdynFMI.cc.
References fmistatus, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 276 of file mbdynFMI.cc.
References eventIndicators, eventIndicatorsPrev, fmistatus, and nEventIndicators.
|
virtual |
Implements fmu.
Definition at line 238 of file mbdynFMI.cc.
References fmistatus, numOfContStates, output(), FullMatrixHandler::PutCoef(), and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 171 of file mbdynFMI.cc.
References numOfContStates.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements fmu.
Definition at line 360 of file mbdynFMI.cc.
References fmistatus, numOfContStates, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 325 of file mbdynFMI.cc.
References fmistatus, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 368 of file mbdynFMI.cc.
References fmistatus, numOfContStates, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 150 of file mbdynFMI.cc.
References callBackFunctions, fmu::COSIM, fmu::IMPORT, jmstatus, MBDYN_EXCEPT_ARGS, fmu::simType, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 187 of file mbdynFMI.cc.
References do_event_iteration(), eventInfo, fmistatus, jmstatus, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 436 of file mbdynFMI.cc.
References fmistatus, jmstatus, relativeTolerance, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 131 of file mbdynFMI.cc.
References annotation_callbacks, and MBDYN_EXCEPT_ARGS.
|
virtual |
Implements fmu.
Definition at line 142 of file mbdynFMI.cc.
References callBackFunctions, and stepFinished().
|
virtual |
|
virtual |
Implements fmu.
Definition at line 299 of file mbdynFMI.cc.
References callEventUpdate, fmistatus, numOfContStates, STATUSCHECK, and terminateSimulation.
|
virtual |
Implements fmu.
Definition at line 293 of file mbdynFMI.cc.
References currTime, fmistatus, and STATUSCHECK.
|
virtual |
Implements fmu.
Definition at line 399 of file mbdynFMI.cc.
References fmistatus, MBDYN_EXCEPT_ARGS, STATUSCHECK, and v.
|
virtual |
Implements fmu.
Definition at line 216 of file mbdynFMI.cc.
References fmu::COSIM, fmu::IMPORT, and fmu::simType.
|
private |
Definition at line 181 of file mbdynFMI.h.
Referenced by ImportCreateDLL(), and setCallBackFunction().
|
private |
Definition at line 195 of file mbdynFMI.h.
Referenced by SetStates().
|
private |
Definition at line 187 of file mbdynFMI.h.
Referenced by SetTime().
|
private |
Definition at line 192 of file mbdynFMI.h.
Referenced by CheckInterrupts(), EventIndicatorInit(), and ~fmu2().
|
private |
Definition at line 193 of file mbdynFMI.h.
Referenced by CheckInterrupts(), EventIndicatorInit(), and ~fmu2().
|
private |
Definition at line 189 of file mbdynFMI.h.
Referenced by CheckInterrupts(), and Initialize().
|
private |
Definition at line 184 of file mbdynFMI.h.
Referenced by CheckInterrupts(), CSPropogate(), EventIndicatorInit(), GetDirectionalDerivatives(), GetStateDerivatives(), GetStateFromRefValue(), GetStates(), Initialize(), InitializeAsSlave(), SetStates(), SetTime(), SetValuesByVariable(), and ~fmu2().
|
private |
Definition at line 182 of file mbdynFMI.h.
|
private |
Definition at line 201 of file mbdynFMI.h.
|
private |
Definition at line 185 of file mbdynFMI.h.
Referenced by ImportCreateDLL(), Initialize(), and InitializeAsSlave().
|
private |
Definition at line 191 of file mbdynFMI.h.
Referenced by CheckInterrupts(), and EventIndicatorInit().
|
private |
Definition at line 198 of file mbdynFMI.h.
Referenced by CheckInterrupts(), GetDirectionalDerivatives(), GetNumOfContinousStates(), GetStateDerivatives(), GetStates(), and SetStates().
|
private |
Definition at line 188 of file mbdynFMI.h.
Referenced by InitializeAsSlave(), and SetRelativeTol().
|
private |
Definition at line 196 of file mbdynFMI.h.
Referenced by SetStates().
|
private |
Definition at line 194 of file mbdynFMI.h.
Referenced by CheckInput(), GetRefValueFromString(), and SetValuesByVariable().
|
private |
Definition at line 199 of file mbdynFMI.h.