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