← Back to team overview

dolfin team mailing list archive

Re: Feature request for Assembler in PyDolfin

 

Martin Sandve Alnæs wrote:
Simply duplicating the following signatures from Assembler with
ufc::form instead of Form in PyDolfin would be nice:


        assemble(self, Form form) -> real

        assemble(self, Form form, SubDomain sub_domain) -> real

        assemble(self, Form form,
            dolfin::MeshFunction<(dolfin::uint)> cell_domains,
            dolfin::MeshFunction<(dolfin::uint)> exterior_facet_domains,
            dolfin::MeshFunction<(dolfin::uint)> interior_facet_domains) -> real

        assemble(self, GenericTensor A, Form form, bool reset_tensor=True)

        assemble(self, GenericTensor A, Form form, SubDomain
sub_domain, bool reset_tensor=True)



Sure. I'll add it soon.

I'll also need to send a DofMap since a Form now has a DofMap.

Garth



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



Follow ups

References