MCPcopy Create free account
hub / github.com/ddemidov/amgcl

github.com/ddemidov/amgcl @1.4.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.4.9 ↗ · + Follow
2,158 symbols 4,865 edges 232 files 185 documented · 9% updated 33d ago1.4.9 · 2026-06-10★ 87059 open issues

Browse by type

Functions 1,513 Types & classes 645
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AMGCL

Documentation Status DOI Build Status Build status codecov Coverity Scan Build Status

AMGCL is a header-only C++ library for solving large sparse linear systems with algebraic multigrid (AMG) method. AMG is one of the most effective iterative methods for solution of equation systems arising, for example, from discretizing PDEs on unstructured grids. The method can be used as a black-box solver for various computational problems, since it does not require any information about the underlying geometry. AMG is often used not as a standalone solver but as a preconditioner within an iterative solver (e.g. Conjugate Gradients, BiCGStab, or GMRES).

AMGCL builds the AMG hierarchy on a CPU and then transfers it to one of the provided backends. This allows for transparent acceleration of the solution phase with help of OpenCL, CUDA, or OpenMP technologies. Users may provide their own backends which enables tight integration between AMGCL and the user code.

See AMGCL documentation at http://amgcl.readthedocs.io/

Referencing

Demidov, Denis. AMGCL: An efficient, flexible, and extensible algebraic multigrid implementation. Lobachevskii Journal of Mathematics, 40(5):535–546, May 2019. doi pdf bib

Demidov, Denis. AMGCL -- A C++ library for efficient solution of large sparse linear systems. Software Impacts, 6:100037, November 2020. doi bib

Demidov, Denis, Lin Mu, and Bin Wang. Accelerating linear solvers for Stokes problems with C++ metaprogramming. Journal of Computational Science (2020): 101285. doi arxiv bib

Support

  • GitHub issues page: https://github.com/ddemidov/amgcl/issues
  • Mailing list: https://groups.google.com/forum/#!forum/amgcl

Core symbols most depended-on inside this repo

Shape

Method 1,249
Class 635
Function 264
Enum 10

Languages

C++98%
Python2%

Modules by API surface

amgcl/backend/builtin.hpp83 symbols
amgcl/backend/hpx.hpp79 symbols
amgcl/backend/vexcl_static_matrix.hpp74 symbols
amgcl/backend/cuda.hpp74 symbols
amgcl/backend/hip.hpp71 symbols
amgcl/backend/viennacl.hpp60 symbols
amgcl/backend/vexcl.hpp52 symbols
amgcl/backend/interface.hpp50 symbols
amgcl/mpi/distributed_matrix.hpp47 symbols
examples/mpi/mba.hpp39 symbols
amgcl/backend/mkl.hpp38 symbols
amgcl/mpi/util.hpp37 symbols

For agents

$ claude mcp add amgcl \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page