ug4
|
#include <energy_convergence_check.h>
Public Member Functions | |
virtual SmartPtr< IConvergenceCheck< TVector > > | clone () |
clone the object More... | |
virtual std::string | config_string () const |
returns information about configuration parameters More... | |
double | energy_norm (const TVector &d) |
EnergyConvCheck () | |
EnergyConvCheck (int maxSteps, number minDefect, number relReduction) | |
EnergyConvCheck (int maxSteps, number minDefect, number relReduction, bool verbose) | |
EnergyConvCheck (int maxSteps, number minDefect, number relReduction, bool verbose, bool suppressUnsuccessful) | |
void | set_linear_operator (SmartPtr< ILinearOperator< TVector > > op) |
void | start (const TVector &d) |
computes the start defect and set it More... | |
void | update (const TVector &d) |
computes the defect and sets it a the next defect value More... | |
Public Member Functions inherited from ug::StdConvCheck< TVector > | |
number | avg_rate () const |
number | defect () const |
returns the current defect More... | |
number | get_defect (size_t i) const |
const std::vector< number > | get_defects () const |
int | get_offset () const |
get the current offset More... | |
bool | iteration_ended () |
bool | post () |
number | previous_defect () const |
void | print_line (std::string line) |
prints a line More... | |
number | rate () const |
number | reduction () const |
void | set_info (std::string info) |
sets info string More... | |
void | set_maximum_steps (int maxSteps) |
void | set_minimum_defect (number minDefect) |
void | set_name (std::string name) |
sets the name of the iteration More... | |
void | set_offset (int offset) |
sets the number of spaces printed before output information More... | |
void | set_reduction (number relReduction) |
void | set_supress_unsuccessful (bool bsupress) |
void | set_symbol (char symbol) |
sets the symbol used for output More... | |
void | set_verbose (bool level) |
void | start_defect (number initialDefect) |
sets the given start defect More... | |
StdConvCheck () | |
StdConvCheck (int maxSteps, number minDefect, number relReduction) | |
StdConvCheck (int maxSteps, number minDefect, number relReduction, bool verbose) | |
StdConvCheck (int maxSteps, number minDefect, number relReduction, bool verbose, bool suppressUnsuccessful) | |
int | step () const |
returns the current number of steps More... | |
void | update_defect (number newDefect) |
sets the update for the current defect More... | |
Public Member Functions inherited from ug::IConvergenceCheck< TVector > | |
virtual | ~IConvergenceCheck () |
virtual destructor More... | |
Private Types | |
typedef StdConvCheck< TVector > | base_type |
Private Attributes | |
SmartPtr< ILinearOperator< TVector > > | m_op |
SmartPtr< TVector > | tmp |
SmartPtr< TVector > | tmp2 |
Additional Inherited Members | |
Protected Member Functions inherited from ug::StdConvCheck< TVector > | |
bool | is_valid_number (number value) |
void | print_offset () |
Protected Attributes inherited from ug::StdConvCheck< TVector > | |
number | m_currentDefect |
int | m_currentStep |
std::string | m_info |
number | m_initialDefect |
number | m_lastDefect |
int | m_maxSteps |
number | m_minDefect |
std::string | m_name |
int | m_offset |
number | m_ratesProduct |
number | m_relReduction |
bool | m_supress_unsuccessful |
char | m_symbol |
bool | m_verbose |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
clone the object
Reimplemented from ug::StdConvCheck< TVector >.
|
inlinevirtual |
returns information about configuration parameters
this should return necessary information about parameters and possibly calling config_string of subcomponents.
Reimplemented from ug::StdConvCheck< TVector >.
References ug::StdConvCheck< TVector >::m_maxSteps, ug::StdConvCheck< TVector >::m_minDefect, and ug::StdConvCheck< TVector >::m_relReduction.
|
inline |
|
inline |
References ug::EnergyConvCheck< TVector >::m_op.
|
inlinevirtual |
computes the start defect and set it
Reimplemented from ug::StdConvCheck< TVector >.
References ug::EnergyConvCheck< TVector >::energy_norm(), and ug::StdConvCheck< TVector >::start_defect().
|
inlinevirtual |
computes the defect and sets it a the next defect value
Reimplemented from ug::StdConvCheck< TVector >.
References ug::EnergyConvCheck< TVector >::energy_norm(), and ug::StdConvCheck< TVector >::update_defect().
|
private |
|
private |
Referenced by ug::EnergyConvCheck< TVector >::energy_norm().
|
private |
Referenced by ug::EnergyConvCheck< TVector >::energy_norm().