.GNU_ScientificLibrary.Blocks.integration.QAWO_quadrature

Information

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

IMPORTANT!!!: The integrand-setup model 'CreateIntegrand' (or a duplicate) must be run before using GSL integration routines or blocks within a larger Modelica model. (Alternatively, one could edit integrand.c directly and then compile "by hand" in a command window:
gcc -fPIC -c integrand.c integration_mi.c
gcc -shared integration.o integration_mi.o -o libgsl_integration_MI.so  [.dll for windows])

Note that here f is to be defined without the sin or cos part: 

Generated at 2024-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos