functionqawo

QAWO integration routine

Extends from Modelica.Icons.Function (Icon for functions).

Information

Function for accessing the external GSL QAWO integration routine, which calculates the definite integral of an oscillatory function.

Keep in mind that the 'integrand' must be "created" beforehand: see the 'CreateIntegrand' model and the 'integrand_setup' function. Note that here f is to be defined without the sin or cos part: 

Inputs

TypeNameDefaultDescription
Integern_par
Real[n_par]par
Reala
Realb
Realomega
Realrel_err
Integerisine
Integerlimit

Outputs

TypeNameDefaultDescription
Realy
Realerr