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

@@ -161,8 +161,8 @@
" self.nu = nu \n",
" \n",
" def equation(input_, output_):\n",
" return grad(output_, input_, d='x') +\\\n",
" output_*grad(output_, input_, d='t') -\\\n",
" return grad(output_, input_, d='t') +\\\n",
" output_*grad(output_, input_, d='x') -\\\n",
" self.nu*laplacian(output_, input_, d='x')\n",
"\n",
" \n",