Index

NAME

CMRelSeqSolution  -  relative convergence monitor for sequence of
iterates


INCLUDE

include "ConvMonitor.h"

SYNTAX

 //-----------------------------------------------------------------------------
 class CMRelSeqSolution : public CMAbsSeqSolution
 //-----------------------------------------------------------------------------
 {

   friend class ConvMonitorList;

 public:

   CMRelSeqSolution (const ConvMonitor_prm& p)
     : CMAbsSeqSolution (p) {}

   CMRelSeqSolution (const real conv_tolerance_ = 1.0e-4,
                     const Norm_type norm_tp_ = l2,
                     const int chunk_size_ = 100)
     : CMAbsSeqSolution (conv_tolerance_, norm_tp_, chunk_size_) {}

   ~CMRelSeqSolution () {}

   virtual void init (Handle(LinEqCommBlk)& communication);
   virtual bool satisfied();

   virtual String description () const;

   CLASS_INFO
 };



KEYWORDS

iterative methods, relative stopping criterion, convergence moni­
tor, solution sequence



DESCRIPTION

Monitors  the  behaviour  of the iterates x managed by Iterative­
Solver. The convergence test is relative and is based on the dif­
ference    of    two    succeeding   iterates   i.e.,   `$arallel
x^{k}-x^{k-1}                                             arallel
/arallel
x^{k-1}                                                   arallel
.



CONSTRUCTORS AND INITIALIZATION

Same as CMAbsSeqSolution.



MEMBER FUNCTIONS

Same as CMAbsSeqSolution.


SEE ALSO

class     CMAbsSeqSolution,    class    IterativeSolver,    class
ConvMonitorList.


AUTHOR

Are Magnus Bruaset, SINTEF Applied Mathematics.