Skip to content
Discussion options

You must be logged in to vote

A DG0 function has a single DoF in the middle of each cell. A CG1 function would give you the result that you expect. Note that mesh.coordinates is already such a function though so the interpolation isn't needed.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Alpha-Legion
Comment options

@connorjward
Comment options

@Alpha-Legion
Comment options

Answer selected by Alpha-Legion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants