On 19 April 2011 17:28, Achim Schroll <question153...@answers.launchpad.net>wrote:
> New question #153453 on DOLFIN: > https://answers.launchpad.net/dolfin/+question/153453 > > is it possible to have more than 2 subdomains in 2D? > > it seems that if I mark by a integer label greater or equal 2 > > subdomains = MeshFunction('uint', mesh, 2) > I am not sure that I understand you here. But the number 2 in the line above does not indicate 2 subdomains. It indicates the dimension. You can use whatever int >= 0. > subdomain0 = Omega0() > subdomain0.mark(subdomains, label) > > the integral dx(label) returns just zero. > so the only available labels are 0 and 1. > Is that reasonable? > > Hilsen, Achim > > -- > You received this question notification because you are a member of > DOLFIN Team, which is an answer contact for DOLFIN. > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : dolfin@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp