dof_map#

planestress.analysis.utils.dof_map(node_idxs: list[int]) list[int][source]#

Maps a list of node indexes to a list of degrees of freedom.

Parameters:

node_idxs (list[int]) – Node indexes to map.

Returns:

Global degrees of freedom for each node index in node_idxs.

Return type:

list[int]