dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21561
Re: Blueprint for 0.9.10: Attaching subdomains to form
On Monday February 21 2011 23:51:31 Anders Logg wrote:
> I'd like to implement this blueprint for 0.9.10:
>
> https://blueprints.launchpad.net/dolfin/+spec/attach-subdomains-to-form
>
> In addition, I'd like to remove the cell_domains,
> exterior_facet_domains and interior_facet_domains arguments from the
> assembler. It seems overkill to have three different ways to specify
> the domains and the logic becomes complex for handling which data
> overrides if many are specified. We could also remove these arguments
> from VariationalProblem.
>
> We would then have two ways to specify the subdomains:
>
> 1. As part of the Mesh (MeshData)
>
> 2. As part of the form
>
> The SystemAssembler would then need to rely on (1).
>
> Comments and objections?
As long as it is possible to update the facet and cell domains before calling
assemble, for example by updating the form, I am happy. I often compile one
large form but only assembling parts of it by passing different subdomains to
assemble.
For the Python interface we then need to highjack an UFL form, which we have
done before ;)
Johan
References