16#ifndef dealii_petsc_solver_h
17#define dealii_petsc_solver_h
22#ifdef DEAL_II_WITH_PETSC
31# ifdef DEAL_II_WITH_SLEPC
39# ifdef DEAL_II_WITH_SLEPC
43 class TransformationBase;
54 class PreconditionBase;
162 operator KSP()
const;
215 static PetscErrorCode
217 const PetscInt iteration,
218 const PetscReal residual_norm,
219 KSPConvergedReason *reason,
223# ifdef DEAL_II_WITH_SLEPC
273 DEAL_II_DEPRECATED_EARLY
325 DEAL_II_DEPRECATED_EARLY
375 DEAL_II_DEPRECATED_EARLY
426 DEAL_II_DEPRECATED_EARLY
494 DEAL_II_DEPRECATED_EARLY
546 DEAL_II_DEPRECATED_EARLY
597 DEAL_II_DEPRECATED_EARLY
648 DEAL_II_DEPRECATED_EARLY
704 DEAL_II_DEPRECATED_EARLY
754 DEAL_II_DEPRECATED_EARLY
806 DEAL_II_DEPRECATED_EARLY
862 DEAL_II_DEPRECATED_EARLY
925 DEAL_II_DEPRECATED_EARLY
SolverControl & control() const
void initialize(const PreconditionBase &preconditioner)
void perhaps_set_convergence_test() const
static PetscErrorCode convergence_test(KSP ksp, const PetscInt iteration, const PetscReal residual_norm, KSPConvergedReason *reason, void *solver_control)
SmartPointer< SolverControl, SolverBase > solver_control
void set_prefix(const std::string &prefix)
void initialize_ksp_with_comm(const MPI_Comm comm)
void solve(const MatrixBase &A, VectorBase &x, const VectorBase &b, const PreconditionBase &preconditioner)
virtual void set_solver_type(KSP &ksp) const
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
virtual void set_solver_type(KSP &ksp) const override
void solve(const MatrixBase &A, VectorBase &x, const VectorBase &b)
virtual void set_solver_type(KSP &ksp) const override
const AdditionalData additional_data
void set_symmetric_mode(const bool flag)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
bool right_preconditioning
unsigned int restart_parameter