From 3f5cb6832ea0a470b1b537f933cd37fb92a562cc Mon Sep 17 00:00:00 2001 From: kabdelhak Date: Mon, 8 Apr 2019 15:48:04 +0200 Subject: [PATCH] [C] update inline documentation of stateSelection Belonging to [master]: - OpenModelica/OMCompiler#3045 --- SimulationRuntime/c/simulation/solver/stateset.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SimulationRuntime/c/simulation/solver/stateset.c b/SimulationRuntime/c/simulation/solver/stateset.c index dc527e19c9..ebb2bfae5e 100644 --- a/SimulationRuntime/c/simulation/solver/stateset.c +++ b/SimulationRuntime/c/simulation/solver/stateset.c @@ -350,9 +350,12 @@ void printStateSelectionInfo(DATA *data, STATE_SET_DATA *set) * function to select the actual states for an individual stateSet * * \param [ref] [data] + * \param [ref] [threadData] * \param [in] [reportError] * \param [in] [switchStates] flag for switch states, function does switch only if this switchStates = 1 - * \return [globalres] flag for discontinuous timestep in the case of a state switch + * \param [in] [setIndex] unique index of the stateSet + * \param [in] [globalres] flag for discontinuous timestep in the case of a state switch for all sets before + * \return [globalres] flag for discontinuous timestep in the case of a state switch for at least one set * * \author Abdelhak / Frenkel TUD */ @@ -424,9 +427,10 @@ int stateSelectionSet(DATA *data, threadData_t *threadData, char reportError, in * function to select the actual states * * \param [ref] [data] + * \param [ref] [threadData] * \param [in] [reportError] * \param [in] [switchStates] flag for switch states, function does switch only if this switchStates = 1 - * \return ??? + * \return [globalres] flag for discontinuous timestep in the case of a state switch for at least one set * * \author Frenkel TUD */