Local assembly of forms for a posteriori error analysis
Hello,
I would like to do some a posteriori error analysis. I'm aware that dolfin has built in methods, but as I do some research in this field, I have to assemble the local terms by myself.
An error estimator consists usually of local terms of the form ||r||_T or ||r||_{\partial T}, where r is a finite element function, T a mesh object of CoDim 0 and partial T its border (CoDim 1). As far as I read the documentation the only way to do that now, is to define subdomains and assemble the forms on them. This approach is rather inefficient, as I have to call the assembly routine for every cell in my mesh.
Is there any other way to do this?
From https:/
Thanks in advance,
Rodolphe
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Sandve Alnæs
- Solved:
- Last query:
- Last reply: