autopdex.solution_structures.solution_structure
- autopdex.solution_structures.solution_structure(x, int_point_number, local_dofs, settings, static_settings, set)[source]
Computes the solution structure at a given integration point using various predefined schemes.
- Parameters:
x (jnp.ndarray) – Coordinates of the integration point.
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 solution structure.
- Return type:
array
Notes
This function supports different solution structures, including ‘dirichlet’, ‘first order set’, ‘second order set’, ‘nodal imposition’, and ‘off’. Depending on the shape function mode (‘direct’ or ‘compiled’), it evaluates shape functions and computes the solution structure accordingly.
For ‘dirichlet’, ‘first order set’, and ‘second order set’ structures, boundary conditions and projections are applied to the space. The function uses either direct evaluation or precomputed shape functions and their derivatives based on the shape function mode.