[petsc-users] Assembling primal Schur matrix in FETI-DP method

Thomas Witkowski Thomas.Witkowski at tu-dresden.de
Mon Nov 21 08:12:40 CST 2011


Zitat von Thomas Witkowski <Thomas.Witkowski at tu-dresden.de>:

> Zitat von Jed Brown <jedbrown at mcs.anl.gov>:
>
>> On Mon, Nov 21, 2011 at 04:00, Thomas Witkowski <
>> Thomas.Witkowski at tu-dresden.de> wrote:
>>
>>> Some technical question on this point: How can I explicitly factorize a
>>> sequential matrix? Is MatLUFactor the correct function to do it?
>>
>>
>> In general, I recommend using the KSP. You can KSPSetType(ksp,KSPPREONLY),
>> PCSetType(pc,PCLU). Call KSPSolve() multiple times, the factorization will
>> be reused. Or you can use MatLUFactor() directly if you really want.
>>
>>
>
> Okay, but how to make use of the KSP in MatMatSolve?

  KSPGetOperators?




More information about the petsc-users mailing list