An open API service indexing awesome lists of open source software.

https://github.com/alisiahkoohi/groundwater

Groundwater flow equation: Finite-difference forward, adjoint, and gradient operators with PyTorch wrapper
https://github.com/alisiahkoohi/groundwater

automatic-differentiation darcy-flow finite-difference groundwater-flow inverse-problems pytorch

Last synced: about 1 year ago
JSON representation

Groundwater flow equation: Finite-difference forward, adjoint, and gradient operators with PyTorch wrapper

Awesome Lists containing this project

README

          

Groundwater flow equation: Finite-difference forward, adjoint, and gradient operators with PyTorch wrapper

This repository contains the code for implementing the finite-difference
forward, adjoint, and gradient operators for the groundwater flow equation.
The operators are implemented via
[Devito](https://github.com/devitocodes/devito), a finite-difference
domain-specific language for solving partial differential equations that
generates optimized C code depending on the target architecture.

## Installation

Clone the repository and install the package in editable mode.
```bash
# Create a new conda environment (optional).
conda create --name groundwater python
conda activate groundwater

# Clone the repository and install the package in your Python environment.
git clone ttps://github.com/alisiahkoohi/groundwater
cd groundwater/
pip install -e .
```

Visit the [Devito installation
guide](https://www.devitoproject.org/download.html) for more information
on setting up the environment variables to fully utilize the
parallelization capabilities of Devito.

## Questions

Please contact [alisk@rice.edu](mailto:alisk@rice.edu) for questions.

## Authors

Ali Siahkoohi and Mathias Louboutin