LineElement#

class planestress.analysis.finite_element.LineElement(line_idx: int, line_tag: int, coords: ndarray[Any, dtype[float64]], node_idxs: list[int])[source]#

Bases: object

Abstract base class for a line element.

Methods

__init__(line_idx: int, line_tag: int, coords: ndarray[Any, dtype[float64]], node_idxs: list[int]) None[source]#

Inits the LineElement class.

Parameters:
  • line_idx (int) – Line element index.

  • line_tag (int) – Mesh line element tag.

  • coords (ndarray[Any, dtype[float64]]) – A numpy.ndarray of coordinates defining the element, e.g. [[x1, x2], [y1, y2]].

  • node_idxs (list[int]) – List of node indexes defining the element, e.g. [idx1, idx2].