See case '"-num_rhs" in petsc/src/ksp/ksp/tests/ex30.c
Hong
From: petsc-users on behalf of Matthew
Knepley
Sent: Tuesday, August 4, 2020 7:29 PM
To: Anthony Paul Haas
Cc: petsc-users
Subject: Re: [petsc-users] reuse Mumps factorization for m
On Tue, Aug 4, 2020 at 7:57 PM Anthony Paul Haas
wrote:
> Hello,
>
> When using Mumps to solve a linear system of equations (see below), can I
> reuse the factorization to solve for multiple RHS, ie, can I use KSPSolve
> multiple
> times while only building a different RHS in between the calls t
Yes, it automatically uses the same factorization.
> On Aug 4, 2020, at 6:55 PM, Anthony Paul Haas wrote:
>
> Hello,
>
> When using Mumps to solve a linear system of equations (see below), can I
> reuse the factorization to solve for multiple RHS, ie, can I use KSPSolve
> multiple times w
Hello,
When using Mumps to solve a linear system of equations (see below), can I
reuse the factorization to solve for multiple RHS, ie, can I use
KSPSolve multiple
times while only building a different RHS in between the calls to KSPSolve?
Thanks,
Anthony
call KSPSetType(self%ksp,KSPPREONLY,sel