Class xlifepp::Preconditioner#

class Preconditioner#

Inheritence diagram for xlifepp::Preconditioner:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::Preconditioner" tooltip="xlifepp::Preconditioner" fillcolor="#BFBFBF"] "2" [label="xlifepp::PreconditionerTerm" tooltip="xlifepp::PreconditionerTerm"] "2" -> "1" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::Preconditioner:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "20" [label="xlifepp::Vector< complex_t >" tooltip="xlifepp::Vector< complex_t >"] "16" [label="xlifepp::Vector< real_t >" tooltip="xlifepp::Vector< real_t >"] "24" [label="xlifepp::Vector< xlifepp::Vector< complex_t > >" tooltip="xlifepp::Vector< xlifepp::Vector< complex_t > >"] "22" [label="xlifepp::Vector< xlifepp::Vector< real_t > >" tooltip="xlifepp::Vector< xlifepp::Vector< real_t > >"] "13" [label="std::map< const xlifepp::Unknown *, xlifepp::SuLinearForm >" tooltip="std::map< const xlifepp::Unknown *, xlifepp::SuLinearForm >"] "14" [label="std::map< const xlifepp::Unknown *, xlifepp::SuTermVector * >" tooltip="std::map< const xlifepp::Unknown *, xlifepp::SuTermVector * >"] "9" [label="std::map< string_t, number_t >" tooltip="std::map< string_t, number_t >"] "10" [label="std::map< K, T >" tooltip="std::map< K, T >"] "8" [label="std::vector< T >" tooltip="std::vector< T >"] "19" [label="std::vector< K >" tooltip="std::vector< K >"] "21" [label="std::vector< complex_t >" tooltip="std::vector< complex_t >"] "17" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "26" [label="std::vector< xlifepp::DofComponent >" tooltip="std::vector< xlifepp::DofComponent >"] "7" [label="std::vector< xlifepp::Parameter * >" tooltip="std::vector< xlifepp::Parameter * >"] "11" [label="std::vector< xlifepp::Term * >" tooltip="std::vector< xlifepp::Term * >"] "25" [label="std::vector< xlifepp::Vector< complex_t > >" tooltip="std::vector< xlifepp::Vector< complex_t > >"] "23" [label="std::vector< xlifepp::Vector< real_t > >" tooltip="std::vector< xlifepp::Vector< real_t > >"] "4" [label="xlifepp::ComputingInfo" tooltip="xlifepp::ComputingInfo"] "12" [label="xlifepp::LinearForm" tooltip="xlifepp::LinearForm"] "6" [label="xlifepp::Parameters" tooltip="xlifepp::Parameters"] "1" [label="xlifepp::Preconditioner" tooltip="xlifepp::Preconditioner" fillcolor="#BFBFBF"] "5" [label="xlifepp::ReductionMethod" tooltip="xlifepp::ReductionMethod"] "3" [label="xlifepp::Term" tooltip="xlifepp::Term"] "2" [label="xlifepp::TermVector" tooltip="xlifepp::TermVector"] "18" [label="xlifepp::Vector< K >" tooltip="xlifepp::Vector< K >"] "15" [label="xlifepp::VectorEntry" tooltip="xlifepp::VectorEntry"] "20" -> "21" [dir=forward tooltip="public-inheritance"] "20" -> "18" [dir=forward tooltip="template-instance"] "16" -> "17" [dir=forward tooltip="public-inheritance"] "16" -> "18" [dir=forward tooltip="template-instance"] "24" -> "25" [dir=forward tooltip="public-inheritance"] "24" -> "18" [dir=forward tooltip="template-instance"] "22" -> "23" [dir=forward tooltip="public-inheritance"] "22" -> "18" [dir=forward tooltip="template-instance"] "13" -> "10" [dir=forward tooltip="template-instance"] "14" -> "10" [dir=forward tooltip="template-instance"] "9" -> "10" [dir=forward tooltip="template-instance"] "19" -> "8" [dir=forward tooltip="template-instance"] "21" -> "8" [dir=forward tooltip="template-instance"] "17" -> "8" [dir=forward tooltip="template-instance"] "26" -> "8" [dir=forward tooltip="template-instance"] "7" -> "8" [dir=forward tooltip="template-instance"] "11" -> "8" [dir=forward tooltip="template-instance"] "25" -> "8" [dir=forward tooltip="template-instance"] "23" -> "8" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="usage"] "12" -> "13" [dir=forward tooltip="usage"] "6" -> "7" [dir=forward tooltip="usage"] "6" -> "9" [dir=forward tooltip="usage"] "1" -> "2" [dir=forward tooltip="usage"] "3" -> "4" [dir=forward tooltip="usage"] "3" -> "6" [dir=forward tooltip="usage"] "3" -> "11" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "2" -> "12" [dir=forward tooltip="usage"] "2" -> "14" [dir=forward tooltip="usage"] "2" -> "15" [dir=forward tooltip="usage"] "2" -> "26" [dir=forward tooltip="usage"] "18" -> "19" [dir=forward tooltip="public-inheritance"] "15" -> "16" [dir=forward tooltip="usage"] "15" -> "20" [dir=forward tooltip="usage"] "15" -> "22" [dir=forward tooltip="usage"] "15" -> "24" [dir=forward tooltip="usage"] }

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