hmreslib

If you are interfacing with a solver not currently supported by HyperMesh, you must write a results translator. To assist you in creating a HyperMesh binary results database, a library of C functions is provided with HyperMesh. This library is called hmreslib. hmreslib provides a very simple method for creating a HyperMesh binary results database which can be accessed by the post-processing functions in HyperMesh. The functions in the hmlib library are also useful when creating a results translator.

The functions contained in hmreslib are divided into six groups. These functions begin with the HMRES_ prefix:
  1. Argument functions: Allow the translator to define, parse and operate on command line arguments.
  2. Conversion and math functions: Functions for reading and converting values in different formats.
  3. Data type functions: Handle creating and operating on the data types within a simulation.
  4. Result record functions: Allow results to be written to the simulation and data type.
  5. Simulation functions: Functions that create and operate on simulations.
  6. Utility functions: Handle initialization and the setup of basic parameters, including some file functions.
Header files are included in source code files to define structures, variables, and prototypes. In order for a program to be compiled using the HyperMesh libraries, the program must use the header files provided with HyperMesh. These functions are provided in the hmreslib.h header file.
Note: These libraries are built with the following compilers: Windows: Visual Studio 2010 Service Pack 1 (10.0.40219.1 SP1Rel) Linux: GCC version 4.7.2 20121015 (Red Hat 4.7.2-5) (GCC) Mac OS X: clang version 3.1 (tags/Apple/clang-318.0.58) based on LLVM 3.1svn