Class Node

java.lang.Object
org.episteme.core.mathematics.analysis.fem.Node

public class Node extends Object
Represents a node in the finite element mesh.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • Node

      public Node(int id, Vector<Real> coordinates)
      Creates a new node.
      Parameters:
      id - the unique identifier of the node
      coordinates - the coordinates of the node
  • Method Details

    • getId

      public int getId()
      Returns the unique identifier of the node.
      Returns:
      the node ID
    • getCoordinates

      public Vector<Real> getCoordinates()
      Returns the coordinates of the node.
      Returns:
      the coordinates
    • getGlobalIndex

      public int getGlobalIndex()
      Returns the global index of the node in the system matrix.
      Returns:
      the global index
    • setGlobalIndex

      public void setGlobalIndex(int globalIndex)
      Sets the global index of the node.
      Parameters:
      globalIndex - the new global index
    • toString

      public String toString()
      Overrides:
      toString in class Object