On Tue, Sep 13, 2011 at 07:15:27PM +0200, Marie E. Rognes wrote: > > > On 13. sep. 2011, at 18:57, Anders Logg <[email protected]> wrote: > > > There are currently 4 ways to specify subdomains: > > > > /// 1. By explicitly passing _MeshFunction_ (as pointers) to the > > /// assemble functions > > /// > > /// 2. By assigning subdomain indicators specified by _MeshFunction_ > > /// to the _Form_ being assembled: > > /// > > /// .. code-block:: c++ > > /// > > /// form.dx = cell_domains > > /// form.ds = exterior_facet_domains > > /// form.dS = interior_facet_domains > > /// > > /// 3. By _MeshFunction_ stored in _MeshData_ as > > /// > > /// * "cell_domains" > > /// * "exterior_facet_domains" > > /// * "interior_facet_domains" > > /// > > /// 4. By specifying a _SubDomain_ which specifies the domain > > /// numbered as 0 (with the rest treated as domain number 1) > > > > I'm going to add a 5th (!) which > > What is the 5th?
It's the one described below (storing in the MeshDomains class). > > seems a bit silly, so I suggest > > removing at least option (3). A warning will be added to the MeshData > > class for use of those previously "reserved" names. > > > > Option (3) will then be replaced by storage of boundary markers in the > > new MeshDomains class. > > > > How about removing 4 too? Doesn't really matter to me. It's a very small piece of code to remove. All options (2-5) just prepare data and send to option (1). -- Anders _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

