SOLVR

SOLVR (optional) introduces a data block with parameters for linear equation solvers. For the PETSc solvers, other options could be specified through the PETSc (.petscrc) option files.

Record SOLVR.1

Free format for 6 parameters, or Format (I1, A4, A5, 2E10.4)

MatrixSolver, SolvingMethod, PCM, RITMAX, CLOSUR, MaxNumIter

MatrixSolver Selection of linear solver library.

1: AMGCL

2: PETSC

3: FASP

4: VIENNACL

5: TRILINOS

6: AMGX

7: ROCALUTION

8: TOUGH series solver (not used in current version)

SolvingMethod Linear equation solving method.

GM: GMRES

BC: BiCGSTAB

PCM Preconditioning method.

JA: JACOBI

IL: ILU

CP: AMG-CPR (for AMGCL and FASP only)

AS: Additive Schwarz

DC: Domain Decomposition

AM: AMG

DR: CPR-DRS (For AMGCL only)

RITMAX (not used).

CLOSUR Convergence criterion for the iterations (1.e-12 ≤ CLOSUR ≤ 1. e-6; default is 1.e-6).

MaxNumIter Maximum number of iterations in solving linear equations.

Used in: All EOS modules

Example:

SOLVR

AMGCL, GM, CPR, ,1.0e-6, 200