make_aeq

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

Create equilibrium matrix Aeq or penalty formulation matrix Aeq@B.

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

  • flip (bool, optional) – Flip all interfaces if True.

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

Returns

csr_matrix – Equilibrium matrix Aeq or penalty formulation matrix Aeq@B