NAME
CMRelRefSolution - relative convergence monitor for reference
solution
INCLUDE
include "ConvMonitor.h"
SYNTAX
//-----------------------------------------------------------------------------
class CMRelRefSolution : public CMAbsRefSolution
//-----------------------------------------------------------------------------
{
friend class ConvMonitorList;
public:
CMRelRefSolution (const ConvMonitor_prm& p)
: CMAbsRefSolution (p) {}
CMRelRefSolution (const real conv_tolerance = 1.0e-4,
const Norm_type norm_tp = l2,
const int chunk_size = 100);
~CMRelRefSolution () {}
virtual void init (Handle(LinEqCommBlk)& communication);
virtual String description () const;
CLASS_INFO
};
KEYWORDS
iterative methods, relative stopping criterion, convergence moni
tor, solution sequence, reference solution
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 the current iterate and a reference solution set by
attach, i.e., .
CONSTRUCTORS AND INITIALIZATION
Same as CMAbsRefSolution.
MEMBER FUNCTIONS
Same as CMAbsRefSolution, except attach for binding a reference
solution.
SEE ALSO
class CMAbsRefSolution, class IterativeSolver, class ConvMoni
torList.
AUTHOR
Are Magnus Bruaset, SINTEF Applied Mathematics.