← Back to team overview

dolfin team mailing list archive

Re: [Question #130203]: Integrals over subdomains

 

On 19. okt. 2010 13:17, Øystein Sørensen wrote:
> New question #130203 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/130203
>
> I have a mesh function which splits my domain into two subdomains, and label them with a 0 and 1 in a mesh function. Next, my variational form is supposed to be something like
>
> a = inner(grad(u),grad(v))*dx(0) + Constant(100)*inner(grad(u),grad(v))*dx(1)
>
> e.g. meaning that subdomain 1 has 100 times higher conductivity. But how do I specify this in the definition of the variatonal problem?
>
> I know that for a boundary integral, say L = v*ds(1), this is done by  "exterior_facet_domains = ...", but what is the equivalent for subdomain integrals?
>
>   


    cell_domains = ...

--
Marie



References