make_afr
- compas_cra.equilibrium.make_afr(total_vcount, fcon_number=8, mu=0.8, penalty=False, friction_net=False)
Create friction matrix Afr and Afr@B.
- Parameters:
- total_vcountint
The total number of vertices
- fcon_numberint, optional
N-sided of linearised friction cone.
- mufloat, optional
Friction coefficient.
- penaltybool, optional
Return penalty matrix if True.
- friction_netbool, optional
Friction net formulation if True for the penalty formulation, friction plus formulation if True.
- Returns:
csr_matrix
the basis matrix # Nx3