autopdex.spaces.solution_space
- autopdex.spaces.solution_space(x, int_point_number, local_dofs, settings, static_settings, set)[source]
Compute the solution space for a given integration point and local degrees of freedom.
This function determines the type of solution space based on the provided settings and computes it accordingly. The supported types of solution spaces include moving least squares (mls), finite element simplices (fem simplex), nodal values, and user-defined solution spaces.
- Parameters:
x (jnp.ndarray) – The coordinates of the evaluation point.
int_point_number (int) – The index of the integration point.
local_dofs (jnp.ndarray) – The local degrees of freedom.
settings (dict) – A dictionary containing various settings required for the computation.
static_settings (dict) – A dictionary containing static settings that define the solution space and other parameters.
set (int) – The index of the current set of settings being used.
- Returns:
The computed solution space value or shape functions at the evaluation point.
- Return type:
jnp.ndarray