FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
746 stars 187 forks source link

diffusion-hpddm-2d-PETSc.edp #302

Closed prj- closed 4 months ago

prj- commented 5 months ago

Dear @FredericN, following our conversation offline, I made the following adjustments:

  1. new example diffusion-hpddm-2d-PETSc.edp based on your file hpddm2Dtau.edp
    • switch from tgv = -1 to tgv = -2
    • switch from LU to Cholesky
    • switch from RAS to ASM
    • switch from deflated coarse correction to additive coarse correction
    • switch from GMRES to CG
    • switch from -ksp_monitor to -ksp_monitor_singular_value to get an estimate of the condition number of the preconditioned operator
  2. new example diffusion-hpddm-3d-PETSc.edp based on your file hpddm3D.edp

Please either make further comments or approve the PR and I'll merge it.