friction_setup
- compas_cra.equilibrium.friction_setup(assembly, mu, penalty=False, friction_net=False)
Set up friction matrix.
- Parameters:
- assembly
Assembly
The rigid block assembly.
- mufloat, optional
Friction coefficient value.
- penaltybool, optional
if True then return penalty matrix.
- friction_netbool, optional
Friction net formulation if True for the penalty formulation, friction plus formulation if True.
- assembly
- Returns:
csr_matrix
Afr (penalty=False) or Afr@B (penalty=True)