# Sum of integrals over each triangle

Asked by
Claudia Totzeck

Hi,

I'm trying to solve the continuity equations of the Drift Diffusion model written in the Brezzi, Marini, Pietra Formulation with FEniCS. In the variational formulation occur the sum of integrals over each triangle of the mesh AND the sum of integrals over the boundary of each triangle of the mesh in normal direction. Can anybode give me a hint how to realize this ?

I was thinking about defining each triangle as subdomain... but I believe this is a really messy solution.

Thanks for your help in advance!

Claudia

## Question information

- Language:
- English Edit question

- Status:
- Solved

- Assignee:
- No assignee Edit question

- Solved by:
- Marie Rognes

- Solved:

- Last query:

- Last reply:

To post a message you must log in.