PCPreSolve

Optional pre-solve phase, intended for any preconditioner-specific actions that must be performed before the iterative solve itself.

Synopsis

int PCPreSolve(PC pc,KSP ksp)
Collective on PC

Input Parameters

pc - the preconditioner context
ksp - the Krylov subspace context

Sample of Usage

    PCPreSolve(pc,ksp);
    KSPSolve(ksp,its);
    PCPostSolve(pc,ksp);

Note

The pre-solve phase is distinct from the PCSetUp() phase.

Keywords

PC, pre-solve

See Also

PCPostSolve()

Location: src/pc/interface/precon.c
PC Index
Table of Contents