Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial: 3 APIs for PDEs #38

Open
jejjohnson opened this issue Jul 27, 2023 · 0 comments
Open

Tutorial: 3 APIs for PDEs #38

jejjohnson opened this issue Jul 27, 2023 · 0 comments

Comments

@jejjohnson
Copy link
Owner

jejjohnson commented Jul 27, 2023

This tutorial showcases how granular/explicit one can be when defining a PDE. It will start with writing everything from scratch with loops and little by little start automating things here and there. It's a great exercise to teach people different levels of abstraction that are appropriate for different use cases.

  • Scratch - Loops w/ Numba
  • Functional
    • Spatial Discretisation - Slicing w/ FiniteDiffX
    • TimeStepper - Scan w/ JAX
  • Automated w/ Kernex
    • Spatial Discretisation w/ kmap
    • TimeStepping w/ kscan
  • Explicit
    • Spatial Discretisation w/ finitediffX
    • Time Stepping w/ diffrax
  • Implicit
    • Discretisation w/ jaxdf-like
    • TimeStepping w/ jaxdf-like

I - Prebuilt Models

For just diving right in and using it!


II - Operator API

A medium level of granularity.


III - Functional API

The finest level of granularity available.

@jejjohnson jejjohnson mentioned this issue Jul 27, 2023
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant