← Back to team overview

dolfin team mailing list archive

Assembling multiple forms

 

Hi all,

I have a form that generates a ~8.0 MB header file, partly because I have terms on the domain, interior_facets, and exterior_facets.  I am already using the FFC options to use the quadrature representation and -fno_evaluate_basis and -fno_evaluate_basis_derivatives.

First off, I haven't really been paying attention to the lists, but I thought I saw some talk about separating out the implementation from the header.  If so, what are the options for doing that.

Second, I thought a possible work around would be to overload the assemble function to accept multiple forms for assembly into a tensor.  One obvious decomposition are separate forms for domains, int_facets, and ext_facets (meaning a header file for each).  I haven't really looked and generating the sparsity pattern correctly might be tricky (I don't know), but it could work for me.  I'd rather try something more general than hacking my local version until it works (which is what I usually do).

Anyone have any thoughts, a good work around, or even a solution for this?

Jake



Follow ups