Introduction
The Mosel libraries may be used to embed the Mosel environment in applications developed in a programming language such as C.
The functions provided enable the user to:
- compile source model files into binary model (BIM) files
- load and unload BIM files handling several models at a time
- execute models
- access the Mosel internal database through the Post Processing Interface
- manage the dynamic shared objects used by Mosel
Two libraries are provided. The first one, the Run Time Library, contains the functionality required to load and run models that are already compiled. The second one, the Model Compiler Library, is the Mosel compiler that can be used to produce binary model files from source model files. In general, only the first library is used in an application, the models being provided in their binary form (which can be obtained using the Mosel executable).
This document gives a description of all functions included in the two libraries. For more details about how to compile and link programs with the Mosel libraries, please refer to the examples in the distribution of this software.