|
| ReductionControl (const unsigned int maxiter=100, const double tolerance=1.e-10, const double reduce=1.e-2, const bool log_history=false, const bool log_result=true) |
|
| ReductionControl (const SolverControl &c) |
|
ReductionControl & | operator= (const SolverControl &c) |
|
virtual | ~ReductionControl () |
|
void | parse_parameters (ParameterHandler ¶m) |
|
virtual State | check (const unsigned int step, const double check_value) |
|
double | reduction () const |
|
double | set_reduction (const double) |
|
| SolverControl (const unsigned int n=100, const double tol=1.e-10, const bool log_history=false, const bool log_result=true) |
|
virtual | ~SolverControl () |
|
void | parse_parameters (ParameterHandler ¶m) |
|
State | last_check () const |
|
double | initial_value () const |
|
double | last_value () const |
|
unsigned int | last_step () const |
|
unsigned int | max_steps () const |
|
unsigned int | set_max_steps (const unsigned int) |
|
void | set_failure_criterion (const double rel_failure_residual) |
|
void | clear_failure_criterion () |
|
double | tolerance () const |
|
double | set_tolerance (const double) |
|
void | enable_history_data () |
|
double | average_reduction () const |
|
double | final_reduction () const |
|
double | step_reduction (unsigned int step) const |
|
void | log_history (const bool) |
|
bool | log_history () const |
|
unsigned int | log_frequency (unsigned int) |
|
void | log_result (const bool) |
|
bool | log_result () const |
|
| DeclException0 (ExcHistoryDataRequired) |
|
| Subscriptor () |
|
| Subscriptor (const Subscriptor &) |
|
virtual | ~Subscriptor () |
|
Subscriptor & | operator= (const Subscriptor &) |
|
void | subscribe (const char *identifier=0) const |
|
void | unsubscribe (const char *identifier=0) const |
|
unsigned int | n_subscriptions () const |
|
void | list_subscribers () const |
|
| DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects.\n"<< "(Additional information: "<< arg3<< ")\n"<< "Note the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "more information on what this error means.") |
|
| DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier \""<< arg2<< "\" did subscribe to this object of class "<< arg1) |
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Specialization of SolverControl
which returns success
if either the specified tolerance is achieved or if the initial residual (or whatever criterion was chosen by the solver class) is reduced by a given factor. This is useful in cases where you don't want to solve exactly, but rather want to gain two digits or if the maximal number of iterations is achieved. For example: The maximal number of iterations is 20, the reduction factor is 1% und the tolerance is 0.1%. The initial residual is 2.5. The process will break if 20 iteration are comleted or the new residual is less then 2.5*1% or if it is less then 0.1%.
- Author
- Guido Kanschat
Definition at line 392 of file solver_control.h.