22.09.2013 Views

Chapter 1 parallel sparse solver - freeFEM.org

Chapter 1 parallel sparse solver - freeFEM.org

Chapter 1 parallel sparse solver - freeFEM.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

22 CHAPTER 1. PARALLEL SPARSE SOLVER<br />

iparms[0]<br />

Solver identification:<br />

0: BiCGStab, 1: GMRES, 2: PCG. By default=1<br />

iparms[1]<br />

Preconditioner identification:<br />

0: BOOMER AMG, 1: PILUT, 2: Parasails, 3: Schwarz Default=0<br />

iparms[2] Maximum of iteration: Default=1000<br />

iparms[3] Krylov subspace dim: Default= 40<br />

iparms[4] Solver print info level: Default=2<br />

iparms[5] Solver log : Default=1<br />

iparms[6] Solver stopping criteria only for BiCGStab : Default=1<br />

dparms[0] Tolerance for convergence : De f ault = 1.0e − 11<br />

Table 1.13: Definitions of common entries of iparms and dparms vectors for every preconditionner<br />

in HYPRE<br />

iparms[7] AMG interpolation type: Default=6<br />

iparms[8]<br />

Specifies the use of GSMG - geometrically<br />

smooth coarsening and interpolation: Default=1<br />

iparms[9] AMG coarsen type: Default=6<br />

iparms[10]<br />

Defines whether local or global measures<br />

are used: Default=1<br />

iparms[11] AMG cycle type: Default=1<br />

iparms[12] AMG Smoother type: Default=1<br />

iparms[13] AMG number of levels for smoothers: Default=3<br />

iparms[14] AMG number of sweeps for smoothers: Default=2<br />

iparms[15] Maximum number of multigrid levels: Default=25<br />

Defines which variant of the Schwarz method is used:<br />

0: hybrid multiplicative Schwarz method (no overlap across processor boundaries)<br />

iparms[16]<br />

1: hybrid additive Schwarz method (no overlap across processor boundaries)<br />

2: additive Schwarz method<br />

3: hybrid multiplicative Schwarz method (with overlap across processor boundaries)<br />

Default=1<br />

iparms[17] Size of the system of PDEs: Default=1<br />

iparms[18] Overlap for the Schwarz method: Default=1<br />

Type of domain used for the Schwarz method<br />

iparms[19]<br />

0: each point is a domain<br />

1: each node is a domain (only of interest in “systems” AMG)<br />

2: each domain is generated by agglomeration (default)<br />

dparms[1] AMG strength threshold: Default=0.25<br />

dparms[2] Truncation factor for the interpolation: Default=1e-2<br />

dparms[3]<br />

Sets a parameter to modify the definition<br />

of strength for diagonal dominant portions of the matrix: Default=0.9<br />

dparms[3]<br />

Defines a smoothing parameter for the additive Schwarz method<br />

Default=1.<br />

Table 1.14: Definitions of other entries of iparms and dparms if preconditionner is BOOMER<br />

AMG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!