pysdic.Connectivity.copy#

Connectivity.copy(*, copy_properties=True)[source]#

Create a copy of the connectivity (with the same element type). The copy is always unlocked.

Parameters:

copy_properties (bool, optional (default: True)) – If False, the copy has no properties.

Returns:

A new connectivity with copies of the elements and properties.

Return type:

pysdic.Connectivity