Class xlifepp::Preconditioner#
-
class Preconditioner#
-
Define the preconditioner for linear systems.
This is a main class that users can derive to deal with preconditioning by operators. In most of the cases, users will use xlifepp::PreconditionerTerm when it is a preconditioning with TermMatrix/TermVector level (or MatrixEntry/VectorEntry)
Subclassed by xlifepp::PreconditionerTerm
Public Functions
-
inline Preconditioner(PreconditionerType pt = _userPrec)#
-
connstructor with PreconditionerType
-
inline virtual ~Preconditioner()#
-
destructor
-
inline PreconditionerType kind() const#
-
returns type of preconditioner
-
inline void kind(PreconditionerType pt)#
-
sets type of preconditioner
-
inline string_t name() const#
-
returns name
-
inline const TermVector *termVector() const#
-
returns termVector_p
-
inline void termVector(TermVector &tv)#
-
sets termVector_p
-
inline Preconditioner(PreconditionerType pt = _userPrec)#