17 #ifndef __deal2__appframe__newton_w_lines_search_h
18 #define __deal2__appframe__newton_w_lines_search_h
24 namespace ApplicationCore
123 virtual void initialize (ParameterHandler& param);
virtual void declare_parameters(ParameterHandler ¶m)
Declare the input parameters.
Application class performing a Newton's iteration as described in newtonBase.
Definition: newton_w_line_search.h:100
unsigned int overrelax_steps
Number of iterations to which we apply overrelax.
Definition: newton_w_line_search.h:144
static const FuelCell::ApplicationCore::Event bad_derivative
The Event set by NewtonLineSearch if convergence is becoming bad and a new matrix should be assembled...
Definition: newton_w_line_search.h:109
SmartPointer< ApplicationBase > app
Pointer to the application this one depends upon.
Definition: application_wrapper.h:107
void _initialize(ParameterHandler ¶m)
Read the parameters local to NewtonLineSearch.
NewtonLineSearch(ApplicationBase &app)
Constructor, receiving the application computing the residual and solving the linear problem...
Base class for applications.
Definition: application_base.h:114
Base class for all classes performing Newton's iteration.
Definition: newton_base.h:161
double overrelax
Value used to multiply , the solution update, from the Newton algorithm during the first overrelax_st...
Definition: newton_w_line_search.h:140
virtual void solve(FuelCell::ApplicationCore::FEVector &u, const FuelCell::ApplicationCore::FEVectors &in_vectors)
The actual Newton solver.
virtual void initialize(ParameterHandler ¶m)
Read the parameters.
Objects of this kind are used to notify interior applications of changes provoked by an outer loop...
Definition: event.h:57
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:39
The data type used in function calls of Application.
Definition: fe_vectors.h:59
bool line_search
Do you want to use a line search at each step?
Definition: newton_w_line_search.h:148