equilibrium_setup

compas_cra.equilibrium.equilibrium_setup(assembly, penalty=False)

Set up equilibrium matrix.

Parameters:
assemblyAssembly

The rigid block assembly.

penaltybool, optional

if True then return penalty matrix.

Returns:
csr_matrix

Equilibrium matrix Aeq (penalty=False) or Equilibrium penalty matrix Aeq@B (penalty=True).