Skip to content

Commit

Permalink
Update poisson.1d.dirichletrobin.rst (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrt-ykym committed Sep 27, 2023
1 parent 8450b55 commit 3b08fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/demos/pinn_forward/poisson.1d.dirichletrobin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Then, the Dirichlet boundary condition is

.. code-block:: python
bc_l = dde.icbc.DirichletBC(geom, func, boundary_1)
bc_l = dde.icbc.DirichletBC(geom, func, boundary_l)
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

Expand Down

0 comments on commit 3b08fe3

Please sign in to comment.