Skip to main content

optiSLang C API of FMOPSolver Library 2025 R1

Types

Last update: 10.02.2025

Public type definitions

Pubic type definitions used within this API

enum  fmop_error_t {
  fmop_success = 0, fmop_invalid_handle = 1, fmop_exception_occurred = 2, fmop_settings_error = 3,
  fmop_model_missing = 4, fmop_license_error = 5, fmop_script_error = 6, fmop_script_no_object = 7,
  fmop_script_wrong_type = 8, fmop_not_implemented = 16382, fmop_const_max = 16383
}
 Error code definitions. More...
 
enum  fmop_license_t { fmop_mesh_signal = 10, fmop_mesh_all = 30 }
 FMOP mesh features which need to be unlocked by a valid license. More...
 
enum  fmop_dataobject_types { fmop_node_data = 0, fmop_element_data = 1, fmop_scalar_data = 3 }
 Data type definitions. More...
 

Detailed Description

Enumeration Type Documentation

◆ fmop_dataobject_types

Data type definitions.

Enumerator
fmop_node_data 

node data (one scalar per node)

fmop_element_data 

element data (one scalar per element)

fmop_scalar_data 

scalar data (vector of size 1)

◆ fmop_error_t

Error code definitions.

Enumerator
fmop_success 

Function execution returned successfully.

fmop_invalid_handle 

The function got an unexpected NULL pointer.

fmop_exception_occurred 

An internal error occurred. Request log messages.

fmop_settings_error 

Input argument(s) is invalid or missing.

fmop_model_missing 

The requested model identifier is not known.

fmop_license_error 

No valid license available.

fmop_script_error 

An error appeare while executing Lua script.

fmop_script_no_object 

Object with ident not found in script engine.

fmop_script_wrong_type 

Object with ident has wrong type.

fmop_not_implemented 

This function is yet not implemented or has been removed.

fmop_const_max 

2^14-1 non-modifiable for each API version

◆ fmop_license_t

FMOP mesh features which need to be unlocked by a valid license.

Enumerator
fmop_mesh_signal 

Unlocks signal meshes.

fmop_mesh_all 

Unlocks all mesh features.

Connect with Ansys