The TFELMFrontDatabase library provides the MFrontDatabase class which allows to analyse libraries generated by MFront. More precisely, this class allows to retrieve and filters the so-called entry points generated by MFront in a set of libraries. An entry point can be associated with a behaviour, a material property or a point-wise model.

Notes

This class is barely a convenient wrapper around tfel::system::ExternalLibraryManager. A typical use case of MFrontDatabase is to select a behaviour associated with a given material and load it in MTest or analyse it with tfel::system::ExternalLibraryManager.

The mfm executable exposes the functionalities of TFELMFrontDatabase on the command-line.

1 Overview

1.1 Filling the database

The database must be filled by any of the following method:

When analysing a directory and a set of directories, the AnalyseDirectoryOptions structure can be used to customize the behaviour of the last methods. This structure has the following members:

1.2 Querying entry points

The getEntryPoints methods allows to retrieve the entry points resulting from the analyses described in the previous section.

1.2.1 The MFrontDatabase::Query data structure

1.2.2 Description of the entry points

The MFrontDatabase::EntryPoint structure contains: