PC Documentation

PC Documentation

This page wraps functions in PETSc's PC API. Consult the PETSc documentation for the behavior of the functions. The documentation on this page only describes differences between the Julia wrappers and the PETSc documentation.

PETSc2.PCType.

Petsc PC object

source
PETSc2.PCMethod.

Constructor

Inputs

  • comm: MPI communicator

Outputs

  • PC object

source
PETSc2.KSPGetPCMethod.

KSPGetPC

Inputs

  • ksp: KSP object

Output

  • PC: pc object

source
PETSc2.KSPSetPCMethod.

KSPSetPC

source
PETSc2.PCApplyMethod.

PCApply

source

PCApplyTranspose

source

PCApplyTransposeExists

Inputs

  • pc: PC object

Outputs

  • Bool

source

PCBJacobiGetSubKSP

Inputs

  • pc: PC object

Outputs

  • n_local: number of local KSP object

  • first_local: global number of first KSP object on this block

  • ksp_arr: array of KSP object

source

PCFactorGetAllowDiagonalFill

Inputs

  • pc: PC object

Outputs

  • PetscBool

source

PCFactorGetLevels

Inputs

  • pc: PC object

Outputs

  • PetscInt

source

PCFactorGetUseInPlace

Inputs

  • pc: PC object

Outputs

  • PetscBool

source

PCFactorSetAllowDiagonalFill

source

PCFactorSetFill

source

PCFactorSetLevels

source

PCFactorSetUseInPlace

source

PCGetReusePreconditioner

Inputs

  • pc: PC object

Outputs

  • PetscBool

source
PETSc2.PCGetTypeMethod.

PCGetType

Inputs

  • pc: PC object

Outputs

  • string contianing the PC type

source

PCJacobiGetType

Inputs

  • pc: PC object

Outputs

  • string containing the type

source

PCJacobiaSetType

source

PCSetReusePreconditioner

source
PETSc2.PCSetTypeMethod.

PCSetType

source
PETSc2.PCSetUpMethod.

PCSetUp

source

PCShellGetContext

Inputs

  • pc: PC object

Outputs

  • Ptr{Void}. Users should call unsafe_pointer_to_objref() on it to get the Julia object back

source

PCShellSetApply

source

PCShellSetApplyTranspose

source

PCShellSetContext

source

PCShellSetSetUp

source

Free a Petsc PC object. Safe to call multiple times

source

PCSetFromOptions

source