suanPan
|
The AbsDisp class handles converger test to indicate if the iteration converges. More...
#include <AbsDisp.h>
Public Member Functions | |
AbsDisp (unsigned=0, double=1E-8, unsigned=7, bool=false) | |
The complete constructor. More... | |
unique_ptr< Converger > | get_copy () override |
bool | is_converged (unsigned) override |
Public Member Functions inherited from Converger | |
Converger (unsigned=0, double=1E-8, unsigned=10, bool=false) | |
the complete constructor. More... | |
Converger (const Converger &)=default | |
Converger (Converger &&)=default | |
Converger & | operator= (const Converger &)=delete |
Converger & | operator= (Converger &&)=delete |
~Converger () override=default | |
virtual int | initialize () |
virtual unique_ptr< Converger > | get_copy ()=0 |
void | set_tolerance (double) |
method to set tolerance . More... | |
double | get_tolerance () const |
method to return tolerance . More... | |
void | set_max_iteration (unsigned) |
unsigned | get_max_iteration () const |
void | set_domain (const weak_ptr< DomainBase > &) |
method to set DomainBase . More... | |
const weak_ptr< DomainBase > & | get_domain () const |
method to return DomainBase . More... | |
virtual void | set_error (double) |
method to set error . More... | |
double | get_error () const |
method to return error . More... | |
virtual void | set_conv_flag (bool) |
method to set conv_flag . More... | |
bool | get_conv_flag () const |
method to return conv_flag . More... | |
virtual bool | is_converged (unsigned)=0 |
Public Member Functions inherited from Tag | |
Tag (unsigned=0) | |
Tag (const Tag &)=default | |
Tag (Tag &&)=default | |
Tag & | operator= (const Tag &)=delete |
Tag & | operator= (Tag &&)=delete |
virtual | ~Tag ()=default |
void | set_tag (unsigned) const |
unsigned | get_tag () const |
void | enable () |
void | disable () |
void | guard () |
void | unguard () |
bool | is_active () const |
bool | is_guarded () const |
virtual void | print () |
Additional Inherited Members | |
Protected Member Functions inherited from Converger | |
vec | get_residual () const |
bool | is_print () const |
method to return print_flag . More... | |
The AbsDisp class handles converger test to indicate if the iteration converges.
The criterion:
\begin{gather} \big|\big|\Delta{}u\big|\big|_2<E, \end{gather}
where \(E\) is the tolerance.
|
explicit |
The complete constructor.
T | unique_tag |
E | tolerance |
M | max_iteration |
P | print_flag |
|
overridevirtual |