fedoo.constraint.IPCSelfContact.initialize

IPCSelfContact.initialize(pb)

Initialize the IPC contact assembly.

Called once by the solver at the start of the problem. Builds the collision mesh, scatter matrix, and broad-phase instance. Computes the initial barrier stiffness (or uses the user-provided value). When use_ccd is True, registers a CCD line-search callback on the solver.