Spaces

Definition of different kinds of solution spaces, including

  • Moving Least Squares (MLS) methods

  • Simplex-shaped finite elements with shape functions defined via least squares

  • Isoparametric line, quadrilateral and brick shape functions for user elements

Supports both direct and compiled modes (with precomputation of discrete shape functions and derivatives) for MLS and simplex-shaped elements.

Spaces defined in the reference configuration, for assembling modes user potential/residual/element

fem_iso_line_quad_brick(x, xI, fI, settings, ...)

Compute isoparametric finite element shape functions for line, quadrilateral, and brick elements.

Spaces defined in the physical configuration, for assembling modes sparse/dense

solution_space(x, int_point_number, ...)

Compute the solution space for a given integration point and local degrees of freedom.

moving_least_squares(x, xI, fI, beta, ...)

Compute the moving least squares (MLS) approximation for a given set of points and data.

fem_ini_simplex(x, xI, fI, static_settings, set)

Compute finite element shape functions directly in the initial/physical configuration.

Pre-computing shape functions

precompute_shape_functions(dofs, settings, ...)

Precompute shape functions and their derivatives for all integration points.