autopdex.variational_schemes.functional_at_int_point
- autopdex.variational_schemes.functional_at_int_point(x_i, w_i, int_point_number, local_dofs, settings, static_settings, set)[source]
Computes the functional at an integration point for ‘least square pde loss’ or ‘least square function approximation’.
- 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 functional value.
- Return type:
float