← Back to team overview

ffc team mailing list archive

Re: Jump across an interface

 

On Wed, Jun 24, 2009 at 12:43:35AM -0500, Jehanzeb Hameed wrote:
> Hello,
> 
> Is it possible to define jump over sub-domains (instead of just over
> interior faces). Here is what I am trying to do. I have a domain, with
> two subdomains. The subdomains are not disjoint, and have a common
> interface (say ds(0) ). Now, I want to define a integral over ds(0)
> for the jump in a variable (i.e. I'd like (jump(v), jump(u), ds(0)) .
> 
> I want to use lagrange (continuous) over each subdomain, with jump
> just across the interface. Can this be done in ffc (or ufl).

You should be able to define a MeshFunction over interior facets to
mark the interface. Then define an integral over that interface. See
one of the sub domain demos in DOLFIN. Note that you need to define
the interface, rather than the two sub domains.

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References