Interface Element

All Known Implementing Classes:
LinearElement1D, TetrahedralElement3D, TriangularElement2D

public interface Element
Interface for a finite element.

An element is defined by a set of nodes and shape functions. It provides methods to compute the Jacobian and integrate over the element.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • getNodes

      List<Node> getNodes()
      Returns the nodes associated with this element.
      Returns:
      the list of nodes
    • getShapeFunctions

      List<ShapeFunction> getShapeFunctions()
      Returns the shape functions associated with this element.
      Returns:
      the list of shape functions
    • computeJacobian

      Matrix<Real> computeJacobian(Vector<Real> localCoords)
      Computes the Jacobian matrix at the given local coordinates.

      J = d(x,y,z)/d(xi,eta,zeta)

      Parameters:
      localCoords - the local coordinates
      Returns:
      the Jacobian matrix
    • getQuadraturePoints

      List<QuadraturePoint> getQuadraturePoints()
      Returns the quadrature points and weights for numerical integration over this element.
      Returns:
      a list of quadrature points (local coords + weight)