Preconditioned conjugate gradient (PCG)

Properties

  • symmetric matrices
  • run-time selectable preconditioner
  • good parallel scaling

Usage

solver          PCG;
preconditioner  <conditioner>;
relTol          <relative tolerance>;
tolerance       <tolerance>;

Details

Operation

Computation cost

Start-up:

  • 1 matrix-vector multiply
  • 1 parallel reduction

Per iteration

  • 1 matrix-vector multiply
  • 3 parallel reductions
  • + preconditioner - applied 1x

Further information

Source code


Would you like to suggest an improvement to this page? Create an issue

Copyright © 2016-2017 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License