BlockModel.compute_contact

BlockModel.compute_contact(a, b, type='')

Add a contact interaction between two elements.

Parameters:
edgetuple[int, int]

The edge of the interaction graph representing the interaction between the two elements. Order matters: interaction is applied from node V0 to node V1. The first element create and instance of the interaction.

typestr, optional

The type of contact interaction, if different contact are possible between the two elements.

Returns:
None