/
NoxSettings.h
36 lines (33 loc) · 1.2 KB
/
NoxSettings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
/** @addtogroup solverNox
*
* @{
*/
#include <Core/Solver/INonLinSolverSettings.h>
class NoxSettings :public INonLinSolverSettings
{
public:
NoxSettings();
/*max. Anzahl an Newtonititerationen pro Schritt (default: 25)*/
virtual long int getNewtMax();
virtual void setNewtMax(long int);
/* Relative Toleranz für die Newtoniteration (default: 1e-6)*/
virtual double getRtol();
virtual void setRtol(double);
/*Absolute Toleranz für die Newtoniteration (default: 1e-6)*/
virtual double getAtol();
virtual void setAtol(double);
/*Dämpfungsfaktor (default: 0.9)*/
virtual double getDelta();
virtual void setDelta(double);
virtual void load(string);
virtual void setContinueOnError(bool);
virtual bool getContinueOnError();
private:
long int _iNewt_max; ///< max. Anzahl an Newtonititerationen pro Schritt (default: 25)
double _dRtol; ///< Relative Toleranz für die Newtoniteration (default: 1e-6)
double _dAtol; ///< Absolute Toleranz für die Newtoniteration (default: 1e-6)
double _dDelta; ///< Dämpfungsfaktor (default: 0.9)
bool _continueOnError;
};
/** @} */ // end of solverNox