Skip to content
Snippets Groups Projects

Feature/petsc

Merged Stéphane Del Pino requested to merge feature/petsc into develop
  1. Oct 15, 2020
    • Stéphane Del Pino's avatar
      28c6adfb
    • Stéphane Del Pino's avatar
      Plug PETSc (and various classic solvers and preconditioners) · 2075a167
      Stéphane Del Pino authored
      The 'LinearSolver' class proposes mechanism to choose the used
      - library,
      - method, and
      - preconditioner
      Also one can adjust the required convergence epsilon, the maximum
      number of iterations and the verbosity.
      
      All of these options can be listed through the 'pgs' script using the
      'printLSAvailable()' builtin function.
      
      One drive the linear system solver by changing values in the
      script. For instance:
      	setLSVerbosity(true);
      	setLSEpsilon(1E-9);
      	setLSMaxIter(1000);
      	setLSLibrary("PETSc");
      	setLSMethod("LU");
      	setLSPrecond("none");
      
      Finally one can print the current options by using the
      'printLSOptions()' function.
      2075a167
  2. Oct 13, 2020
  3. Oct 12, 2020
Loading