pymor.bindings.pyamg

Module Contents

Functions

solver_options

Returns available solvers with default solver_options for the PyAMG backend.

pymor.bindings.pyamg.solver_options(tol=1e-05, maxiter=400, verb=False, rs_strength=('classical', {'theta': 0.25}), rs_CF='RS', rs_presmoother=('gauss_seidel', {'sweep': 'symmetric'}), rs_postsmoother=('gauss_seidel', {'sweep': 'symmetric'}), rs_max_levels=10, rs_max_coarse=500, rs_coarse_solver='pinv2', rs_cycle='V', rs_accel=None, rs_tol=1e-05, rs_maxiter=100, sa_symmetry='hermitian', sa_strength='symmetric', sa_aggregate='standard', sa_smooth=('jacobi', {'omega': 4.0 / 3.0}), sa_presmoother=('block_gauss_seidel', {'sweep': 'symmetric'}), sa_postsmoother=('block_gauss_seidel', {'sweep': 'symmetric'}), sa_improve_candidates=(('block_gauss_seidel', {'sweep': 'symmetric', 'iterations': 4}), None), sa_max_levels=10, sa_max_coarse=500, sa_diagonal_dominance=False, sa_coarse_solver='pinv2', sa_cycle='V', sa_accel=None, sa_tol=1e-05, sa_maxiter=100)[source]

Returns available solvers with default solver_options for the PyAMG backend.

Parameters

tol

Tolerance for PyAMG blackbox solver.

maxiter

Maximum iterations for PyAMG blackbox solver.

verb

Verbosity flag for PyAMG blackbox solver.

rs_strength

Parameter for PyAMG Ruge-Stuben solver.

rs_CF

Parameter for PyAMG Ruge-Stuben solver.

rs_presmoother

Parameter for PyAMG Ruge-Stuben solver.

rs_postsmoother

Parameter for PyAMG Ruge-Stuben solver.

rs_max_levels

Parameter for PyAMG Ruge-Stuben solver.

rs_max_coarse

Parameter for PyAMG Ruge-Stuben solver.

rs_coarse_solver

Parameter for PyAMG Ruge-Stuben solver.

rs_cycle

Parameter for PyAMG Ruge-Stuben solver.

rs_accel

Parameter for PyAMG Ruge-Stuben solver.

rs_tol

Parameter for PyAMG Ruge-Stuben solver.

rs_maxiter

Parameter for PyAMG Ruge-Stuben solver.

sa_symmetry

Parameter for PyAMG Smoothed-Aggregation solver.

sa_strength

Parameter for PyAMG Smoothed-Aggregation solver.

sa_aggregate

Parameter for PyAMG Smoothed-Aggregation solver.

sa_smooth

Parameter for PyAMG Smoothed-Aggregation solver.

sa_presmoother

Parameter for PyAMG Smoothed-Aggregation solver.

sa_postsmoother

Parameter for PyAMG Smoothed-Aggregation solver.

sa_improve_candidates

Parameter for PyAMG Smoothed-Aggregation solver.

sa_max_levels

Parameter for PyAMG Smoothed-Aggregation solver.

sa_max_coarse

Parameter for PyAMG Smoothed-Aggregation solver.

sa_diagonal_dominance

Parameter for PyAMG Smoothed-Aggregation solver.

sa_coarse_solver

Parameter for PyAMG Smoothed-Aggregation solver.

sa_cycle

Parameter for PyAMG Smoothed-Aggregation solver.

sa_accel

Parameter for PyAMG Smoothed-Aggregation solver.

sa_tol

Parameter for PyAMG Smoothed-Aggregation solver.

sa_maxiter

Parameter for PyAMG Smoothed-Aggregation solver.

Returns

A dict of available solvers with default solver_options.