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

how to access the interpolation nodes of a finite element grid for order p >1

0 votes

Dear All

I need to implement a boundary condition for the sum of the finite element function
and another globally defined function.
For this I need to know the interpolation node coordinates, not the vertices only.

regards

Moritz

asked Jan 23, 2014 by moritzbraun FEniCS User (1,390 points)

1 Answer

+3 votes

Take a look at the GenericDofMap class. It has a function for getting the spatial coordinates of dofs for a chosen cell.

answered Jan 26, 2014 by Garth N. Wells FEniCS Expert (35,930 points)
...