Skip to content

Exterior facet integral over part and whole of facet gives surprising result #281

Description

@wence-

Consider the following

from firedrake import *
m = UnitSquareMesh(1, 1)

print assemble(Constant(1, cell=m.ufl_cell())*(ds(1) + ds)))

I expect to see 5, but I get 6. As if the ds term is also being included in the ds(1) integral.

I note in dolfin this is sort of unsupported, in that if I have produced a marked subdomain then I can't use a bare ds but must always select a subdomain to integral over. So maybe this is unsupported and expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions