Skip to content

Commit ee9e4c6

Browse files
authored
Fix typo in poisson 1D neumann+dirichlet demo (#470)
1 parent 50b04a6 commit ee9e4c6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ __pycache__/
66
docs/_build/
77

88
# Jupyter notebook
9-
.ipynb_checkpoints
9+
.ipynb_checkpoints
10+
11+
# VSCode
12+
.vscode/

docs/demos/poisson.1d.neumanndirichlet.rst

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

8282
.. code-block:: python
8383
84-
bc_l = dde.DirichletBC(geom, func, boundary_1)
84+
bc_l = dde.DirichletBC(geom, func, boundary_l)
8585
8686
For Neumann boundary condition, rather than define a function to return the value of :math:`u(x)` on the boundary, we use a lambda function and the Neumann boundary condition is defined
8787

0 commit comments

Comments
 (0)