DOLFIN
DOLFIN C++ interface
|
Implements preconditioners using Ifpack2 from Trilinos. More...
#include <Ifpack2Preconditioner.h>
Public Member Functions | |
Ifpack2Preconditioner (std::string type="default") | |
Create a particular preconditioner object. | |
virtual | ~Ifpack2Preconditioner () |
Destructor. | |
virtual void | set (BelosKrylovSolver &solver) |
Set the preconditioner type on a solver. | |
std::string | str (bool verbose) const |
Return informal string representation (pretty-print) | |
virtual void | init (std::shared_ptr< const TpetraMatrix > P) |
Initialise preconditioner based on Operator P. | |
Public Member Functions inherited from dolfin::TrilinosPreconditioner | |
TrilinosPreconditioner () | |
Constructor. | |
~TrilinosPreconditioner () | |
Destructor. | |
Public Member Functions inherited from dolfin::Variable | |
Variable () | |
Create unnamed variable. | |
Variable (const std::string name, const std::string label) | |
Create variable with given name and label. | |
Variable (const Variable &variable) | |
Copy constructor. | |
virtual | ~Variable () |
Destructor. | |
const Variable & | operator= (const Variable &variable) |
Assignment operator. | |
void | rename (const std::string name, const std::string label) |
Rename variable. | |
std::string | name () const |
Return name. | |
std::string | label () const |
Return label (description) | |
std::size_t | id () const |
Static Public Member Functions | |
static std::map< std::string, std::string > | preconditioners () |
Return a list of available preconditioners. | |
static Parameters | default_parameters () |
Default parameter values. | |
Additional Inherited Members | |
Public Attributes inherited from dolfin::Variable | |
Parameters | parameters |
Parameters. | |
Implements preconditioners using Ifpack2 from Trilinos.