|
FMI Library: part of JModelica.org
|
#include <string.h>#include <FMI1/fmiModelTypes.h>#include <FMI1/fmiModelFunctions.h>#include <fmu_dummy/fmu1_model.h>#include "config_test.h"#include "fmu1_model.c"Go to the source code of this file.
Macros | |
| #define | MODEL_IDENTIFIER FMU_DUMMY_ME_MODEL_IDENTIFIER |
Enumerations | |
| enum | fmiStatusKind { fmiDoStepStatus, fmiPendingStatus, fmiLastSuccessfulTime } |
Functions | |
| DllExport const char * | fmiGetVersion () |
| DllExport fmiStatus | fmiSetDebugLogging (fmiComponent c, fmiBoolean loggingOn) |
| DllExport fmiStatus | fmiGetReal (fmiComponent c, const fmiValueReference vr[], size_t nvr, fmiReal value[]) |
| DllExport fmiStatus | fmiGetInteger (fmiComponent c, const fmiValueReference vr[], size_t nvr, fmiInteger value[]) |
| DllExport fmiStatus | fmiGetBoolean (fmiComponent c, const fmiValueReference vr[], size_t nvr, fmiBoolean value[]) |
| DllExport fmiStatus | fmiGetString (fmiComponent c, const fmiValueReference vr[], size_t nvr, fmiString value[]) |
| DllExport fmiStatus | fmiSetReal (fmiComponent c, const fmiValueReference vr[], size_t nvr, const fmiReal value[]) |
| DllExport fmiStatus | fmiSetInteger (fmiComponent c, const fmiValueReference vr[], size_t nvr, const fmiInteger value[]) |
| DllExport fmiStatus | fmiSetBoolean (fmiComponent c, const fmiValueReference vr[], size_t nvr, const fmiBoolean value[]) |
| DllExport fmiStatus | fmiSetString (fmiComponent c, const fmiValueReference vr[], size_t nvr, const fmiString value[]) |
| DllExport const char * | fmiGetModelTypesPlatform () |
| DllExport fmiComponent | fmiInstantiateModel (fmiString instanceName, fmiString GUID, fmiCallbackFunctions functions, fmiBoolean loggingOn) |
| DllExport void | fmiFreeModelInstance (fmiComponent c) |
| DllExport fmiStatus | fmiSetTime (fmiComponent c, fmiReal fmitime) |
| DllExport fmiStatus | fmiSetContinuousStates (fmiComponent c, const fmiReal x[], size_t nx) |
| DllExport fmiStatus | fmiCompletedIntegratorStep (fmiComponent c, fmiBoolean *callEventUpdate) |
| DllExport fmiStatus | fmiInitialize (fmiComponent c, fmiBoolean toleranceControlled, fmiReal relativeTolerance, fmiEventInfo *eventInfo) |
| DllExport fmiStatus | fmiGetDerivatives (fmiComponent c, fmiReal derivatives[], size_t nx) |
| DllExport fmiStatus | fmiGetEventIndicators (fmiComponent c, fmiReal eventIndicators[], size_t ni) |
| DllExport fmiStatus | fmiEventUpdate (fmiComponent c, fmiBoolean intermediateResults, fmiEventInfo *eventInfo) |
| DllExport fmiStatus | fmiGetContinuousStates (fmiComponent c, fmiReal states[], size_t nx) |
| DllExport fmiStatus | fmiGetNominalContinuousStates (fmiComponent c, fmiReal x_nominal[], size_t nx) |
| DllExport fmiStatus | fmiGetStateValueReferences (fmiComponent c, fmiValueReference vrx[], size_t nx) |
| DllExport fmiStatus | fmiTerminate (fmiComponent c) |
| #define MODEL_IDENTIFIER FMU_DUMMY_ME_MODEL_IDENTIFIER |
Definition at line 36 of file fmu1_model_me.c.
| enum fmiStatusKind |
| Enumerator | |
|---|---|
| fmiDoStepStatus | |
| fmiPendingStatus | |
| fmiLastSuccessfulTime | |
Definition at line 30 of file fmu1_model_me.c.
| DllExport const char* fmiGetVersion | ( | ) |
Definition at line 39 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetDebugLogging | ( | fmiComponent | c, |
| fmiBoolean | loggingOn | ||
| ) |
Definition at line 44 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetReal | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| fmiReal | value[] | ||
| ) |
Definition at line 49 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetInteger | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| fmiInteger | value[] | ||
| ) |
Definition at line 54 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetBoolean | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| fmiBoolean | value[] | ||
| ) |
Definition at line 59 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetString | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| fmiString | value[] | ||
| ) |
Definition at line 64 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetReal | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| const fmiReal | value[] | ||
| ) |
Definition at line 69 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetInteger | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| const fmiInteger | value[] | ||
| ) |
Definition at line 74 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetBoolean | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| const fmiBoolean | value[] | ||
| ) |
Definition at line 79 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetString | ( | fmiComponent | c, |
| const fmiValueReference | vr[], | ||
| size_t | nvr, | ||
| const fmiString | value[] | ||
| ) |
Definition at line 84 of file fmu1_model_me.c.
| DllExport const char* fmiGetModelTypesPlatform | ( | ) |
Definition at line 90 of file fmu1_model_me.c.
| DllExport fmiComponent fmiInstantiateModel | ( | fmiString | instanceName, |
| fmiString | GUID, | ||
| fmiCallbackFunctions | functions, | ||
| fmiBoolean | loggingOn | ||
| ) |
Definition at line 95 of file fmu1_model_me.c.
| DllExport void fmiFreeModelInstance | ( | fmiComponent | c | ) |
Definition at line 100 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetTime | ( | fmiComponent | c, |
| fmiReal | fmitime | ||
| ) |
Definition at line 105 of file fmu1_model_me.c.
| DllExport fmiStatus fmiSetContinuousStates | ( | fmiComponent | c, |
| const fmiReal | x[], | ||
| size_t | nx | ||
| ) |
Definition at line 110 of file fmu1_model_me.c.
| DllExport fmiStatus fmiCompletedIntegratorStep | ( | fmiComponent | c, |
| fmiBoolean * | callEventUpdate | ||
| ) |
Definition at line 115 of file fmu1_model_me.c.
| DllExport fmiStatus fmiInitialize | ( | fmiComponent | c, |
| fmiBoolean | toleranceControlled, | ||
| fmiReal | relativeTolerance, | ||
| fmiEventInfo * | eventInfo | ||
| ) |
Definition at line 120 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetDerivatives | ( | fmiComponent | c, |
| fmiReal | derivatives[], | ||
| size_t | nx | ||
| ) |
Definition at line 125 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetEventIndicators | ( | fmiComponent | c, |
| fmiReal | eventIndicators[], | ||
| size_t | ni | ||
| ) |
Definition at line 130 of file fmu1_model_me.c.
| DllExport fmiStatus fmiEventUpdate | ( | fmiComponent | c, |
| fmiBoolean | intermediateResults, | ||
| fmiEventInfo * | eventInfo | ||
| ) |
Definition at line 135 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetContinuousStates | ( | fmiComponent | c, |
| fmiReal | states[], | ||
| size_t | nx | ||
| ) |
Definition at line 140 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetNominalContinuousStates | ( | fmiComponent | c, |
| fmiReal | x_nominal[], | ||
| size_t | nx | ||
| ) |
Definition at line 145 of file fmu1_model_me.c.
| DllExport fmiStatus fmiGetStateValueReferences | ( | fmiComponent | c, |
| fmiValueReference | vrx[], | ||
| size_t | nx | ||
| ) |
Definition at line 150 of file fmu1_model_me.c.
| DllExport fmiStatus fmiTerminate | ( | fmiComponent | c | ) |
Definition at line 155 of file fmu1_model_me.c.
1.8.11