Class Mesh
java.lang.Object
org.episteme.core.mathematics.analysis.fem.Mesh
Represents a finite element mesh.
A mesh consists of a collection of nodes and elements.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(Element element) Adds an element to the mesh.voidAdds a node to the mesh.Returns the list of elements in the mesh.getNodes()Returns the list of nodes in the mesh.voidAssigns global indices to nodes for system assembly.
-
Constructor Details
-
Mesh
public Mesh()Creates an empty mesh.
-
-
Method Details
-
addNode
-
addElement
Adds an element to the mesh.- Parameters:
element- the element to add
-
getNodes
-
getElements
-
indexNodes
public void indexNodes()Assigns global indices to nodes for system assembly. This simple implementation assigns indices sequentially.
-