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

Proper Release alongside paper #59

Merged
merged 53 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
4d3fd09
Also run pre-commit on dev
Ceyron Sep 2, 2024
1d7cbe6
Update docs requirements
Ceyron Sep 2, 2024
c56a3fa
Remove old requirements
Ceyron Sep 2, 2024
1b69171
Remove no longer needed setup.py
Ceyron Sep 2, 2024
e8f1ef1
No longer target incompatible Python versions
Ceyron Sep 2, 2024
b253ea6
Add credits and improve settings
Ceyron Sep 2, 2024
545fd3f
Wrap FFT for specific array structures in Exponax (#4)
Ceyron Sep 2, 2024
9ea7788
Stepper restructure (#21)
Ceyron Sep 2, 2024
bea4079
Consistent docs (#26)
Ceyron Sep 3, 2024
3cf1399
Use correct tuple typing (#27)
Ceyron Sep 3, 2024
96a1116
Add type hints (#28)
Ceyron Sep 3, 2024
1d52578
Fourier repeated stepper (#29)
Ceyron Sep 4, 2024
8d0be0c
Add CI for running a test on PRs
Ceyron Sep 4, 2024
f648362
Fix repeated Python versions
Ceyron Sep 4, 2024
12000cd
Fourier Interpolation and Up/Downsampling (#33)
Ceyron Sep 4, 2024
b39de41
Add PyTest dependency
Ceyron Sep 5, 2024
2ae6cf3
Fix tests to use tuples
Ceyron Sep 5, 2024
0ce50fe
Loosen requirements on (decaying) Burgers problem
Ceyron Sep 5, 2024
50a89c8
Add requirement on 3d volume renderer
Ceyron Sep 5, 2024
0e5934d
Use quotes to correctly get 3.10
Ceyron Sep 5, 2024
1b2f310
Ignore test requiring GPU
Ceyron Sep 5, 2024
7ade794
Remove vape dependency because we no longer test for it
Ceyron Sep 5, 2024
379e794
Spectral updates (#35)
Ceyron Sep 5, 2024
2afead4
Hyperviscous kdv [BREAKING] (#36)
Ceyron Sep 5, 2024
eb00d38
Remove unnecessary copy
Ceyron Sep 6, 2024
a7817b2
Requires new coefficients to work with changed defaults in KdV
Ceyron Sep 6, 2024
2222786
Fourier Coefficient Extractor (#38)
Ceyron Sep 6, 2024
034b4c5
Quicker spectrum in 1D
Ceyron Sep 12, 2024
a17af96
More validation (#39)
Ceyron Sep 12, 2024
86a2c97
Improved Metrics System (#40)
Ceyron Sep 23, 2024
af2b344
Add temporal convergence notebook (#41)
Ceyron Sep 23, 2024
beea37e
Add warning for KS conservative in higher dimensions
Ceyron Sep 23, 2024
52a191d
Symmetric Metrics & Metrics improvements (#44)
Ceyron Oct 14, 2024
47107ee
Add non-conservative convection term (#46)
qiauil Oct 22, 2024
e483557
Fix non-forwarded conservative flag
Ceyron Oct 22, 2024
3a17946
Small Improvements to Gaussian Random Field (#48)
Ceyron Oct 22, 2024
ec4854d
Polynomial Stepper Fix (#49)
Ceyron Oct 22, 2024
ad869e4
Conservative KS should use conservative convection (#50)
Ceyron Oct 22, 2024
ac70930
Consistent Generic Steppers (#52)
Ceyron Oct 22, 2024
e761498
Ensure single-channel convection nonlin is conservative (#53)
Ceyron Oct 22, 2024
7f21cd0
Rework KS Attributes (#54)
Ceyron Oct 22, 2024
3d1a9a1
Fix missing factor of 0.5
Ceyron Oct 22, 2024
5af02e8
Rework 1D example notebook
Ceyron Oct 22, 2024
7b478f0
Docs tweak (#55)
Ceyron Oct 22, 2024
55ed64b
Re-Execute IC notebook
Ceyron Oct 22, 2024
1858544
Merge branch 'dev' of github.com:Ceyron/exponax into dev
Ceyron Oct 22, 2024
addc766
Rerun general and normalized notebookt
Ceyron Oct 22, 2024
9ee7431
Rerun subclassing example
Ceyron Oct 22, 2024
a34f4ba
Rerun showcase 2D
Ceyron Oct 22, 2024
17033b5
Add solver overview in 3D
Ceyron Oct 22, 2024
fd4851a
Add 3D Solver overview to docs
Ceyron Oct 22, 2024
6f362f9
Automatically deduce version number
Ceyron Oct 23, 2024
3441bc4
Merge branch 'main' into dev
Ceyron Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pre_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- dev

jobs:
pre-commit:
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run tests

on:
pull_request:

jobs:
run-test:
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
os: [ ubuntu-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./tests/requirements.txt

- name: Checks with pre-commit
uses: pre-commit/[email protected]

- name: Test with pytest
run: |
python -m pip install .
python -m pytest tests/
160 changes: 0 additions & 160 deletions .gitignore copy

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convection

::: exponax.normalized.DifficultyConvectionStepper
::: exponax.stepper.generic.DifficultyConvectionStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gradient Norm

::: exponax.normalized.DifficultyGradientNormStepper
::: exponax.stepper.generic.DifficultyGradientNormStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Linear

::: exponax.normalized.DifficultyLinearStepper
::: exponax.stepper.generic.DifficultyLinearStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nonlinear

::: exponax.normalized.DifficultyGeneralNonlinearStepper
::: exponax.stepper.generic.DifficultyNonlinearStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Polynomial

::: exponax.normalized.DifficultyPolynomialStepper
::: exponax.stepper.generic.DifficultyPolynomialStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convection

::: exponax.normalized.NormalizedConvectionStepper
::: exponax.stepper.generic.NormalizedConvectionStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gradient NormA

::: exponax.normalized.NormalizedGradientNormStepper
::: exponax.stepper.generic.NormalizedGradientNormStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

::: exponax.normalized.NormalizedLinearStepper
::: exponax.stepper.generic.NormalizedLinearStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nonlinear

::: exponax.normalized.NormalizedGeneralNonlinearStepper
::: exponax.stepper.generic.NormalizedNonlinearStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Polynomial

::: exponax.normalized.NormalizedPolynomialStepper
::: exponax.stepper.generic.NormalizedPolynomialStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General Convection Stepper

::: exponax.stepper.GeneralConvectionStepper
::: exponax.stepper.generic.GeneralConvectionStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General Gradient Norm Stepper

::: exponax.stepper.GeneralGradientNormStepper
::: exponax.stepper.generic.GeneralGradientNormStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General Linear Stepper

::: exponax.stepper.GeneralLinearStepper
::: exponax.stepper.generic.GeneralLinearStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General Nonlinear Stepper

::: exponax.stepper.GeneralNonlinearStepper
::: exponax.stepper.generic.GeneralNonlinearStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General Polynomial Stepper

::: exponax.stepper.GeneralPolynomialStepper
::: exponax.stepper.generic.GeneralPolynomialStepper
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General Vorticity Convection Stepper

::: exponax.stepper.GeneralVorticityConvectionStepper
::: exponax.stepper.generic.GeneralVorticityConvectionStepper
options:
members:
- __init__
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions docs/api/stepper/normalized/vorticity_convection.md

This file was deleted.

23 changes: 23 additions & 0 deletions docs/api/stepper/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Overview

`Exponax` comes with many pre-built dynamics. They are all based on the idea of
solving semi-linear PDEs

$$
\partial_t u = \mathcal{L} u + \mathcal{N}(u)
$$

where $\mathcal{L}$ is a linear operator and $\mathcal{N}$ is a non-linear
differential operator.

TODO: add classification of dynamics based on:

- linear or nonlinear or reaction-diffusion
- specific (i.e. concrete equations like advection, Burgers etc.) or generic
based on providing a collection of linear and nonlinear coefficients
- if generic: whether it uses a physical, normalized or difficulty-based
interface
- in higher dimensions: whether it behaves isotropic or anisotropic (with
different coefficients per direction)

Then the resulting behavior can also be classified into ...
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Allen-Cahn

::: exponax.reaction.AllenCahn
::: exponax.stepper.reaction.AllenCahn
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cahn-Hilliad

::: exponax.reaction.CahnHilliard
::: exponax.stepper.reaction.CahnHilliard
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fisher-KPP

::: exponax.reaction.FisherKPP
::: exponax.stepper.reaction.FisherKPP
options:
members:
- __init__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gray-Scott

::: exponax.reaction.GrayScott
::: exponax.stepper.reaction.GrayScott
options:
members:
- __init__
Expand Down
Loading
Loading