ucl-bug / jaxdf

A JAX-based research framework for writing differentiable numerical simulators with arbitrary discretizations
GNU Lesser General Public License v3.0
117 stars 7 forks source link

Wrong results on the paper example #115

Closed astanziola closed 1 year ago

astanziola commented 1 year ago

Describe the bug Running the paper example, on the latest version of jax 0.4.9, generates some high-frequency oscillations in the field that were not present before.

To Reproduce Steps to reproduce the behavior:

  1. run the example_1_paper notebook
  2. Plot the solution field for the helmholtz equation

Expected behavior The new oscillations simply should not be there.

astanziola commented 1 year ago

It seems to happen in all Helmholtz solvers now.