This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

H2 norm for vector/function?

0 votes

Hi,

I need to calculate $$ H_{2} $$ norm for a function. At the moment it doesn't look like it is available yet for current version. Is there any plans it could be implemented in the future? Or is there a way to work around it?

Thanks,
Q

asked Sep 19, 2015 by quangha FEniCS Novice (490 points)

1 Answer

0 votes

That would require C^1 (i.e. with continuous derivatives) elements, which is not yet available.
You may do it in a non-conforming way by including jump terms, see
eg.
https://bitbucket.org/fenics-project/dolfin/src/cacc59d74f8f0d836277d91e7d1a04dc64eb9476/demo/documented/biharmonic/python/demo_biharmonic.py?at=master&fileviewer=file-view-default

or in case you have an analytical expression, you may differentiate by hand or with ufl.

answered Sep 20, 2015 by Kent-Andre Mardal FEniCS Expert (14,380 points)
...