I want to access node coordinate in cmesh #781
Unanswered
shusaku625
asked this question in
Q&A
Replies: 1 comment
-
Hello @syusaku625, I recommend to check out this tutorial https://github.com/DLR-AMR/t8code/wiki/Step-6-Computing-stencils and associated source code https://github.com/DLR-AMR/t8code/blob/main/tutorials/general/t8_step6_stencil.cxx . This shows how to access information like volume, centroid, etc per element. For node coordinates there are the following functions:
If you are only interested in node coordinates on
Does this answer your question? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm studying how to use t8code in finite element method.
When I create matrix, I have to acces node coordinate in each element.
Please tell me how to access each node coordinate in cmesh.
Beta Was this translation helpful? Give feedback.
All reactions