Skip to content

Commit 3b08fe3

Browse files
authored
Update poisson.1d.dirichletrobin.rst (#1499)
1 parent 8450b55 commit 3b08fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/demos/pinn_forward/poisson.1d.dirichletrobin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Then, the Dirichlet boundary condition is
7575

7676
.. code-block:: python
7777
78-
bc_l = dde.icbc.DirichletBC(geom, func, boundary_1)
78+
bc_l = dde.icbc.DirichletBC(geom, func, boundary_l)
7979
8080
For Robin boundary condition, rather than define a function to return the value of :math:`u(x)` on the boundary, we use a lambda function that maps ``x`` and ``y`` to ``y``, where x is the input and y is the output. Then Robin boundary condition is defined
8181

0 commit comments

Comments
 (0)