Skip to content

How to map_to_cell for a tetrahedral element? #243

Answered by mscroggs
prusso630 asked this question in Q&A
Discussion options

You must be logged in to vote

element.map_to_cell(vs,element.get_basis_functions()) is the correct usage. This will return the basis functions mapped to the cell definite by the vertices vs. Try doing print(element.map_to_cell(vs,element.get_basis_functions())).

If you want an explanation of what mathematical operation the map does, it's written down here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mscroggs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants