← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] merge

 



Anders Logg wrote:
On Thu, Nov 05, 2009 at 09:31:34PM +0100, DOLFIN wrote:
changeset:   7421:45550c2a40bc
parent:      7417:be579bc40bf9
user:        Anders Logg <logg@xxxxxxxxx>
date:        Thu Nov 05 21:29:09 2009 +0100
description:
Remove Mesh member from DofMap class. This will hopefully reduce some
headaches related to adaptive refinement of functions and function spaces.
At the least, it's a simplification.



We need to sort out the two constructors

    DofMap(boost::shared_ptr<ufc::dof_map> ufc_dofmap,
           Mesh& dolfin_mesh);

    DofMap(boost::shared_ptr<ufc::dof_map> ufc_dofmap,
           const Mesh& dolfin_mesh);

on the Python side since I recall that SWIG doesn't distinguish between the two. I can't remember how we did this. Did we just tell SWIG to ignore one of the two?

Garth

This changeset includes a change to the DOLFIN wrapper code as a
result of new signatures for the DofMap constructors. As a result,
code generated with -l dolfin must be recompiled.





--
Anders


------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev

--
Dr Garth N Wells
Department of Engineering
University of Cambridge
Trumpington Street
Cambridge CB2 1PZ
United Kingdom

tel.   +44 1223 3 32743
e-mail gnw20@xxxxxxxxx
http://www.eng.cam.ac.uk/~gnw20/


Follow ups

References