Skip to content

Commit

Permalink
fixed errors in commits cca3ace0a656a71348290808b13138057a06c732 and …
Browse files Browse the repository at this point in the history
…6e5cf6bf01ad7cde7a8a461969924e361ef4b24d
  • Loading branch information
Niklas Worschech authored and OpenModelica-Hudson committed Jul 18, 2017
1 parent e19e1ee commit ffcf1b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions SimulationRuntime/cpp/Include/Solver/Nox/Nox.h
Expand Up @@ -39,6 +39,7 @@ class Nox : public IAlgLoopSolver
void printLogger();
void divisionbyzerohandling(double const * const y0);
bool CheckWhetherSolutionIsNearby(double const * const y);
void CheckWhetherSolutionIsNearbyWrapper();
bool isdivisionbyzeroerror(const std::exception &ex);
void modifySolverParameters(const Teuchos::RCP<Teuchos::ParameterList> solverParametersPtr,const int iter);
Teuchos::RCP<Teuchos::ParameterList> setLocaParams();
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Solver/Nox/Nox.cpp
Expand Up @@ -102,8 +102,8 @@ void Nox::initialize()


// Set up the status tests
_statusTestNormF = Teuchos::rcp(new NOX::StatusTest::NormF(_noxsettings->getRtol()));
_statusTestMaxIters = Teuchos::rcp(new NOX::StatusTest::MaxIters(_noxsettings->getNewtMax()));
_statusTestNormF = Teuchos::rcp(new NOX::StatusTest::NormF(_noxSettings->getRtol()));
_statusTestMaxIters = Teuchos::rcp(new NOX::StatusTest::MaxIters(_noxSettings->getNewtMax()));
_statusTestStagnation = Teuchos::rcp(new NOX::StatusTest::Stagnation(15,0.99));
_statusTestDivergence = Teuchos::rcp(new NOX::StatusTest::Divergence(1.0e13));
//_statusTestSgnChange = Teuchos::rcp(new NOX::StatusTest::SgnChange(5.0e-7));
Expand Down

0 comments on commit ffcf1b1

Please sign in to comment.