Closed wenscarl closed 9 months ago
Good morning, how did you solve the problem? I am in a similar situation. I saw that by imposing in plot_trainer_2D u_test[:,0] and excluding histograms you can get results. Did you follow a similar path or did you do it differently?
In particular, to add a second variablemto the case, you just modified the problem class and c = constant? Did you modify other parts of the code?
I am trying to modeling 1D maxwell equation: dH/dt - dE/dx = 0 ; dE/dt - dH/dx = source, The problem dim is set to (2,2) and I can implement this equation in pytorch but when comes to jax, I found the gradient of E, dE/dt, dE/dx are both empty([]) which results in nan in loss. Please help to identify the issue. Thanks @benmoseley