Skip to main content

optiSLang C API of FMOPSolver Library 2025 R1

Library handling

Last update: 10.02.2025

FMOP library handling

DYNARDO_FMOP_API fmop_error_t FMOP_initializeLibrary ()
 Initialize the FMOP library Allocates memory for the global script engine. Call FMOP_unloadLibrary() to release it. A warning is logged if the library was initialized already. More...
 
DYNARDO_FMOP_API fmop_error_t FMOP_unloadLibrary ()
 Unload the FMOP library Clears the FMOP library from memory. A warning is logged if the library was unloaded already.
 

Detailed Description

Function Documentation

◆ FMOP_initializeLibrary()

DYNARDO_FMOP_API fmop_error_t FMOP_initializeLibrary ( )

Initialize the FMOP library Allocates memory for the global script engine. Call FMOP_unloadLibrary() to release it. A warning is logged if the library was initialized already.

Note
This method must be called once, before requesting the global script engine with FMOP_globalScriptEngine();

Connect with Ansys