← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add simple computation of norms of functions in Python.

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   3747:1fdad5b4d095e34a30afef68d3971773f9c0f2e0
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Wed Mar 19 21:36:02 2008 +0100
files:       ChangeLog site-packages/dolfin/__init__.py site-packages/dolfin/norm.py
description:
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')


changeset:   3746:68edc3d97200a9447f9124ffa49b96e1e1ad890c
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Wed Mar 19 19:12:45 2008 +0100
files:       AUTHORS dolfin/la/uBlasVector.cpp dolfin/la/uBlasVector.h
description:
Make uBlasVector::inner const


changeset:   3745:f39fe3f723e380b281edc3a8b52d05e0e8086f3f
user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
date:        Wed Mar 19 15:00:27 2008 +0100
files:       dolfin/la/dolfin_la.h dolfin/la/uBlasVector.cpp dolfin/la/uBlasVector.h dolfin/swig/dolfin_headers.h
description:
added inner product to uBlas vector
made uBlasPreconditioner accessible in Python

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin