casgame.blogg.se

Ksp fineprint
Ksp fineprint










ksp fineprint

To solve successive linear systems that have different preconditioner Operations will not be repeated for successive solves. The preconditioner setup operations (e.g., factorizationįor ILU) will be done during the first call to KSPSolve() only such Right-hand-side vectors, the user should simply call KSPSolve() Structure with exactly the same matrix elements) but different Systems having the same preconditioner matrix (i.e., the same data

ksp fineprint

When solving multiple linear systems of the same size with the same PCFactorSetUseInPlace(), discussed below, causes factorization to beĭone in-place. Of having a corrupted matrix after a linear solve. This approach prevents the user from the unexpected surprise The options -ksp_type preonly (or the equivalent -ksp_type none)īy default, if a direct solver is used, the factorization is not done PETSc interfaces, see Using External Linear Solvers) one may use PETSc for sequential matrices, and by several external solvers through To solve a linear system with a direct solver (currently supported by KSP routines to modify the corresponding default options. The application programmer can then directly call any of the PC or












Ksp fineprint