.GNU_ScientificLibrary.Functions.integration.integrand_setup

Information

Integrand-setup "function" for using GSL integration routines within a larger Modelica model.

Wherever possible, Modelica.Utilities routines are used to handle file / system commands. The current exception is the use of 'gcc' to compile the libgsl_integration_MI.so / libgsl_integration_MI.dll library. This is standard on any Linux system and is available for any Windows system via 'mingw'.

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]

Interface

impure function integrand_setup
  extends Modelica.Icons.Function;
  input String C_integrand = "exp(-x*x)";
  output Integer rcode[2];
end integrand_setup;

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