Skip to content

Commit

Permalink
Polynomial Stepper Fix (#49)
Browse files Browse the repository at this point in the history
* Have general diffusion coefficient consisten with norm/diff

* Use correct sign on quadratic nonlinearity
  • Loading branch information
Ceyron authored Oct 22, 2024
1 parent 3a17946 commit ec4854d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exponax/stepper/generic/_polynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def __init__(
num_points: int,
dt: float,
*,
coefficients: tuple[float, ...] = (10.0, 0.0, 0.01),
polynomial_scales: tuple[float, ...] = (0.0, 0.0, 10.0),
coefficients: tuple[float, ...] = (10.0, 0.0, 1.0),
polynomial_scales: tuple[float, ...] = (0.0, 0.0, -10.0),
order=2,
dealiasing_fraction: float = 2 / 3,
num_circle_points: int = 16,
Expand Down

0 comments on commit ec4854d

Please sign in to comment.