pystran.assemble module#
Define utility for assembling.
- pystran.assemble.assemble(kg, dof, k)[source]#
Assemble local matrix into a global matrix.
Assemble local (stiffness or mass) matrix
kinto global (stiffness or mass) matrixkg, using the array of degrees of freedom,dof, for both the rows and columns. In other words,kmust be symmetric.- Parameters:
kg – Global matrix.
dof – Array of degrees of freedom.
k – Local (for instance, member) matrix.
- Return type:
kg