17 #ifndef __deal2__appframe__newton_base_h
18 #define __deal2__appframe__newton_base_h
20 #include <lac/solver_control.h>
28 using namespace dealii;
29 using namespace FuelCell::ApplicationCore;
33 namespace ApplicationCore
188 virtual void declare_parameters (ParameterHandler& param);
193 virtual void initialize (ParameterHandler& param);
198 void _initialize (ParameterHandler& param);
204 double threshold(
double new_value);
216 virtual void assemble();
255 void debug_output(
const FEVector& sol,
unsigned int debug
Write debug output to FcstUtilities::log; the higher the number, the more output. ...
Definition: newton_base.h:295
bool debug_update
Print Newton update after each step into file Newton_dNNN?
Definition: newton_base.h:285
void initialize_initial_guess(BlockVector< double > &dst)
Control object for the Newton iteration.
Definition: newton_base.h:209
bool debug_solution
Print updated solution after each step into file Newton_uNNN?
Definition: newton_base.h:280
static const FuelCell::ApplicationCore::Event bad_derivative
The Event set by Jason if convergence is becoming bad and a new matrix should be assembled.
Definition: newton_base.h:170
bool debug_residual
Print Newton residual after each step into file Newton_rNNN?
Definition: newton_base.h:290
bool assemble_now
This flag is set by the function assemble(), indicating that the matrix must be assembled anew upon s...
Definition: newton_base.h:264
double assemble_threshold
Threshold for re-assembling matrix.
Definition: newton_base.h:275
Base class for applications.
Definition: application_base.h:114
Base class for all classes performing Newton's iteration.
Definition: newton_base.h:161
This class implements either iterative or time-stepping wrapper of applications.
Definition: application_wrapper.h:40
ReductionControl control
Control object for the Newton iteration.
Definition: newton_base.h:243
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
unsigned int step
The number of a basic Newton iteration.
Definition: newton_base.h:299
unsigned int n_blocks
The total number of blocks.
Definition: newton_base.h:323
double numIter
Number of Iterations;.
Definition: newton_base.h:248
std::vector< unsigned int > blocks
This vector specifies the blocks of the global solution which are supposed to be treated specially...
Definition: newton_base.h:318