ML Version of the Day
MLAPI::MultiLevelSA Class Reference

Black-box multilevel smoothed aggregation preconditioner. More...

#include <MLAPI_MultiLevelSA.h>

Inheritance diagram for MLAPI::MultiLevelSA:
Inheritance graph
[legend]
Collaboration diagram for MLAPI::MultiLevelSA:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MultiLevelSA (const Operator FineMatrix, Teuchos::ParameterList &List, const bool ConstructNow=true)
 Constructs the hierarchy for given Operator and parameters.
virtual ~MultiLevelSA ()
 Destructor.
const Space GetOperatorDomainSpace () const
 Returns a copy of the internally stored domain space.
const Space GetOperatorRangeSpace () const
 Returns a copy of the internally stored range space.
const Space GetDomainSpace () const
 Returns a copy of the internally stored domain space.
const Space GetRangeSpace () const
 Returns a copy of the internally stored range space.
const OperatorR (const int i) const
 Returns a reference to the restriction operator of level i.
const OperatorA (const int i) const
 Returns a reference to the operator of level i.
const OperatorP (const int i) const
 Returns a reference to the prolongator operator of level i.
const InverseOperatorS (const int i) const
 Returns a reference to the inverse operator of level i.
int GetMaxLevels () const
 Returns the actual number of levels.
bool IsComputed () const
 Returns true if the hierarchy has been successfully computed, false otherwise.
void Compute ()
 Computes the hierarchy.
int Apply (const MultiVector &b_f, MultiVector &x_f) const
 Applies the preconditioner to b_f, returns the result in x_f.
int SolveMultiLevelSA (const MultiVector &b_f, MultiVector &x_f, int level) const
 Recursively called core of the multi level preconditioner.
std::ostream & Print (std::ostream &os, const bool verbose=true) const
 Prints basic information about this preconditioner.

Detailed Description

Black-box multilevel smoothed aggregation preconditioner.

Author:
Marzio Sala, SNL 9214
Date:
Last updated on Feb-05.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends