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@20839 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed May 26, 2014
1 parent 989f5f7 commit 6166857
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions SimulationRuntime/c/simulation/solver/dassl.c
Expand Up @@ -247,7 +247,7 @@ int dassl_initial(DATA* simData, SOLVER_INFO* solverInfo, DASSL_DATA *dasslData)
int dassl_deinitial(DASSL_DATA *dasslData)
{
TRACE_PUSH

/* free work arrays for DASSL */
free(dasslData->rwork);
free(dasslData->iwork);
Expand Down Expand Up @@ -502,7 +502,7 @@ continue_DASSL(fortran_integer* idid, double* atol)
retValue = -33;
break;
}

TRACE_POP
return retValue;
}
Expand Down Expand Up @@ -589,7 +589,7 @@ int function_ZeroCrossingsDASSL(fortran_integer *neqm, double *t, double *y, dou
data->threadData->currentErrorStage = saveJumpState;
data->localData[0]->timeValue = timeBackup;

TRACE_POP
TRACE_POP
return 0;
}

Expand Down Expand Up @@ -802,7 +802,7 @@ int jacA_num(DATA* data, double *t, double *y, double *yprime, double *delta, do
double ysave;
fortran_integer ires;
int i,j;

TRACE_PUSH

for(i=data->modelData.nStates-1; i >= 0; i--)
Expand Down Expand Up @@ -893,7 +893,7 @@ int jacA_numColored(DATA* data, double *t, double *y, double *yprime, double *de
double* ysave = dasslData->ysave;

int i,j,l,k,ii;

TRACE_PUSH

for(i = 0; i < data->simulationInfo.analyticJacobians[index].sparsePattern.maxColors; i++)
Expand Down
6 changes: 3 additions & 3 deletions SimulationRuntime/c/simulation/solver/model_help.c
Expand Up @@ -372,18 +372,18 @@ void printRelations(DATA *data, int stream)
long i;

TRACE_PUSH

if (!ACTIVE_STREAM(stream))
{
TRACE_POP
return;
}

infoStreamPrint(stream, 1, "status of relations at time=%.12g", data->localData[0]->timeValue);
for(i=0; i<data->modelData.nRelations; i++)
infoStreamPrint(stream, 0, "[%ld] %s = %c | pre(%s) = %c", i, data->callback->relationDescription(i), data->simulationInfo.relations[i] ? 'T' : 'F', data->callback->relationDescription(i), data->simulationInfo.relationsPre[i] ? 'T' : 'F');
messageClose(stream);

TRACE_POP
}

Expand Down

0 comments on commit 6166857

Please sign in to comment.