Empty_Precond Class Reference
Empty preconditioner class. More...
#include <empty_precond.hpp>
Inheritance diagram for Empty_Precond:

Public Member Functions | |
Empty_Precond () | |
Constructor. More... | |
~Empty_Precond () | |
Destructor. More... | |
Empty_Precond * | copy (void) const |
Get a new copy of preconditioner. More... | |
void | prepare (const CRowMatrix &A) |
Prepare preconditioner for matrices with non-zero pattern equal to A. More... | |
void | construct (const CRowMatrix &A) |
Construct preconditioner for matrix A. More... | |
void | clear (void) |
Clear preconditioner. More... | |
bool | is_prepared (void) const |
Return false if prepare is needed. More... | |
std::string | typestring (void) const |
Return string indicating type of preconditioner. More... | |
void | solve (Vector &x, const Vector &b) const |
Return x = b. More... | |
![]() | |
virtual | ~Precond () |
Virtual destructor. More... | |
Detailed Description
Empty preconditioner class.
Constructor & Destructor Documentation
◆ Empty_Precond()
|
inline |
Constructor.
◆ ~Empty_Precond()
|
inline |
Destructor.
Member Function Documentation
◆ clear()
|
inlinevirtual |
Clear preconditioner.
Clears preconditioner. Both prepare() and construct() functions have to be called after this.
Implements Precond.
◆ construct()
|
inlinevirtual |
Construct preconditioner for matrix A.
Implements Precond.
◆ copy()
|
inlinevirtual |
Get a new copy of preconditioner.
Implements Precond.
◆ is_prepared()
|
inlinevirtual |
Return false if prepare is needed.
Returns true if prepare is not needed and false if it is.
Implements Precond.
◆ prepare()
|
inlinevirtual |
Prepare preconditioner for matrices with non-zero pattern equal to A.
Implements Precond.
◆ solve()
Return x = b.
Implements Precond.
◆ typestring()
|
inlinevirtual |
Return string indicating type of preconditioner.
Implements Precond.
The documentation for this class was generated from the following file: