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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n_par | ||
| Real[n_par] | par | ||
| Real | a | ||
| Real | b | ||
| Real | omega | ||
| Real | rel_err | ||
| Integer | isine | ||
| Integer | limit |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | ||
| Real | err |