Correct derivatives in Burgers equation (#389)

* Correct derivatives in Burgers equation
This commit is contained in:
HGangloff
2024-12-09 13:13:07 +01:00
committed by GitHub
parent 5e36d1b618
commit 59c9a173b4
3 changed files with 5 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ class Burgers1DEquation(Equation):
self.nu = nu
def equation(input_, output_):
return grad(output_, input_, d='x') + output_*grad(output_, input_, d='t') - self.nu*laplacian(output_, input_, d='x')
return grad(output_, input_, d='t') + output_*grad(output_, input_, d='x') - self.nu*laplacian(output_, input_, d='x')
super().__init__(equation)