Page 9 - Demo
P. 9


                                    Interface to C/C++%uf09f%uf09fRCPConsult2023-2025Page 9*ier=0;returnp1*pi/4*s*pow(d,2)-p2*l;}It is also allowed to use a mixed mode global vector, global namesand arguments in the same export function.Note:Function and argument names are arbitrary.7.How to use theC/C++interface in a STRURELjobDuringinstallation of a STRURELprogramwith a licensed C/C++Interface a corresponding Addon (SAO) StrurelToCpp.saoproviding the connectivity to the development environment for supported compilers will be placed in the \\Add-ons\\folder.If everything has beenbound as described above,then in STRURELseveral indicators provide information about the interface. The first one is a menu item Strurel To C/C++in main menu Help\\About Add-ons\\Interface. By selecting this item, an informative tooltip will be shown.The nextindicator is a C/C++icon placed in the status bar on the bottom. Whenpointing on it by mouse cursor the state of interface will be shown on the leftmost paneof thestatus bar.If both indicators have states as shown above you are ready touse the C/C++Interface facilities in a STRUREL job.A standard approachto operate with C/C++Interface completely differs from handling with standard interfaces such as PYTHONor similar. The creation of a C/C++source file in correct notation for compiler of interest is not trivial. To make it easier a template with some helpful 
                                
   3   4   5   6   7   8   9   10   11   12   13