#include <deal.II/lac/petsc_precondition.h>
A class that implements a non-preconditioned method.
Definition at line 984 of file petsc_precondition.h.
◆ PreconditionNone() [1/2]
PETScWrappers::PreconditionNone::PreconditionNone |
( |
| ) |
|
|
default |
Empty Constructor. You need to call initialize() before using this object.
◆ PreconditionNone() [2/2]
Constructor. Take the matrix which is used to form the preconditioner, and additional flags if there are any. The matrix is completely ignored in computations.
Definition at line 816 of file petsc_precondition.cc.
◆ initialize()
Initialize the preconditioner object and calculate all data that is necessary for applying it in a solver. This function is automatically called when calling the constructor with the same arguments and is only used if you create the preconditioner without arguments. The matrix is completely ignored in computations.
Definition at line 824 of file petsc_precondition.cc.
◆ clear()
void PETScWrappers::PreconditionBase::clear |
( |
| ) |
|
|
inherited |
Destroys the preconditioner, leaving an object like just after having called the constructor.
Definition at line 52 of file petsc_precondition.cc.
◆ vmult()
◆ Tvmult()
Apply the transpose preconditioner once to the given src vector.
Definition at line 76 of file petsc_precondition.cc.
◆ get_pc()
const PC & PETScWrappers::PreconditionBase::get_pc |
( |
| ) |
const |
|
inherited |
◆ create_pc()
void PETScWrappers::PreconditionBase::create_pc |
( |
| ) |
|
|
protectedinherited |
Internal function to create the PETSc preconditioner object. Fails if called twice.
Definition at line 86 of file petsc_precondition.cc.
◆ operator Mat()
PETScWrappers::PreconditionBase::operator Mat |
( |
| ) |
const |
|
protectedinherited |
Conversion operator to get a representation of the matrix that represents this preconditioner. We use this inside the actual solver, where we need to pass this matrix to the PETSc solvers.
Definition at line 119 of file petsc_precondition.cc.
◆ additional_data
◆ pc
PC PETScWrappers::PreconditionBase::pc |
|
protectedinherited |
◆ matrix
Mat PETScWrappers::PreconditionBase::matrix |
|
protectedinherited |
The documentation for this class was generated from the following files: