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

Fekete or Lobatto points

+2 votes

I am working with high order FEM using polynomial CG of degree 3 or higher. I am interested on the following: In the current implementation, the nodes of CG3 (for example) are located on equally divided distances (assume the reference triangle) between each neighbours. I would like to change the location of the nodes to Fekete or Lobatto points of the triangle. Is it possible? If yes, where should look for that?

Thank you,
Murtazo

asked Jan 26, 2014 by murtazo FEniCS Novice (320 points)

I agree with you. That would be a very useful feature for me too.
I actually submitted an enhancement request on FIAT to that regard (https://bitbucket.org/fenics-project/fiat/issues/14/gauss-legendre-lobatto-points-used-for-the); although I'm not 100% sure this is the right place..... If you feel it's worth it, you can go vote for that issue and hope that it gets enough attention.

1 Answer

–1 vote

You can merely tweak quadrature scheme.

To change definition of DOFs of a particular function space, you can implement a new element in FIAT and tweak FFC, UFL and DOLFIN to be aware of this element.

answered Jan 26, 2014 by Jan Blechta FEniCS Expert (51,420 points)
edited Jan 26, 2014 by Jan Blechta

I have implemented Gauss-Lobatto quadrature rule in FIAT, but I now need to move the FE nodes or DOFs as you say, that seems to be not so straight forward.

Actually, do you really need to move DOFs? The DOLFIN/UFC evaluation/quadrature mechanism is a little bit tricky but it works sufficiently. Simply said, the quadrature can be exact even if DOF nodes and quadrature nodes differ.

I agree. It seems the spectral radius of a matrix that I am having in my problem is small when the Fekette points are used, also the Lebesgue constant of the interpolation is minimized when these points are used.

...