autopdex.utility.get_condition_number

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

Computes the condition number of the assembled tangent matrix.

Notes

  • Computes a dense tangent. Therefore only useful for small problems.

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

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

  • static_settings (dict) – Static settings.

Returns:

Condition number of the tangent matrix.

Return type:

float