-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your result is correct. If the code can successfully run without error, then the setup should be correct. For Burgers, the input variable is two dimensional You can also try simples cases, such as |
Beta Was this translation helpful? Give feedback.
Your result is correct. If the code can successfully run without error, then the setup should be correct.
For Burgers, the input variable is two dimensional
(x, t)
, and the output isy
, so the function surface is 3D. But, by default, the code projects the 3D plot into a 2D figure by ignoret
. That is why the plot looks messy. The result is saved totest.dat
with the first columnx
, the second columnt
, the third columny_true
, and the fourth columny_pred
. You can plot the result in 3D to compare the exact solution and prediction.You can also try simples cases, such as
Poisson
in 1D.