Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22990 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 27, 2014
1 parent 17f361c commit fdf9cba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions SimulationRuntime/c/simulation/solver/dassl.c
Expand Up @@ -269,11 +269,11 @@ int dassl_initial(DATA* data, SOLVER_INFO* solverInfo, DASSL_DATA *dasslData)
/* if FLAG_NOEQUIDISTANT_GRID is set, choose dassl step method */
if (omc_flag[FLAG_NOEQUIDISTANT_GRID])
{
dasslData->dasslSteps = 1; /* TRUE */
dasslData->dasslSteps = 1; /* TRUE */
}
else
{
dasslData->dasslSteps = 0; /* FALSE */
dasslData->dasslSteps = 0; /* FALSE */
}
infoStreamPrint(LOG_SOLVER, 0, " - use equidistant time grid %s", dasslData->dasslSteps?"NO":"YES");

Expand Down
6 changes: 3 additions & 3 deletions SimulationRuntime/c/simulation/solver/dassl.h
Expand Up @@ -53,9 +53,9 @@ enum DASSL_JACOBIAN

typedef struct DASSL_DATA{

int dasslSteps; /* if TRUE then dassl internal steps are used to store results */
int dasslRootFinding; /* if TRUE then the internal root finding is used */
int dasslJacobian; /* specifices the method to calculate the jacobian matrix */
int dasslSteps; /* if TRUE then dassl internal steps are used to store results */
int dasslRootFinding; /* if TRUE then the internal root finding is used */
int dasslJacobian; /* specifices the method to calculate the jacobian matrix */
int dasslAvoidEventRestart; /* if TRUE then no restart after an event is performed */

unsigned int* dasslStatistics;
Expand Down
10 changes: 5 additions & 5 deletions SimulationRuntime/c/util/simulation_options.c
Expand Up @@ -144,11 +144,11 @@ const char *FLAG_DETAILED_DESC[FLAG_MAX+1] = {
/* FLAG_CLOCK */ "selects the type of clock to use -clock=RT, -clock=CYC or -clock=CPU\n RT=monotonic real-time clock, CPU=process-based CPU-time, CYC=cpu cycles measured with RDTSC",
/* FLAG_CPU */ " - dumps the cpu-time into the result-file\n - $cpuTime is the variable name inside the result-file",
/* FLAG_DASSL_JACOBIAN */ "selects the type of the jacobians that is used for the dassl solver:"
"\n\t -dasslJacobian=coloredNumerical - colored numerical jacobian."
"\n\t -dasslJacobian=intenalNumerical - internal dassl numerical jacobian."
"\n\t -dasslJacobian=coloredSymbolical - colored symbolical jacobian. Only usable if the simulation is compiled with +generateSymbolicJacobian or +generateSymbolicLinearization."
"\n\t -dasslJacobian=numerical - numerical jacobian"
"\n\t -dasslJacobian=symbolical - symbolical jacobian. Only usable if the simulation is compiled with +generateSymbolicJacobian or +generateSymbolicLinearization.",
"\n\t -dasslJacobian=coloredNumerical - colored numerical jacobian."
"\n\t -dasslJacobian=intenalNumerical - internal dassl numerical jacobian."
"\n\t -dasslJacobian=coloredSymbolical - colored symbolical jacobian. Only usable if the simulation is compiled with +generateSymbolicJacobian or +generateSymbolicLinearization."
"\n\t -dasslJacobian=numerical - numerical jacobian"
"\n\t -dasslJacobian=symbolical - symbolical jacobian. Only usable if the simulation is compiled with +generateSymbolicJacobian or +generateSymbolicLinearization.",
/* FLAG_DASSL_NO_ROOTFINDUNG */ "flag deactivates the internal root finding procedure of dassl.",
/* FLAG_DASSL_NO_RESTART */ "flag deactivates the restart of dassl after an event is performed.",
/* FLAG_EMIT_PROTECTED */ "emits protected variables to the result-file",
Expand Down

0 comments on commit fdf9cba

Please sign in to comment.