equilibrium_setup

compas_cra.equilibrium.equilibrium_setup(assembly, penalty=False)[source]

Set up equilibrium matrix.

Parameters
  • assembly (Assembly) – The rigid block assembly.

  • penalty (bool, optional) – if True then return penalty matrix.

Returns

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