IvanYashchuk / fecr

Easy interoperability with Automatic Differentiation libraries through NumPy interface to Firedrake and FEniCS
MIT License
14 stars 1 forks source link

Added AbstractBackend #4

Closed IvanYashchuk closed 3 years ago

IvanYashchuk commented 3 years ago

This PR adds AbstractBackend and rewrites existing Firedrake-specific functions under the subclass of AbstractBackend. This is an attempt to generalize the interface to support Firedrake and FEniCS simultaneously. FEniCS support will be added later based on https://github.com/IvanYashchuk/numpy-fenics-adjoint.