splinepy.helpme.integrate.Transformation#
- class splinepy.helpme.integrate.Transformation(spline, solution_field=None, orders=None)[source]#
Bases:
objectHelper class to be used for the numerical integration of field variables on a single-patch geometry.
It computes the elements within the patch and for each one of them the quadrature points and the Jacobian at those points.
- Parameters:
spline (spline) – The geometry
solution_field (None or spline) – Solution field as spline function. If not given, supports and quadrature will be calculated for geometry
orders (None or list<int>) – Quadrature orders. If not given, default quadrature orders will be used
Methods
Check if given element ID is valid
Transformation.compute_all_element_jacobian_determinants([...])Compute Jacobians' determinants of each element at each quadrature point
Compute Jacobians' inverses of each element at each quadrature point
Compute Jacobians of each element at each quadrature point
Computes the measures of all elements in parametric space.
Compute the quadrature points of all elements
Transformation.compute_all_supports([recompute])Compute the support for all quadrature points
Transformation.get_element_grid_id(element_id)Compute element ID in grid.
Compute the quadrature points for a given element.
Transformation.get_element_support(element_id)Get support for quadrature points in element
Transformation.jacobian(element_id)Return Jacobian of single element at quadrature points
Transformation.jacobian_determinant(element_id)Return determinant of Jacobian of single element, evaluated at quadrature points
Transformation.jacobian_inverse(element_id)Return inverse of Jacobian of single element, evaluated at quadrature points
Attributes
Determinants of Jacobians of all elements.
Inverses of Jacobians of all elements.
Jacobians of all elements.
Quadrature points of all elements.
Supports of all quadrature points.