Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Added Logger, added Doxygen and fixed bug in varying initial guess by…
Browse files Browse the repository at this point in the history
… 10% if initial guess has components that are zero.
  • Loading branch information
qichenghua authored and OpenModelica-Hudson committed Jul 18, 2017
1 parent 34f3bd7 commit 0f09143
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 294 deletions.
1 change: 1 addition & 0 deletions SimulationRuntime/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ SET(DgesvName ${LIBPREFIX}Dgesv) # only static version
SET(USE_MICO OFF)
SET(USE_KLU CACHE BOOL OFF)
SET(USE_TRILINOS CACHE BOOL OFF)
SET(USE_LOGGER ON)
SET(REDUCE_DAE OFF)
IF(NOT FMU_TARGET OR FMU_SUNDIALS)
SET(USE_SUNDIALS ON)
Expand Down
9 changes: 9 additions & 0 deletions SimulationRuntime/cpp/Include/Solver/Nox/NoxLapackInterface.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/** @addtogroup solverNox
* @{
*
*/

#include <LOCA.H>
#include <LOCA_LAPACK.H>

Expand Down Expand Up @@ -46,4 +51,8 @@ class NoxLapackInterface : public LOCA::LAPACK::Interface {
bool _evaluatedJacobianAtInitialGuess;
Teuchos::RCP<NOX::LAPACK::Matrix<double>> _J;//F'(x_0)
bool _UseAccurateJacobian;
LogCategory _lc;
};


/** @} */ // end of solverNox

0 comments on commit 0f09143

Please sign in to comment.