Skip to content

cg

Module: core

Category: linearsolver

Type string: "cg"

Parameters

Name Description Default Units
print_level print_level 0 []
tol tol 1e-05 []
max_iter max_iter 0 []
fail_max_iters fail_max_iters true []
pc_left []

Description

This iterative linear solver, from the MKL library, implements the Conjugate Gradient algorithm, which is an efficient Krylov-based iterative solution strategy for symmetric systems. It requires several configuration parameters, listed above, and only works with symmetric matrices. In the table below, N refers to the number of equations.