sos_capi_common
Last update: 16.07.2025
Go to the documentation of this file.
25 // Now we use the generic helper definitions above to define DYNARDO_FMOP_API and DYNARDO_FMOP_LOCAL.
26 // DYNARDO_FMOP_API is used for the public API symbols. It either DLL imports or DLL exports (or does nothing
31 #ifdef DYNARDO_FMOP_DLL_EXPORTS // defined if we are building the DYNARDO DLL (instead of using it)
DYNARDO_FMOP_API fmop_error_t FMOP_acquireLicense()
Acquires an optiSLang enterprise license.
DYNARDO_FMOP_API bool FMOP_licenseLocked()
Check whether any license feature was acquired.
@ fmop_script_wrong_type
Object with ident has wrong type.
Definition: sos_capi_common.h:89
@ fmop_settings_error
Input argument(s) is invalid or missing.
Definition: sos_capi_common.h:84
@ fmop_const_max
2^14-1 non-modifiable for each API version
Definition: sos_capi_common.h:93
@ fmop_script_no_object
Object with ident not found in script engine.
Definition: sos_capi_common.h:88
@ fmop_not_implemented
This function is yet not implemented or has been removed.
Definition: sos_capi_common.h:91
@ fmop_script_error
An error appeare while executing Lua script.
Definition: sos_capi_common.h:87
@ fmop_invalid_handle
The function got an unexpected NULL pointer.
Definition: sos_capi_common.h:82
@ fmop_exception_occurred
An internal error occurred. Request log messages.
Definition: sos_capi_common.h:83
@ fmop_model_missing
The requested model identifier is not known.
Definition: sos_capi_common.h:85
DYNARDO_FMOP_API const char * FMOP_getLastErrorString()
Returns internal log messages of level warning and above.
@ fmop_element_data
element data (one scalar per element)
Definition: sos_capi_common.h:114
DYNARDO_FMOP_API fmop_error_t FMOP_appendLicenseSearchPath(const char *abs_path)
Appends another license search path to the default ones.
DYNARDO_FMOP_API const char * FMOP_getErrnoString(fmop_error_t error_num)
Returns a string description for the error number given.
DYNARDO_FMOP_API fmop_error_t FMOP_initializeLibrary()
Initialize the FMOP library Allocates memory for the global script engine. Call FMOP_unloadLibrary() ...
DYNARDO_FMOP_API const char * FMOP_getLastErrnoString()
Returns a pointer to a string that describes the error code which has been set at the last library ca...
DYNARDO_FMOP_API int FMOP_setLogLevel(int log_level)
Defines the new log level filter. Valid for all subsequent library calls until a new log level gets s...
DYNARDO_FMOP_API fmop_error_t FMOP_getLastErrno()
Returns the error number which has been set at the last library call.
DYNARDO_FMOP_API const char * FMOP_getLastLogString()
Returns internal log messages of log levels defined by FMOP_setLogLevel. Serves as debug logger.
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 u...
fmop_license_t
FMOP mesh features which need to be unlocked by a valid license.
Definition: sos_capi_common.h:101