We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcb3700 commit 86a989dCopy full SHA for 86a989d
examples/steady-state.py
@@ -28,6 +28,8 @@ def f_model(u_model, x, y):
28
ksq = constant(1.0)
29
pi = constant(math.pi)
30
31
+ # we use this specific forcing term because we have an exact analytical solution for this case
32
+ # to compare the results of the PINN solution
33
# note that we must use tensorflow math primitives such as sin, cos, etc!
34
forcing = - (a1 * pi) ** 2 * sin(a1 * pi * x) * sin(a2 * pi * y) - \
35
(a2 * pi) ** 2 * sin(a1 * pi * x) * sin(a2 * pi * y) + \
0 commit comments