autopdex.utility.symmetry_check

autopdex.utility.symmetry_check(dofs, settings, static_settings)[source]

Checks the symmetry of the assembled tangent matrix.

Parameters:
  • dofs (jnp.ndarray) – Degrees of freedom.

  • settings (dict) – Settings for the assembly process.

  • static_settings (dict) – Static settings.

Returns:

Sum of absolute differences between the matrix and its transpose.

Return type:

float