62 const double &
diag(
int i)
const {
return diag_(i); }
63 double &
diag(
int i) {
return diag_(i); }
Base class for all matrices stored in sparse format.
DiagPreconditioner()
Constructor. The user should call initializeFrom and init services in this given order to ensure cons...
const double & diag(int i) const
Class representing vector of real numbers.
Abstract class for IML++ compatible preconditioner.
Implementation of diagonal preconditioner.
virtual ~DiagPreconditioner(void)
Destructor.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveClassName() const
Returns the preconditioner name.