autopdex.variational_schemes.direct_residual_at_int_point

autopdex.variational_schemes.direct_residual_at_int_point(x_i, w_i, int_point_number, local_dofs, settings, static_settings, set)[source]

Computes the direct residual at an integration point for ‘strong form galerkin’.

Parameters:
  • x_i (jnp.ndarray) – Coordinates of the integration point.

  • w_i (float) – Integration weight.

  • int_point_number (int) – Integration point number.

  • local_dofs (jnp.ndarray) – Local degrees of freedom.

  • settings (dict) – Settings for the computation.

  • static_settings (dict) – Static settings for the computation.

  • set (str) – Identifier for the current set.

Returns:

Computed residual value.

Return type:

float