sajou.nodes module¶
This module contains the implementation of the nodes in 2D and 3D.
-
class
sajou.nodes.
Node
¶ Bases:
numpy.ndarray
3-dimensional implementation of Nodes
-
add_hinge
()¶ Method to add a hinge at the instance of the node
Returns: TODO
-
append_element
(element, node)¶ Append the information of the element that uses the node and the number in the element: 1, 2, 3,...
Parameters: - element – ELement instance
- node – int corresponding to the number of the node within the element
Returns: nothing FIXME
-
set_BC
(dof, val)¶ Adds a BC to the specified dof of the Node.
Parameters: - dof – specified degree of freedom
- val – value given
Returns: TODO
-
set_Load
(dof, val)¶ Adds a Load to the specified dof of the Node.
Parameters: - dof – specified degree of freedom
- val – value given
Returns: TODO
-
-
class
sajou.nodes.
Node2D
(x, y, z, number)¶ Bases:
sajou.nodes.Node
2-dimensional implementation of Nodes