← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Change constructor for FunctionSpace to only accept (mesh, family, degree).

 

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

changeset:   5206:89ce5e166b5c8beedd2a96765deca3784dc2c750
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Thu Nov 27 09:04:03 2008 +0100
files:       site-packages/dolfin/function.py site-packages/dolfin/functionspace.py
description:
Change constructor for FunctionSpace to only accept (mesh, family, degree).
Add new classes VectorSpace and MixedSpace.

Should these be named VectorFunctionSpace and MixedFunctionSpace?
It would be inconsistent with VectorElement and MixedElement.


changeset:   5205:64dce861eecc204ed5527b0fda5574d2cd836ac6
user:        Anders Logg <logg@xxxxxxxxx>
date:        Wed Nov 26 16:11:23 2008 +0100
files:       demo/pde/poisson/python/demo.py site-packages/dolfin/function.py site-packages/dolfin/functionspace.py
description:
Extend FunctionSpace constructor to handle simple initialization like

  V = FunctionSpace(mesh, "Lagrange", 1)

No need anymore to create elements in PyDOLFIN, except when mixed elements
are used.

It would be good to support some simple creation of vector-valued function
spaces. How should this look? One option could be

  V = VectorFunctionSpace(mesh, "Lagrange", 1)

?


changeset:   5204:a56ee9f53349d44dffb7a864f1ae41205cfe5fae
user:        Anders Logg <logg@xxxxxxxxx>
date:        Wed Nov 26 15:41:37 2008 +0100
files:       site-packages/dolfin/__init__.py site-packages/dolfin/function.py site-packages/dolfin/functionspace.py
description:
Move FunctionSpace to separate module with some minor edits

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


Follow ups