1 / 26

Algebraic Multigrid AMG

Algebraic Multigrid AMG. Steve McCormick, Tom Manteuffel, John Ruge +++ Applied Math Department University of Colorado @ Boulder January, 2002. +++ Center for Applied Scientific Computing Lawrence Livermore National Laboratory. Outline Alphabet Soup. AMG Classical AMG

imala
Download Presentation

Algebraic Multigrid AMG

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Algebraic Multigrid AMG Steve McCormick, Tom Manteuffel, John Ruge+++Applied Math DepartmentUniversity of Colorado @ BoulderJanuary, 2002 +++Center for Applied Scientific ComputingLawrence Livermore National Laboratory

  2. OutlineAlphabet Soup • AMG Classical AMG • AMGe Element Interpolation AMG • AMGe Element-Free AMGe • SA Smoothed Aggregation • aAMG Algebraic Relaxation AMG • cAMG Compatible Relaxation AMG • AMGe Spectral AMGe • AMGe Adaptive AMG /

  3. smoothing The Multigrid V-cycle prolongation (interpolation) Finest Grid restriction Note: smaller grid First Coarse Grid Multigrid for discretized PDEsLhuh = bh MG scalability comes from using a family of grids. Each grid efficiently computes features at its own scale. Key: “good” transfer of residual equation Lheh = rhfh- Lhuh to “good” coarse grid

  4. AMG Framework DYNA3D error damped quickly by pointwise relaxation Fixed! Choose coarse grids, transfer operators, etc. to eliminate Algebraic multigrid for unstructured gridsAx = b • Standard AMG only uses matrix info • AMG automatically coarsens “grids” algebraically smooth error Accurate characterization of smooth error is crucial

  5. Classical AMG

  6. Capturing Smooth Error by Interpolation • M-Matrices: Poisson on unstructured grid. • Choose interpolation to capture ‘smooth’ error: e = Pe2h. • But what characterizes smoothness? • ‘Small’ residual: Ae 0. • M-matrices: Smooth error varies slowly along ‘strong coupling’: |aij |≥  aii.

  7. Coarsening (Coarse-Grid Correction) Ax = b Ae = b -Axxexact = x + e APe2h = b -Axsmooth e  e = Pe2h (PTAP)e2h = PT(b -Ax) applying PT to both sides A2he2h = b2h redefining terms x  x + Pe2h correcting fine grid

  8. Sets: • Strongly connected -pts. • Strongly connected -pts. • Weakly connected points. Prolongation based on smooth error & variable interdependence (weighted graph) C F F i Ae≈ 0 C C F Strong C Strong F Weak pts.

  9. AMGe

  10. Good local characterization of smooth error is key to robust AMG • AMG uses heuristics based on M-matrices: smooth error varies slowest in the direction of “large” coefficients. • AMGe heuristics based on multigrid theory:interpolation must reproduce a mode with error proportional to the associated eigenvalue. Stretched quad example ( ): Direction of strength not apparent. Worse for systems.

  11. AMGe coarsening uses elements to localize & approximate modes with error  Use local measure to construct AMGe components:

  12. Computing interpolation in practice • Partition local matrix by F & C-pts: • Interpolation to point i is defined by • Perfect interpolation of the local problem.

  13. Agglomerations for triangular elements, both structured & unstructured

  14. Element-Free AMGe

  15. The Assumptions: smooth error from low energy modes of local Ai; no elements! • We construct the prolongation operator on the basis of the modified local matrix • Then the ith row of the prolongation matrix P is taken as the ith row of the matrix.

  16. Smoothed Aggregation

  17. Uses simple interpolation & smoothing • Choose simple interpolation (e.g., piecewise constant) based on element agglomerates. • Smooth: relax a couple of times on the simple basis elements.

  18. Algebraic Relaxation AMG

  19. Algebraically determine relaxation blocks • Use strong connections to determine blocks. • Relax on block perhaps using AMG (nested).

  20. Compatible Relaxation (CR)

  21. How good are the C points? • Global martix partition: • Relax on Aff xf = 0. • If CR is slow to converge, either increase the coarse-grid size or do more relaxation. • Can be generalized (Brandt).

  22. Spectral AMGe

  23. AMGe: Take eigenvectors as the basis! • As with AMGe, use elements to localize the problem of determining & matching smooth error. • Coarse dofs are no longer subsets of fine dofs: coefficients of local eigenvectors become the dofs. • Currently expensive, but potentially very robust.

  24. Adaptive AMGe

  25. Adaptive or Bootstrap or Calibration or Prerelaxation or Feedback or … AMG • Test your AMG on a problem whose solution you know: Ax =0. • If it works after a few cycles, stop. • Else, x is a good bad guy: it’s an algebraically smooth error in the sense that AMG cannot quickly reduce it. • Now adjust the coarse grid (primarily interpolation) so that it matches x well. The trick is to do this locally & to continue it on coarser levels. • Our early 80’s scheme recovered fast convergence for mis-scaled scalar problems. Now working on systems.

  26. Alphabet Soup • AMG Classical AMG • AMGe Element Interpolation AMG • AMGe Element-Free AMGe • SA Smoothed Aggregation • aAMG Algebraic Relaxation AMG • cAMG Compatible Relaxation AMG • AMGe Spectral AMGe • AMGe Adaptive AMG /

More Related