Skip to content

IvanYashchuk/PyFenicsAD.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFenicsAD.jl · Build FEniCS codecov

Automatic differentiation of FEniCS or Firedrake models in Julia

Installation

First find out the path to python that has FEniCS or Firedrake installed. Install FiniteElementChainRules (FECR) package that provides NumPy interface to FEniCS and Firedrake together with pushforwards and pullbacks

python -m pip install git+https://github.com/IvanYashchuk/fecr.git@master

Then in Julia run

ENV["PYTHON"] = "path/to/fenics_or_firedrake/python"
import Pkg
Pkg.build("PyCall")
] add https://github.com/IvanYashchuk/PyFenicsAD.jl

About

Automatic differentiation of FEniCS and Firedrake models in Julia

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages