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, reproducing my research in Anisotropic PDE discretizations and their applications.

The AGD library

The recommended ways to install are

conda install agd -c agd-lbr

alternatively (required for using the GPU eikonal solver)

pip install agd

The notebooks

You may visualize the notebooks online using nbviewer, or experimentally run and modify the notebooks online using GoogleColab. You may need to turn on GPU acceleration in GoogleColab (typical error: cannot import cupy) : Modify->Notebook parameters->GPU.

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

If you're not sure about the file name format, learn more about wheel file names.

agd-0.1.23-py3-none-any.whl (328.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agd-0.1.23-py3-none-any.whl
  • Upload date:
  • Size: 328.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

File hashes

Hashes for agd-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 4045c16443579bfdc0a83ed28ba880b92f2eff3f643589b300b3316a88a0c51e
MD5 aaf08bfcfa26c96b8055d35d1f38f5b4
BLAKE2b-256 187b95e30acf79826d4439d91b426fee474fb8df6f5ae7bb3da8b24fe73a6f65

See more details on using hashes here.

Supported by

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