splinepy.helpme.integrate.physical_function#
- splinepy.helpme.integrate.physical_function(spline, function, orders=None)[source]#
Integrate a function defined within the selected domain
- Parameters:
spline (Spline) – The geometry over which the function is integrated
function (Callable) – The user-defined function to integrate.
orders (optional) – Quadrature order in parametric domain for numerical integration
- Returns:
integral
- Return type:
np.ndarray