![]() |
Documentation 6b54b78464
|
Applies a std::function as the preconditioning operation. More...
#include <CPreconditioner.hpp>
Public Member Functions | |
| CAbstractPreconditioner ()=delete | |
| template<class F > | |
| CAbstractPreconditioner (const F &function) | |
| void | operator() (const CSysVector< ScalarType > &u, CSysVector< ScalarType > &v) const override |
| Overload of operator (), applies the preconditioner to "u" storing the result in "v". | |
Public Member Functions inherited from CPreconditioner< ScalarType > | |
| virtual | ~CPreconditioner ()=0 |
| Destructor of the class. | |
| virtual void | Build () |
| Generic "preprocessing" hook derived classes may implement to build the preconditioner. | |
| virtual bool | IsIdentity () const |
| Return true to identify the identity preconditioner, may allow some solvers to be more efficient. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CPreconditioner< ScalarType > | |
| static CPreconditioner * | Create (ENUM_LINEAR_SOLVER_PREC kind, CSysMatrix< ScalarType > &jacobian, CGeometry *geometry, const CConfig *config) |
| Factory method. | |
Applies a std::function as the preconditioning operation.
|
delete |
|
inlineexplicit |
|
inlineoverridevirtual |
Overload of operator (), applies the preconditioner to "u" storing the result in "v".
Implements CPreconditioner< ScalarType >.