-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move reaction into stepper * Adapt imports in tests * Move linear timesteppers into separete files * Move generic physical stepper into submodule * Rename to nonlinear * Correctly export in submodule * Move utilities * Export generic utilities * Fully translate linear generic stepper * Fully translate convection stepper * Fully translate generic nonlinear stepper * Fully translate generic Gradient norm stepper * Correctly forward dealiasing fraction * No need to set dealiasing fraction * Fully translate generic polynomial stepper * Don't translate vorticity convection * Remove normalized submodule * Remove no longer relevant exports * Export generic stepper * Fix issues with dealiasing_fraction arguments * Adapt tests * Remove commented sections * Adapt cross-references * New docs layout to better reflect the API * Add a boilerplate for the overview
- Loading branch information
Showing
66 changed files
with
1,452 additions
and
1,618 deletions.
There are no files selected for viewing
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/difficulty/convection.md → ...neric/difficulty/difficulty_convection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/difficulty/gradient_norm.md → ...ic/difficulty/difficulty_gradient_norm.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/difficulty/linear.md → ...r/generic/difficulty/difficulty_linear.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/difficulty/nonlinear.md → ...eneric/difficulty/difficulty_nonlinear.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/difficulty/polynomial.md → ...neric/difficulty/difficulty_polynomial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/normalized/convection.md → ...neric/normalized/normalized_convection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/normalized/gradient_norm.md → ...ic/normalized/normalized_gradient_norm.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/normalized/linear.md → ...r/generic/normalized/normalized_linear.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/normalized/nonlinear.md → ...eneric/normalized/normalized_nonlinear.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/stepper/normalized/polynomial.md → ...neric/normalized/normalized_polynomial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...er/physical/general/general_convection.md → ...er/generic/physical/general_convection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...physical/general/general_gradient_norm.md → ...generic/physical/general_gradient_norm.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tepper/physical/general/general_linear.md → ...tepper/generic/physical/general_linear.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...per/physical/general/general_nonlinear.md → ...per/generic/physical/general_nonlinear.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...er/physical/general/general_polynomial.md → ...er/generic/physical/general_polynomial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...l/general/general_vorticity_convection.md → .../physical/general_vorticity_convection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ... |
2 changes: 1 addition & 1 deletion
2
...physical/reaction_diffusion/allen_cahn.md → docs/api/stepper/reaction/allen_cahn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__ | ||
|
2 changes: 1 addition & 1 deletion
2
...sical/reaction_diffusion/cahn_hilliard.md → docs/api/stepper/reaction/cahn_hilliard.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...physical/reaction_diffusion/fisher_kpp.md → docs/api/stepper/reaction/fisher_kpp.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__ | ||
|
2 changes: 1 addition & 1 deletion
2
...physical/reaction_diffusion/gray_scott.md → docs/api/stepper/reaction/gray_scott.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__ | ||
|
2 changes: 1 addition & 1 deletion
2
...cal/reaction_diffusion/swift_hohenberg.md → docs/api/stepper/reaction/swift_hohenberg.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
# Conversion Utilties for Normalized and Difficulty Steppers | ||
|
||
:::exponax.normalized.normalize_coefficients | ||
:::exponax.stepper.generic.normalize_coefficients | ||
|
||
--- | ||
|
||
:::exponax.normalized.denormalize_coefficients | ||
:::exponax.stepper.generic.denormalize_coefficients | ||
|
||
--- | ||
|
||
:::exponax.normalized.normalize_convection_scale | ||
:::exponax.stepper.generic.normalize_convection_scale | ||
|
||
--- | ||
|
||
:::exponax.normalized.denormalize_convection_scale | ||
:::exponax.stepper.generic.denormalize_convection_scale | ||
|
||
--- | ||
|
||
:::exponax.normalized.normalize_gradient_norm_scale | ||
:::exponax.stepper.generic.normalize_gradient_norm_scale | ||
|
||
--- | ||
|
||
:::exponax.normalized.denormalize_gradient_norm_scale | ||
:::exponax.stepper.generic.denormalize_gradient_norm_scale | ||
|
||
--- | ||
|
||
:::exponax.normalized.normalize_polynomial_scales | ||
:::exponax.stepper.generic.normalize_polynomial_scales | ||
|
||
--- | ||
|
||
:::exponax.normalized.denormalize_polynomial_scales | ||
:::exponax.stepper.generic.denormalize_polynomial_scales | ||
|
||
--- | ||
|
||
:::exponax.normalized.reduce_normalized_coefficients_to_difficulty | ||
:::exponax.stepper.generic.reduce_normalized_coefficients_to_difficulty | ||
|
||
--- | ||
|
||
:::exponax.normalized.extract_normalized_coefficients_from_difficulty | ||
:::exponax.stepper.generic.extract_normalized_coefficients_from_difficulty | ||
|
||
--- | ||
|
||
:::exponax.normalized.reduce_normalized_convection_scale_to_difficulty | ||
:::exponax.stepper.generic.reduce_normalized_convection_scale_to_difficulty | ||
|
||
--- | ||
|
||
:::exponax.normalized.extract_normalized_convection_scale_from_difficulty | ||
:::exponax.stepper.generic.extract_normalized_convection_scale_from_difficulty | ||
|
||
--- | ||
|
||
:::exponax.normalized.reduce_normalized_gradient_norm_scale_to_difficulty | ||
:::exponax.stepper.generic.reduce_normalized_gradient_norm_scale_to_difficulty | ||
|
||
--- | ||
|
||
:::exponax.normalized.extract_normalized_gradient_norm_scale_from_difficulty | ||
:::exponax.stepper.generic.extract_normalized_gradient_norm_scale_from_difficulty | ||
|
||
<!-- --- | ||
:::exponax.normalized.reduce_normalized_nonlinear_scales_to_difficulty | ||
:::exponax.stepper.generic.reduce_normalized_nonlinear_scales_to_difficulty | ||
--- | ||
:::exponax.normalized.extract_normalized_nonlinear_scales_from_difficulty --> | ||
:::exponax.stepper.generic.extract_normalized_nonlinear_scales_from_difficulty --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.