Skip to content

Commit

Permalink
clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
kinnala committed Jul 24, 2024
1 parent 2f81a8c commit b73ed8c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/gettingstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ which is a simple wrapper to ``scipy`` sparse solver:
ax = draw(basis)
plot(basis, y, ax=ax, nrefs=2, colorbar=True, shading='gouraud')

:ref:`visualizing` has some guidelines for visualization
and various other examples can be found in :ref:`gallery`.

Step 8: Calculate error
=======================

Expand All @@ -198,3 +200,5 @@ by calculating the error in the :math:`L^2` norm:
... return (uh - u) ** 2
>>> str(round(error.assemble(Vh, uh=Vh.interpolate(x)), 9))
'1.069e-06'

:ref:`postprocessing` covers some ideas behind the use of :class:`~skfem.assembly.form.functional.Functional` wrapper.

0 comments on commit b73ed8c

Please sign in to comment.