Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/.src/book/dotxt/overview.do.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
========= Quick overview of the finite element method =========
label{ch:overview}

FIGURE: [fig/dolfin_mesh.png, width=500 frac=0.8] Example on a complicated domain for solving PDEs. label{overview:meshex}
FIGURE: [fig/dolfin_mesh.png, width=500 frac=0.8] Example of a complicated domain for solving PDEs. label{overview:meshex}

The finite element method is a rich and versatile approach to construct
computational schemes to solve any partial differential equation on
Expand Down Expand Up @@ -279,7 +279,7 @@ solve(a == L, u, bc)
where `bc` holds information about boundary conditions. This information
is connected to information about the triangulation, the *mesh*.
Assuming $u=0$ on the boundary, we can in FEniCS generate a triangular
mesh over a rectangular domain $[-1,-1]\times [-1,1]$ as follows:
mesh over a rectangular domain $[-1,1]\times [-1,1]$ as follows:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be [-1,-1] \times [1,1]?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they're intervals.


!bc pycod
mesh = RectangleMesh(Point(-1, -1), Point(1, 1), 10, 10)
Expand Down