libMesh
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
petsc_linear_solver.h File Reference

Go to the source code of this file.

Classes

class  libMesh::PetscLinearSolver< T >
 This class provides an interface to PETSc iterative solvers that is compatible with the libMesh LinearSolver<> More...
 

Namespaces

namespace  libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 

Functions

PetscErrorCode libmesh_petsc_preconditioner_setup (PC)
 This function is called by PETSc to initialize the preconditioner.
 
PetscErrorCode libmesh_petsc_preconditioner_apply (PC, Vec x, Vec y)
 This function is called by PETSc to actually apply the preconditioner.
 

Function Documentation

◆ libmesh_petsc_preconditioner_apply()

PetscErrorCode libmesh_petsc_preconditioner_apply ( PC  ,
Vec  x,
Vec  y 
)

This function is called by PETSc to actually apply the preconditioner.

ctx will hold the Preconditioner.

◆ libmesh_petsc_preconditioner_setup()

PetscErrorCode libmesh_petsc_preconditioner_setup ( PC  )

This function is called by PETSc to initialize the preconditioner.

ctx will hold the Preconditioner.