anastruct.fem.node ================== .. py:module:: anastruct.fem.node Classes ------- .. autoapisummary:: anastruct.fem.node.Node Module Contents --------------- .. py:class:: Node(id: int, Fx: float = 0.0, Fy: float = 0.0, Tz: float = 0.0, ux: float = 0.0, uy: float = 0.0, phi_z: float = 0.0, vertex: anastruct.vertex.Vertex = Vertex(0, 0), hinge: bool = False) .. py:attribute:: id .. py:attribute:: Fx :value: 0.0 .. py:attribute:: Fy :value: 0.0 .. py:attribute:: Tz :value: 0.0 .. py:attribute:: ux :value: 0.0 .. py:attribute:: uy :value: 0.0 .. py:attribute:: phi_z :value: 0.0 .. py:attribute:: vertex .. py:attribute:: hinge :value: False .. py:attribute:: elements :type: Dict[int, anastruct.fem.elements.Element] .. py:property:: Fy_neg :type: float Fy is the vertical force, and the negative of Fy Returns: float: negative of Fy .. py:method:: __str__() -> str String representation of the node Returns: str: String representation of the node .. py:method:: __add__(other: Node) -> Node Add two nodes Args: other (Node): Node to add Returns: Node: Sum of the two nodes .. py:method:: __sub__(other: Node) -> Node Subtract two nodes Args: other (Node): Node to subtract Returns: Node: Difference of the two nodes .. py:method:: reset() -> None Reset the node to zero forces and displacements .. py:method:: add_results(other: Node) -> None Add the results of another node to this node Args: other (Node): Node to add