From 4eba9c2ff88af8ac19ca924f0688529386a53443 Mon Sep 17 00:00:00 2001 From: RequieMa <57754488+BillMaZengou@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:54:39 +0800 Subject: [PATCH] Fix doc in demo_poisson.py (#2984) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix 2 sentences in demo_poisson.py, one is the Dirichlet boundary, the other is a typo * Delete python/demo/.ipynb_checkpoints/demo_poisson-checkpoint.py Delete checkpoint file --------- Co-authored-by: Jørgen Schartum Dokken --- python/demo/demo_poisson.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/demo/demo_poisson.py b/python/demo/demo_poisson.py index 43ceff0441f..05bf13482a5 100644 --- a/python/demo/demo_poisson.py +++ b/python/demo/demo_poisson.py @@ -51,7 +51,7 @@ # In this demo we consider: # # - $\Omega = [0,2] \times [0,1]$ (a rectangle) -# - $\Gamma_{D} = \{(0, y) \cup (1, y) \subset \partial \Omega\}$ +# - $\Gamma_{D} = \{(0, y) \cup (2, y) \subset \partial \Omega\}$ # - $\Gamma_{N} = \{(x, 0) \cup (x, 1) \subset \partial \Omega\}$ # - $g = \sin(5x)$ # - $f = 10\exp(-((x - 0.5)^2 + (y - 0.5)^2) / 0.02)$ @@ -132,7 +132,7 @@ # A {py:class}`LinearProblem ` object is # created that brings together the variational problem, the Dirichlet # boundary condition, and which specifies the linear solver. In this -# case an LU solver us sued. The {py:func}`solve +# case an LU solver is used. The {py:func}`solve # ` computes the solution. # +