#include <PETScFabric.hh>
Public Member Functions | |
| PETScFabric (const Real maxeps, const std::string ksptype, const std::string pctype=std::string("none")) | |
| virtual Operator< Real > * | operator() (Operator< Real > &matrix) |
| virtual Operator< Real > * | operator() ()=0 |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Fabric class for PETSc solvers. Creates a PETScMat if Operator is not a PETScMat and a preconditioner is desired. This may have severe disadvantages:
Definition at line 30 of file PETScFabric.hh.
|
inline |
Constructor.
| maxeps | Maximal residual |
| ksptype | Type of Krylov Subspace Solver |
| pctype | Type of preconditioner |
Definition at line 37 of file PETScFabric.hh.
|
inline |
Definition at line 56 of file PETScFabric.hh.
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 63 of file PETScFabric.hh.
|
pure virtualinherited |
Creates a linear solver from matrix. The caller is responsible for the deletion of the delivered object.
Implemented in concepts::UmfpackFabric.
|
inlinevirtual |
Implements concepts::SolverFabric< Real >.
Definition at line 40 of file PETScFabric.hh.