summaryrefslogtreecommitdiff
path: root/src/main/Simulator/Graph_05evt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/Simulator/Graph_05evt.c')
-rw-r--r--src/main/Simulator/Graph_05evt.c76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/main/Simulator/Graph_05evt.c b/src/main/Simulator/Graph_05evt.c
deleted file mode 100644
index badb5a2..0000000
--- a/src/main/Simulator/Graph_05evt.c
+++ /dev/null
@@ -1,76 +0,0 @@
-/* Events: Sample, Zero Crossings, Relations, Discrete Changes */
-#include "Graph_model.h"
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
-/* Initializes the raw time events of the simulation using the now
- calcualted parameters. */
-void Graph_function_initSample(DATA *data, threadData_t *threadData)
-{
- long i=0;
-}
-
-const char *Graph_zeroCrossingDescription(int i, int **out_EquationIndexes)
-{
- *out_EquationIndexes = NULL;
- return "empty";
-}
-
-/* forwarded equations */
-
-int Graph_function_ZeroCrossingsEquations(DATA *data, threadData_t *threadData)
-{
- TRACE_PUSH
-
- data->simulationInfo->callStatistics.functionZeroCrossingsEquations++;
-
-
- TRACE_POP
- return 0;
-}
-
-int Graph_function_ZeroCrossings(DATA *data, threadData_t *threadData, double *gout)
-{
- TRACE_PUSH
-
- data->simulationInfo->callStatistics.functionZeroCrossings++;
-
-
- TRACE_POP
- return 0;
-}
-
-const char *Graph_relationDescription(int i)
-{
- return "empty";
-}
-
-int Graph_function_updateRelations(DATA *data, threadData_t *threadData, int evalforZeroCross)
-{
- TRACE_PUSH
-
- if(evalforZeroCross) {
- } else {
- }
-
- TRACE_POP
- return 0;
-}
-
-int Graph_checkForDiscreteChanges(DATA *data, threadData_t *threadData)
-{
- TRACE_PUSH
- int needToIterate = 0;
-
- infoStreamPrint(LOG_EVENTS_V, 1, "check for discrete changes at time=%.12g", data->localData[0]->timeValue);
- if (ACTIVE_STREAM(LOG_EVENTS_V)) messageClose(LOG_EVENTS_V);
-
- TRACE_POP
- return needToIterate;
-}
-
-#if defined(__cplusplus)
-}
-#endif
-