Giter Site home page Giter Site logo

daveb-dev / tlm_adjoint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tlm-adjoint/tlm_adjoint

0.0 0.0 0.0 1.49 MB

A library for high-level algorithmic differentiation, principally for models written using FEniCS or Firedrake.

License: GNU Lesser General Public License v3.0

Python 100.00%

tlm_adjoint's Introduction

To use tlm_adjoint add the 'python' subdirectory to the Python search path. The
library is used via, e.g., the Python code

    FEniCS backend:

        from fenics import *
        from tlm_adjoint_fenics import *

    Firedrake backend:

        from firedrake import *
        from tlm_adjoint_firedrake import *

    NumPy backend:

        import numpy as np
        from tlm_adjoint_numpy import *

tlm_adjoint is currently targeting FEniCS 2019.1.0, and the Firedrake Git
master branch.

Together with the backend libraries, tlm_adjoint requires

    NumPy
    mpi4py and petsc4py (FEniCS or Firedrake backends)

tlm_adjoint optionally requires

    PyPNG, for generation of block Jacobian dependency structure images
    SciPy, for gradient-based optimization and interpolation equations
    h5py, with the 'mpio' driver for parallel calculations, for HDF5 storage
    slepc4py, for eigendecomposition functionality

License: GNU LGPL version 3

tlm_adjoint's People

Contributors

jrmaddison avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.