← Back to team overview

dolfin team mailing list archive

Re: [Question #153453]: more than 2 subdomains in 2D?

 

Question #153453 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/153453

    Status: Open => Answered

B. Emek Abali proposed the following answer:
instead of
l2 = assemble(Constant(1.0)*dx(marker), mesh=mesh, cell_domains=subdomain)

use

.....cell_domains=subdomains)

and point to the whole MeshFunction and distinguish (as already doing)
by the measure between dx(2) end else

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.