Skip to main content

Adaptive Grid Discretizations

Project description

Adaptive Grid Discretizations using Lattice Basis Reduction (AGD-LBR)

A set of tools for discretizing anisotropic PDEs on cartesian grids

This repository contains

  • the agd library (Adaptive Grid Discretizations), written in Python® and cuda®
  • a series of jupyter notebooks in the Python® language (online static and interactive view), reproducing my research in Anisotropic PDE discretizations and their applications.
  • a basic documentation, generated with pdoc.

The AGD library

The recommended way to install is

pip install agd

Deprecated conda package (this version does not include the GPU codes, and is not maintained)

conda install agd -c agd-lbr

Reboot of the git history (february 8th 2024)

The whole notebooks, including images and videos, were previously saved in the git history, which as a result had grown to approx 750MB. After some unsuccessful attempts with BFG, I eventually had to delete and recreate the repository.

The notebooks

You may :

The notebooks are intended as documentation and testing for the adg library. They encompass:

  • Anisotropic fast marching methods, for shortest path computation.
  • Non-divergence form PDEs, including non-linear PDEs such as Monge-Ampere.
  • Divergence form anisotropic PDEs, often encountered in image processing.
  • Algorithmic tools, related with lattice basis reduction methods, and automatic differentiation.

For offline consultation, please download and install anaconda or miniconda.
Optionally, you may create a dedicated conda environnement by typing the following in a terminal:

conda env create --file agd-hfm.yaml
conda activate agd-hfm

In order to open the book summary, type in a terminal:

jupyter notebook Summary.ipynb

Then use the hyperlinks to navigate within the notebooks.

Matlab users

Recent versions of Matlab are able to call the Python interpreter, and thus to use the agd library. See Notebooks_FMM/Matlab for examples featuring the CPU and GPU eikonal solvers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

agd-0.2.15-py3-none-any.whl (802.3 kB view details)

Uploaded Python 3

File details

Details for the file agd-0.2.15-py3-none-any.whl.

File metadata

  • Download URL: agd-0.2.15-py3-none-any.whl
  • Upload date:
  • Size: 802.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for agd-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a925e7f71ca8fa76789d5618f71597462a9022a43a05f41a530803912023326b
MD5 0d87d72230c4c7006cedfe53f58fd827
BLAKE2b-256 5511fc74dbeb3d90a41a451d41eee583e342bccfe20d9d2375cd8414663a86c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page