Skip to content

Commit

Permalink
[Janitor mode] Fix tabs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19615 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Mar 17, 2014
1 parent daad0c5 commit cbf706e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions SimulationRuntime/cpp/Solver/CVode/CVode.cpp
Expand Up @@ -294,13 +294,13 @@ void Cvode::CVodeCore()
_cv_rt = 2;
}*/

bool state_selection = stateSelection();
bool restart =false;
if(state_selection)
{
restart=true;
_continuous_system->evaluate(IContinuous::CONTINUOUS);
}
bool state_selection = stateSelection();
bool restart =false;
if(state_selection)
{
restart=true;
_continuous_system->evaluate(IContinuous::CONTINUOUS);
}
_zeroFound = false;

// Check, ob Schritt erfolgreich
Expand Down Expand Up @@ -354,7 +354,7 @@ void Cvode::CVodeCore()
_continuous_system->getContinuousStates(_z);
if(_zeroFound || restart)
{
restart=false;
restart=false;
//Zustände nach der Ereignisbehandlung aufnehmen
if (_cvodesettings->getEventOutput())
writeToFile(0, _tCurrent, _h);
Expand All @@ -367,7 +367,7 @@ void Cvode::CVodeCore()
if(_tCurrent == _tEnd)
_cv_rt = CV_TSTOP_RETURN;
}
// Zähler für die Anzahl der ausgegebenen Schritte erhöhen
++ _outStps;
_tLastSuccess = _tCurrent;
Expand Down Expand Up @@ -434,7 +434,7 @@ int Cvode::calcFunction(const double& time, const double* y, double* f)
_continuous_system->setContinuousStates(y);
_continuous_system->evaluate(IContinuous::CONTINUOUS);
_continuous_system->getRHS(f);

}//workaround until exception can be catch from c- libraries
catch(std::exception& ex)
Expand Down

0 comments on commit cbf706e

Please sign in to comment.