autopdex.variational_schemes.residual_from_deriv_at_int_point
- autopdex.variational_schemes.residual_from_deriv_at_int_point(x_i, w_i, int_point_number, local_dofs, local_virt_dofs, settings, static_settings, set)[source]
Computes the residual from derivatives at an integration point for ‘weak 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.
local_virt_dofs (jnp.ndarray) – Local virtual 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