← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add dim() function to FunctionSpace, which returns the dimension of the

 

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

changeset:   5283:b1acc47a610ee5f41eb76b325825361d70265d7f
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Dec 08 20:05:43 2008 +0100
files:       dolfin/function/FunctionSpace.cpp dolfin/function/FunctionSpace.h
description:
Add dim() function to FunctionSpace, which returns the dimension of the
FunctionSpace.


changeset:   5282:d3d475fa9563abc3eab6a4290f1f8802bd3e07c9
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Dec 08 19:04:23 2008 +0100
files:       site-packages/dolfin/__init__.py site-packages/dolfin/functionspace.py site-packages/dolfin/specialfunctions.py
description:
Add MeshSize etc in specialfunctions.py


changeset:   5281:6f83089fd130dc8e7b14324caf9298089de7d65d
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Dec 08 18:57:10 2008 +0100
files:       site-packages/dolfin/function.py
description:
Improve error message for argument check in creation of basis function.
Also added note about a template for uniform handling of type errors:

  if not isinstance(foo, Foo):
      raise TypeError, "Illegal argument for creation of Bar, not a Foo: " + str(foo)

At some point, we need to clean up all error messages and make them
uniform.

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