    

 ## On this page

  

 

 # fmop\_solver

 Last update: 10.02.2025 

[Go to the documentation of this file.](fmop__solver_8h.xhtml)<a name="l00001"></a> 1

<a name="l00002"></a> 2 \#ifndef DYNARDO\_FMOP\_H

<a name="l00003"></a> 3  #define DYNARDO\_FMOP\_H

<a name="l00004"></a> 4

<a name="l00005"></a> 5 \#include "[sos\_capi\_common.h](sos__capi__common_8h.xhtml)"

<a name="l00006"></a> 6

<a name="l00010"></a> 10

<a name="l00030"></a> 30

<a name="l00031"></a> 31 \#ifdef \_\_cplusplus

<a name="l00032"></a> 32 extern "C" {

<a name="l00033"></a> 33 \#endif

<a name="l00034"></a> 34

<a name="l00042"></a> 42 \#ifdef DYNARDO\_FMOP\_DLL\_EXPORTS

<a name="l00043"></a> 43 typedef struct FMOP_Database* [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572);

<a name="l00044"></a> 44 \#else

<a name="l00045"></a>[ 45](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) typedef void* [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572);

<a name="l00046"></a> 46 \#endif

<a name="l00047"></a> 47 \#ifdef DYNARDO\_FMOP\_DLL\_EXPORTS

<a name="l00054"></a> 54 typedef struct FMOP* [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef);

<a name="l00055"></a> 55 \#else

<a name="l00056"></a>[ 56](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) typedef void* [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef);

<a name="l00057"></a> 57 \#endif

<a name="l00058"></a> 58

<a name="l00060"></a> 60

<a name="l00061"></a> 61

<a name="l00062"></a> 62 /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

<a name="l00068"></a> 68

<a name="l00070"></a> 70

<a name="l00088"></a> 88 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_loadDbFile](group__data__handling.xhtml#gadf36057836bc12095f01665fa068ba4c) ( [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) * database, const char* path );

<a name="l00089"></a> 89

<a name="l00108"></a> 108 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_loadDbFileWMesh](group__data__handling.xhtml#gab3f6b6b4a84878f3c774a12a2b4cf958) ( [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) * database, const char* path );

<a name="l00109"></a> 109

<a name="l00110"></a> 110 \#ifndef DOXYGEN\_IGNORE

<a name="l00111"></a> 111 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) FMOP_loadDbBuf

<a name="l00131"></a> 131 ( [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) * database, const char* buffer, size\_t length );

<a name="l00152"></a> 152 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) FMOP_loadDbBufWMesh

<a name="l00153"></a> 153 ( [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) * database, const char* buffer, size\_t length );

<a name="l00154"></a> 154 \#endif

<a name="l00155"></a> 155 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModel](group__data__handling.xhtml#gaae65fdf242dba6c37b9de818be7c9dcc) ( [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) database, [fmop\_dataobject\_types](group__types.xhtml#ga69eb42c1b3b49f22b9e73c6c9869cb75) data_type,

<a name="l00177"></a> 177 const char * const fmop_ident, [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) * fmop );

<a name="l00189"></a> 189 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_releaseModel](group__data__handling.xhtml#ga3ad01c460ed6e409b79e258a523d0bf9) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) * fmop );

<a name="l00201"></a> 201 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_releaseDb](group__data__handling.xhtml#gaf36d28d4c5c718284a0f4236f2740e06) ( [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) * database );

<a name="l00216"></a> 216 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_releaseIdents](group__data__handling.xhtml#ga37bdee678571cd855ac0bb10675b1d8c) ( char *** const idents, const size\_t * num_idents );

<a name="l00217"></a> 217

<a name="l00219"></a> 219

<a name="l00220"></a> 220 /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

<a name="l00226"></a> 226

<a name="l00228"></a> 228

<a name="l00253"></a> 253 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelIdents](group__queries.xhtml#ga22d6e807dc869fa28442d26e29ddbc27)

<a name="l00254"></a> 254 ( const [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) database, [fmop\_dataobject\_types](group__types.xhtml#ga69eb42c1b3b49f22b9e73c6c9869cb75) data_type, char *** const fmop_idents, size\_t * num_idents );

<a name="l00272"></a> 272 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelIdentsDim](group__queries.xhtml#ga600dca69efae1f2eafc63f9f6a0067fc)

<a name="l00273"></a> 273 ( const [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) database, [fmop\_dataobject\_types](group__types.xhtml#ga69eb42c1b3b49f22b9e73c6c9869cb75) data_type, size\_t * num_idents );

<a name="l00296"></a> 296 DYNARDO_FMOP_API const char * [FMOP\_getModelIdent](group__queries.xhtml#gade959f2a7f6866382b76e32204597220)

<a name="l00297"></a> 297 ( const [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) database, [fmop\_dataobject\_types](group__types.xhtml#ga69eb42c1b3b49f22b9e73c6c9869cb75) data_type, size\_t num_ident );

<a name="l00322"></a> 322 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelParamIdents](group__queries.xhtml#ga485827623b3d01cf3157c0a16559908f)

<a name="l00323"></a> 323 ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, char *** const param_idents, size\_t * num_params );

<a name="l00340"></a> 340 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelParamIdentsDim](group__queries.xhtml#gadabef430a391d15eb077fe30e134f368) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, size\_t * num_params );

<a name="l00363"></a> 363 DYNARDO_FMOP_API const char * [FMOP\_getModelParamIdent](group__queries.xhtml#ga08f0951d2b7615c16e72341e13bad704) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, size\_t num_param );

<a name="l00383"></a> 383 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getParamLowerBounds](group__queries.xhtml#gabaed2ac2af6a304f8356e51b9cb98442) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, double * lower_bounds );

<a name="l00403"></a> 403 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getParamUpperBounds](group__queries.xhtml#ga301cfcf26e28ec7ba4b2c730facb679c) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, double * upper_bounds );

<a name="l00420"></a> 420 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelTotalAvgFCoP](group__queries.xhtml#ga1ff6f33cf199015b78c5837e40d90f42) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, double * fcop );

<a name="l00439"></a> 439 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelAvgFCoP](group__queries.xhtml#ga185c515c2fe8b0528ccb5f95f543a3be) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, double * fcops );

<a name="l00456"></a> 456 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getModelDim](group__queries.xhtml#ga24e43563d67cc64bffb7bccddbaada65) ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, size\_t * num_mesh_items );

<a name="l00474"></a> 474 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getDataDim](group__queries.xhtml#ga878106f886ca5f1ce112e6c5e238d80e) ( const [fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572) database, [fmop\_dataobject\_types](group__types.xhtml#ga69eb42c1b3b49f22b9e73c6c9869cb75) data_type, size\_t * num_mesh_items );

<a name="l00500"></a> 500 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getDataPointIndices](group__queries.xhtml#gadd2527ad2ad1bf1df141e5fa5b4c2e31) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int * part_ids, unsigned int * item_ids );

<a name="l00530"></a> 530 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getDataPointCoors](group__queries.xhtml#ga535bee00c4d200d31fdf4118e49c1f05) ([fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, char axis, double * coors );

<a name="l00531"></a> 531

<a name="l00532"></a> 532

<a name="l00550"></a> 550 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getNumElementsAtNode](group__queries.xhtml#ga4413f3e2bc5f893b9030631aceb03c54) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int node_idx, unsigned int * num_elements );

<a name="l00569"></a> 569 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getElementsAtNode](group__queries.xhtml#ga8ca72d6a865df21ce5a5180475c71cda) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int node_idx, unsigned int * elements );

<a name="l00588"></a> 588 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_isNodePartOfBoundary](group__queries.xhtml#ga1ff1451cc5f1c6cefa7a67c6a906d653) ([fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int node_idx, unsigned int * is_part_of_boundary);

<a name="l00606"></a> 606 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getNumNodesAtElement](group__queries.xhtml#ga031be0f125c4fbeb450f03bb960e207d) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int element_idx, unsigned int * num_nodes );

<a name="l00625"></a> 625 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_getNodesAtElement](group__queries.xhtml#ga03080c2458b8c03eb85ce9eb97926711) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int element_idx, unsigned int * nodes );

<a name="l00645"></a> 645 DYNARDO_FMOP_API const char * [FMOP\_getElementTypeIdent](group__queries.xhtml#gade1eac903ae657e448adf1f7c6aa463c) ( [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, unsigned int element_idx );

<a name="l00647"></a> 647

<a name="l00648"></a> 648 /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

<a name="l00654"></a> 654

<a name="l00656"></a> 656

<a name="l00683"></a> 683 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_approxField](group__operations.xhtml#ga1bd5d62d9c5ba6d327b0368a8b4e2e31)

<a name="l00684"></a> 684 ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, const double * param_values, double * field );

<a name="l00685"></a> 685

<a name="l00712"></a> 712 DYNARDO_FMOP_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_approxFieldExtrapolate](group__operations.xhtml#ga4380a704857be093fc6444aa5b8fdadc)

<a name="l00713"></a> 713 ( const [fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef) fmop, const double * param_values, double * field );

<a name="l00714"></a> 714

<a name="l00716"></a> 716

<a name="l00717"></a> 717

<a name="l00718"></a> 718 \#ifdef \_\_cplusplus

<a name="l00719"></a> 719 }

<a name="l00720"></a> 720 \#endif

<a name="l00721"></a> 721

<a name="l00722"></a> 722 \#endif // DYNARDO\_FMOP\_H

<a name="l00723"></a> 723

<a name="l00724"></a> 724 // (c) 2017, DYNARDO Austria GmbH (proprietary license)

[FMOP\_approxFieldExtrapolate](group__operations.xhtml#ga4380a704857be093fc6444aa5b8fdadc)

DYNARDO_FMOP_API fmop_error_t FMOP_approxFieldExtrapolate(const fmop_handle_t fmop, const double *param_values, double *field)

Approximates a field response based on a vector of given active scalar input parameters. 



[FMOP\_getNumNodesAtElement](group__queries.xhtml#ga031be0f125c4fbeb450f03bb960e207d)

DYNARDO_FMOP_API fmop_error_t FMOP_getNumNodesAtElement(fmop_handle_t fmop, unsigned int element_idx, unsigned int *num_nodes)

Identifies the nodes connected to a given element. 



[FMOP\_releaseIdents](group__data__handling.xhtml#ga37bdee678571cd855ac0bb10675b1d8c)

DYNARDO_FMOP_API fmop_error_t FMOP_releaseIdents(char ***const idents, const size_t *num_idents)

An auxiliary function to releases an array of char arrays and dedicated memory. 



[FMOP\_getDataPointIndices](group__queries.xhtml#gadd2527ad2ad1bf1df141e5fa5b4c2e31)

DYNARDO_FMOP_API fmop_error_t FMOP_getDataPointIndices(fmop_handle_t fmop, unsigned int *part_ids, unsigned int *item_ids)

Maps internal node/element numbering to the external scheme consisting of part and item ID...



[sos\_capi\_common.h](sos__capi__common_8h.xhtml)

C-API for utility functions (load/unload library, license management, error handling) ...



[FMOP\_getParamLowerBounds](group__queries.xhtml#gabaed2ac2af6a304f8356e51b9cb98442)

DYNARDO_FMOP_API fmop_error_t FMOP_getParamLowerBounds(const fmop_handle_t fmop, double *lower_bounds)

Returns lower bound values of input parameters used to train the FMOP, aka the lower bound values of ...



[FMOP\_getModelIdentsDim](group__queries.xhtml#ga600dca69efae1f2eafc63f9f6a0067fc)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelIdentsDim(const fmop_db_handle_t database, fmop_dataobject_types data_type, size_t *num_idents)

Returns the total number of known FMOP identifiers from the fmop_db_handle_t given. 



[fmop\_handle\_t](fmop__solver_8h.xhtml#aed65d1ae14f8c298a702ad5b828a70ef)

void * fmop_handle_t

Contains one specific single or cross correlated FMOP. 

**Definition:** fmop_solver.h:56



[FMOP\_isNodePartOfBoundary](group__queries.xhtml#ga1ff1451cc5f1c6cefa7a67c6a906d653)

DYNARDO_FMOP_API fmop_error_t FMOP_isNodePartOfBoundary(fmop_handle_t fmop, unsigned int node_idx, unsigned int *is_part_of_boundary)

Identifies if the given node is on the surface. 



[FMOP\_getModelTotalAvgFCoP](group__queries.xhtml#ga1ff6f33cf199015b78c5837e40d90f42)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelTotalAvgFCoP(const fmop_handle_t fmop, double *fcop)

Returns the total average Field Coefficient of Prognosis for the fmop handle given. 



[FMOP\_getElementsAtNode](group__queries.xhtml#ga8ca72d6a865df21ce5a5180475c71cda)

DYNARDO_FMOP_API fmop_error_t FMOP_getElementsAtNode(fmop_handle_t fmop, unsigned int node_idx, unsigned int *elements)

Identifies the elements connected to a given node. 



[FMOP\_getModel](group__data__handling.xhtml#gaae65fdf242dba6c37b9de818be7c9dcc)

DYNARDO_FMOP_API fmop_error_t FMOP_getModel(fmop_db_handle_t database, fmop_dataobject_types data_type, const char *const fmop_ident, fmop_handle_t *fmop)

Loads a fmop_handle_t data object from the database given. 



[FMOP\_getModelAvgFCoP](group__queries.xhtml#ga185c515c2fe8b0528ccb5f95f543a3be)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelAvgFCoP(const fmop_handle_t fmop, double *fcops)

Returns the Field Coefficients of Prognosis per active scalar input parameter. 



[FMOP\_getNodesAtElement](group__queries.xhtml#ga03080c2458b8c03eb85ce9eb97926711)

DYNARDO_FMOP_API fmop_error_t FMOP_getNodesAtElement(fmop_handle_t fmop, unsigned int element_idx, unsigned int *nodes)

Identifies the nodes connected to a given element. 



[FMOP\_releaseModel](group__data__handling.xhtml#ga3ad01c460ed6e409b79e258a523d0bf9)

DYNARDO_FMOP_API fmop_error_t FMOP_releaseModel(fmop_handle_t *fmop)

Releases a fmop_handle_t object and dedicated memory. 



[FMOP\_getModelParamIdents](group__queries.xhtml#ga485827623b3d01cf3157c0a16559908f)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelParamIdents(const fmop_handle_t fmop, char ***const param_idents, size_t *num_params)

Returns all active scalar inputer parameters for the fmop handle given. 



[FMOP\_getDataDim](group__queries.xhtml#ga878106f886ca5f1ce112e6c5e238d80e)

DYNARDO_FMOP_API fmop_error_t FMOP_getDataDim(const fmop_db_handle_t database, fmop_dataobject_types data_type, size_t *num_mesh_items)

Returns the size of the FCoP vector, aka the number of mesh items. 



[FMOP\_getModelIdent](group__queries.xhtml#gade959f2a7f6866382b76e32204597220)

DYNARDO_FMOP_API const char * FMOP_getModelIdent(const fmop_db_handle_t database, fmop_dataobject_types data_type, size_t num_ident)

Returns the n-th known FMOP identifier from the fmop_db_handle_t given. 



[fmop\_db\_handle\_t](fmop__solver_8h.xhtml#a4f3b1f4672b1b913e04f95def14d3572)

void * fmop_db_handle_t

Contains all the data being required to post-process any FMOP. 

**Definition:** fmop_solver.h:45



[FMOP\_loadDbFileWMesh](group__data__handling.xhtml#gab3f6b6b4a84878f3c774a12a2b4cf958)

DYNARDO_FMOP_API fmop_error_t FMOP_loadDbFileWMesh(fmop_db_handle_t *database, const char *path)

Initializes a fmop_db_handle_t object from a previously saved Statistics on Structures (SoS) database...



[FMOP\_getModelParamIdentsDim](group__queries.xhtml#gadabef430a391d15eb077fe30e134f368)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelParamIdentsDim(const fmop_handle_t fmop, size_t *num_params)

Returns the total number of active parameter identifiers from the fmop handle given. 



[fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec)

fmop_error_t

Error code definitions. 

**Definition:** sos_capi_common.h:80



[FMOP\_getNumElementsAtNode](group__queries.xhtml#ga4413f3e2bc5f893b9030631aceb03c54)

DYNARDO_FMOP_API fmop_error_t FMOP_getNumElementsAtNode(fmop_handle_t fmop, unsigned int node_idx, unsigned int *num_elements)

Identifies the elements connected to a given node. 



[FMOP\_loadDbFile](group__data__handling.xhtml#gadf36057836bc12095f01665fa068ba4c)

DYNARDO_FMOP_API fmop_error_t FMOP_loadDbFile(fmop_db_handle_t *database, const char *path)

Initializes a fmop_db_handle_t object from a previously saved Statistics on Structures (SoS) database...



[FMOP\_getParamUpperBounds](group__queries.xhtml#ga301cfcf26e28ec7ba4b2c730facb679c)

DYNARDO_FMOP_API fmop_error_t FMOP_getParamUpperBounds(const fmop_handle_t fmop, double *upper_bounds)

Returns upper bound values of input parameters used to train the FMOP, aka the upper bound values of ...



[FMOP\_approxField](group__operations.xhtml#ga1bd5d62d9c5ba6d327b0368a8b4e2e31)

DYNARDO_FMOP_API fmop_error_t FMOP_approxField(const fmop_handle_t fmop, const double *param_values, double *field)

Approximates a field response based on a vector of given active scalar input parameters. 



[FMOP\_releaseDb](group__data__handling.xhtml#gaf36d28d4c5c718284a0f4236f2740e06)

DYNARDO_FMOP_API fmop_error_t FMOP_releaseDb(fmop_db_handle_t *database)

Releases a fmop_db_handle_t object and dedicated memory. 



[FMOP\_getModelIdents](group__queries.xhtml#ga22d6e807dc869fa28442d26e29ddbc27)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelIdents(const fmop_db_handle_t database, fmop_dataobject_types data_type, char ***const fmop_idents, size_t *num_idents)

Returns all known FMOP identifier from the fmop_db_handle_t given. 



[FMOP\_getModelParamIdent](group__queries.xhtml#ga08f0951d2b7615c16e72341e13bad704)

DYNARDO_FMOP_API const char * FMOP_getModelParamIdent(const fmop_handle_t fmop, size_t num_param)

Returns the n-th active parameter identifier from the fmop handle given. 



[FMOP\_getModelDim](group__queries.xhtml#ga24e43563d67cc64bffb7bccddbaada65)

DYNARDO_FMOP_API fmop_error_t FMOP_getModelDim(const fmop_handle_t fmop, size_t *num_mesh_items)

Returns the size of the FCoP vector, aka the number of mesh items. 



[fmop\_dataobject\_types](group__types.xhtml#ga69eb42c1b3b49f22b9e73c6c9869cb75)

fmop_dataobject_types

Data type definitions. 

**Definition:** sos_capi_common.h:112



[FMOP\_getElementTypeIdent](group__queries.xhtml#gade1eac903ae657e448adf1f7c6aa463c)

DYNARDO_FMOP_API const char * FMOP_getElementTypeIdent(fmop_handle_t fmop, unsigned int element_idx)

Identifies the element type ident of a given element. 



[FMOP\_getDataPointCoors](group__queries.xhtml#ga535bee00c4d200d31fdf4118e49c1f05)

DYNARDO_FMOP_API fmop_error_t FMOP_getDataPointCoors(fmop_handle_t fmop, char axis, double *coors)

Returns the cartesian data point coordinates for each data point.