Seeking clarification on the distinction between Points, Nodes, Vertices, and Quadrature Points in libmesh #26837
-
I am working on calculating the center point of an element's side by averaging the coordinates of each vertex. I have been exploring the information available regarding libmesh::Elem for this purpose. However, I am currently confused about the differences among Point, Node, Vertex, and Quadrature Point. My current understanding is as follows: The confusion arises from the fact that both Nodes and Vertices seem to use the same indexing scheme when accessing their positions via the
This gives me the impression that Vertices and Nodes share the same index set, which seems contradictory given that their counts are different. Furthermore, my understanding suggests that each element has its unique set of Quadrature Points while Nodes can be shared across elements. This seemingly contradicts my earlier notion that each Quadrature Point corresponds to a single Node. I would greatly appreciate your help in clarifying these concepts and how they relate to finding the center point of an element's side. Thank you in advance for your attention and assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are wrong to conclude that each Quadrature point corresponds to a node. Quadrature point is usually something that is located within the element, not on the boundary/vertices of the element like nodes. Quadrature points differ based on the shape of elements and more predominantly the shape functions used. Both of these will determine how many Quadrature points are there for a particular element and also their respective locations. |
Beta Was this translation helpful? Give feedback.
You are wrong to conclude that each Quadrature point corresponds to a node. Quadrature point is usually something that is located within the element, not on the boundary/vertices of the element like nodes. Quadrature points differ based on the shape of elements and more predominantly the shape functions used. Both of these will determine how many Quadrature points are there for a particular element and also their respective locations.