Giter Site home page Giter Site logo

jax-pv's Introduction

jax-pv: Point Vortices in JAX

Authors: Andrew Cleary, Jacob Page

jax-pv is a fully differentable point vortex solver, for both unbounded and rotating disc-bounded domains, implemented in JAX.

For full details about the possibilities of using jax-pv, read our paper Exploring the free energy landscape of a rotating superfluid.

Getting Started

There are currently 3 demo scripts in this repository, each of which outlines how to use jax-pv to answer a different research question:

Organization

As well as the above demo scripts, jax-pv contains the following:

  • data: folder containing the relative equilibria we computed for various numbers of vortices.
  • arnoldi.py : Code to implement the arnoldi iteration in the Newton-GMRES-hookstep.
  • dneb.py : Code to implement the (Doubly) Nudged Elastic Band method.
  • hungarian.py : Code to implement the hungarian algorithm.
  • loss_functions.py : A script with useful loss functions to find relative equilibria and connections.
  • newton.py : Code to implement the Newton-GMRES-hookstep method to find relative equilibria.
  • stability.py : Code to compute the linear stability of relative equilibria.
  • utils.py : Generic, useful functions for manipulating systems of point vortices.
  • velocity_transforms.py : Code to convert from Cartesian to angular velocities.
  • VorticesMotion.py : Contains the Vortices class, the fully differentiable point vortex solver in the unbounded domain.
  • VorticesMotionDisc.py : Contains the VorticesDisc class, the fully differentiable point vortex solver in the rotating, disc-bounded domain.

Citation

If you use jax-pv, please cite:

jax-pv's People

Contributors

clearya1 avatar

Stargazers

 avatar

Watchers

 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.