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.PC — Type.Petsc PC object
PETSc2.PC — Method.Constructor
Inputs
comm: MPI communicator
Outputs
PC object
PETSc2.KSPGetPC — Method.KSPGetPC
Inputs
ksp: KSP object
Output
PC: pc object
PETSc2.KSPSetPC — Method.KSPSetPC
PETSc2.PCApply — Method.PCApply
PETSc2.PCApplyTranspose — Method.PCApplyTranspose
PETSc2.PCApplyTransposeExists — Method.PCApplyTransposeExists
Inputs
pc: PC object
Outputs
Bool
PETSc2.PCBJacobiGetSubKSP — Method.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
PETSc2.PCFactorGetAllowDiagonalFill — Method.PCFactorGetAllowDiagonalFill
Inputs
pc: PC object
Outputs
PetscBool
PETSc2.PCFactorGetLevels — Method.PCFactorGetLevels
Inputs
pc: PC object
Outputs
PetscInt
PETSc2.PCFactorGetUseInPlace — Method.PCFactorGetUseInPlace
Inputs
pc: PC object
Outputs
PetscBool
PETSc2.PCFactorSetAllowDiagonalFill — Method.PCFactorSetAllowDiagonalFill
PETSc2.PCFactorSetFill — Method.PCFactorSetFill
PETSc2.PCFactorSetLevels — Method.PCFactorSetLevels
PETSc2.PCFactorSetUseInPlace — Method.PCFactorSetUseInPlace
PETSc2.PCGetReusePreconditioner — Method.PCGetReusePreconditioner
Inputs
pc: PC object
Outputs
PetscBool
PETSc2.PCGetType — Method.PCGetType
Inputs
pc: PC object
Outputs
string contianing the PC type
PETSc2.PCJacobiGetType — Method.PCJacobiGetType
Inputs
pc: PC object
Outputs
string containing the type
PETSc2.PCJacobiSetType — Method.PCJacobiaSetType
PETSc2.PCSetReusePreconditioner — Method.PCSetReusePreconditioner
PETSc2.PCSetType — Method.PCSetType
PETSc2.PCSetUp — Method.PCSetUp
PETSc2.PCShellGetContext — Method.PCShellGetContext
Inputs
pc: PC object
Outputs
Ptr{Void}. Users should call unsafe_pointer_to_objref() on it to get the Julia object back
PETSc2.PCShellSetApply — Method.PCShellSetApply
PETSc2.PCShellSetApplyTranspose — Method.PCShellSetApplyTranspose
PETSc2.PCShellSetContext — Method.PCShellSetContext
PETSc2.PCShellSetSetUp — Method.PCShellSetSetUp
PETSc2.PetscDestroy — Method.Free a Petsc PC object. Safe to call multiple times
PETSc2.SetFromOptions — Method.PCSetFromOptions