Skip to content

Automatic differentiation in C++ with GPU support and applications to PDEs solved by ODIL

License

Notifications You must be signed in to change notification settings

pkarnakov/autodiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autodiff

Clone

git clone https://github.com/pkarnakov/autodiff.git

Requirements

  • C++17 compiler
  • CMake

Build

make

Interactive demos

These demos run interactively in the web browser through Emscripten. They solve problems for partial differential equations using ODIL.

Poisson Wave Heat Advection Advection2

To build them from source and run in a local web server do

make build_wasm
make serve

Applications

Dual

test_dual.cpp

build/test_dual

Reverse

test_reverse.cpp

build/test_reverse && make reverse_scal1.pdf

Poisson

poisson.cpp

make run_poisson
graph inferred reference

Poisson multigrid

graph inferred reference

Pages

https://pkarnakov.github.io/autodiff

About

Automatic differentiation in C++ with GPU support and applications to PDEs solved by ODIL

Resources

License

Stars

Watchers

Forks