Skip to content

Latest commit

 

History

History
61 lines (31 loc) · 3.93 KB

ERRATA.md

File metadata and controls

61 lines (31 loc) · 3.93 KB

Errata for "PETSc for PDEs"

Not everything in the book is correct, and so reader corrections and comments are much appreciated! Please submit corrections and issues through the Issues or pull requests tabs or by email to the author at [email protected]. The list of errata below shows corrections to the text of the published book, including a couple of notable ones labeled BAD ONE. Note that any corrections to the example programs (i.e. files in c/ and py/) will appear as commits in the current repo, and then in the releases, and generally not in this list.

  • Page 3: In the program e.c, a better way to handle an error code returned from PetscInitialize() is to get its output ierr and then add the check if (ierr) return ierr; The example programs now do this.

  • Page 15: In the footnote: "solver" --> "solvers".

  • Page 29: In the first complete sentence on the page, for clarity add "the action of" before M^{-1}.

  • Page 47 BAD ONE: In the fourth sentence of the text on this page, substitute "global" for "local".

  • Page 50: In the first sentence after Code 3.1, add "the" before "locally owned".

  • Page 89: In the first sentence after Table 4.3, replace "both" with "either".

  • Page 97: In the sentence defining the local truncation error, remove the first "O(h^1)".

  • Page 106: In the first complete sentence on the page, replace "when" with "if and only if".

  • Page 110: In the sentence starting "All of these", replace "latter two runs" with "first two runs".

  • Page 132 BAD ONE: In equations (6.6) and (6.7) replace u_k[i] with u_k[j] and u_{k+1}[i] with u_{k+1}[j].

  • Page 163: In Example 6.9, remove "if cy > 1" from "namely the x-direction if cy > 1"; the condition is clearly unnecessary.

  • Page 177: In the fifth line from the bottom, write "compare" instead of "compare with".

  • Page 181: Near the end of the first paragraph, replace "would require" with "requires".

  • Page 213-214: Sentences are out of order. Move the last two sentences at the bottom of page 213, which start "Consider also ..." and "The -ksp_view ...", to be the second and third sentences on page 214, i.e. just before "See Exercise 8.7."

  • Page 258: In the second complete sentence on the page, replace "and shows the" with "and the".

  • Page 259: In the first sentence replace "we need to" with "we propose to".

  • Page 264: In the first sentence of the second full paragraph, replace "Our solver" with "Our default solver".

  • Page 266: In the last sentence of the first full paragraph, replace "the example in Chapter 14" with "the examples in Chapters 13 and 14".

  • Page 271: In the last sentence on the page, replace "see Chapter 14 for" with "see Chapters 13 and 14 for".

  • Page 272: In item (i) replace "an" with "a".

  • Page 294: At the end of the first paragraph in the "Advection results" section, replace "but without a flux limiter" with "but with a smaller final time". In the very next sentence on the same page, remove "is" from "relatively is insensitive".

  • Page 296: In the second sentence on this page replace "limiter imposes" with "limiters impose".

  • Page 309: In Exercise 11.1 replace "from g" with "from g and a".

  • Page 315: In the second sentence of the third paragraph replace "on a 2D" with "on 2D".

  • Page 355: In the second sentence of the second paragraph replace "so assembling" with "assembling".

  • Page 357: In the third sentence of the third paragraph replace "for all q \in L^2" with "for all sufficiently smooth q \in L^2". (This paragraph should be treated as a sketch of why the inf-sup inequality (14.36) justifies the heuristic (14.35).)

  • Page 359: In the second to last sentence on the page replace "and is obligatory" with "while MINRES will not work".

  • Page 360: In the last sentence of the second bullet point replace "in [10]" with "in the language of [10]".