make_afr
- compas_cra.equilibrium.make_afr(total_vcount, fcon_number=8, mu=0.8, penalty=False, friction_net=False)[source]
Create friction matrix Afr and Afr@B.
- Parameters
total_vcount (int) – The total number of vertices
fcon_number (int, optional) – N-sided of linearised friction cone.
mu (float, optional) – Friction coefficient.
penalty (bool, optional) – Return penalty matrix if True.
friction_net (bool, optional) – Friction net formulation if True for the penalty formulation, friction plus formulation if True.
- Returns
csr_matrix
– the basis matrix # Nx3