-
Committer:
Anders Logg
-
Date:
2008-03-19 20:36:02 UTC
-
Revision ID:
logg@simula.no-20080319203602-rwextpc97j2a8uor
Add simple computation of norms of functions in Python.
Example usage includes:
norm(v, mesh)
norm(u0 - u1, mesh)
norm(v, mesh, 'Hdiv')
If the type is not specified, the standard L_2 norm is
computed. Possible norm types include:
L_2: norm(v, mesh, 'L2')
H^1: norm(v, mesh, 'H1')
H^1_0: norm(v, mesh, 'H10')
H(div): norm(v, mesh, 'Hdiv')
H(curl): norm(v, mesh, 'Hcurl')