splinepy.helpme.integrate.Integrator.physical_function#
- Integrator.physical_function(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