integration over subdomain
Asked by
Hossein Nili
Hi
I am solving an equation in one of two subdomains (in the other I set the value of the variable identical to a constant) and now want to find the average value of the solution over the subdomain (which has a sine-shaped outer boundary).
Is there particular syntax for integration over a subdomain. As far as I understood from the FEniCS book, the ds element and subsequent assemble command would integrate over the whole problem domain. Can we make this specific to a given subdomain?
Many thanks,
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Hossein Nili for more information if necessary.
To post a message you must log in.