← Back to team overview

dolfin team mailing list archive

Restricted function spaces

 

I have added experimental support for restricted function spaces. It
is currently only implemented for cell-based restrictions but the plan
is to extend to subspaces on boundaries etc.

The implementation involves renumbering the dofs on the subsets of the
cells included in the restriction and modifying the DOLFIN UFC
wrappers to instantiate a function space from a restriction rather
than a mesh. A demo can be found here:

http://bazaar.launchpad.net/~dolfin-core/dolfin/trunk/view/head:/demo/undocumented/restriction/cpp/main.cpp

Work remains to fix the following:

- Python interface

- Testing in combination with mixed spaces for multiphysics on
  different restrictions of a common mesh and couplings between domains

- Parallell, untested but probably breaks

- Cleanups

--
Anders