    

 ## On this page

  

 

 # ApproximateMOP Class Reference

 Last update: 16.07.2025 

An algorithm that computes new field samples from input parameters and FMOP models. [More...](class_approximate_m_o_p.xhtml#details)

## <a name="pub-types"></a>Public Types

<a id="a999a7ace250aceefc403bb62cd8c3bcc"></a>typedef std::vector&lt; string &gt; [StringVector](class_approximate_m_o_p.xhtml#a999a7ace250aceefc403bb62cd8c3bcc) typedef for vector of string   
 ## <a name="pub-methods"></a>Public Member Functions

 [ApproximateMOP](class_approximate_m_o_p.xhtml#a8f7677df9d0c67b1e208dce034b82bf1) (bool enforce\_equal\_idents=false) constructor [More...](#a8f7677df9d0c67b1e208dce034b82bf1)  
  [check](class_approximate_m_o_p.xhtml#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) checks the settings [More...](#a47c34ec1e578c2ce27cf1c5fcd0d1704)  
  [compute](class_approximate_m_o_p.xhtml#ab08e112d95fe611e7eb25491c354d115) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) computes the new objects [More...](#ab08e112d95fe611e7eb25491c354d115)  
 ## <a name="pub-attribs"></a>Public Attributes

<a id="a591952882aeaa67ab84a56aa4d053268"></a>bool [accept\_partial\_subspace](class_approximate_m_o_p.xhtml#a591952882aeaa67ab84a56aa4d053268) if true, then one accepts that the set of input parameters is incomplete. E.g. if a required input parameter is not selected, then one simly assumes the "center" value for it.   
 <a id="a6004ee87717c9664d2314e817547d0a5"></a>[StringVector](class_approximate_m_o_p.xhtml#a999a7ace250aceefc403bb62cd8c3bcc) [element\_fmop\_idents](class_approximate_m_o_p.xhtml#a6004ee87717c9664d2314e817547d0a5) the idents of selected ELEMENT\_DATA field meta models   
 <a id="a6127bef6ec70cb87bbba71911fd1e689"></a>[StringVector](class_approximate_m_o_p.xhtml#a999a7ace250aceefc403bb62cd8c3bcc) [node\_fmop\_idents](class_approximate_m_o_p.xhtml#a6127bef6ec70cb87bbba71911fd1e689) the idents of selected NODE\_DATA field meta models   
 <a id="ade25e60bd85c8b4abd4f5b416cae0eb9"></a>bool [overwrite\_existing](class_approximate_m_o_p.xhtml#ade25e60bd85c8b4abd4f5b416cae0eb9) if true, existing outut objects will be replaced, otherwise: error if it already exists   
 <a id="a138c218375fc3166ddcf7e6b23e6b373"></a>[StringVector](class_approximate_m_o_p.xhtml#a999a7ace250aceefc403bb62cd8c3bcc) [scalar\_fmop\_idents](class_approximate_m_o_p.xhtml#a138c218375fc3166ddcf7e6b23e6b373) the idents of selected SCALAR\_DATA field meta models   
 <a id="afac43f97194e263427759f8414a2d703"></a>[DataObjectContainer](class_data_object_container.xhtml) [selected\_inputs](class_approximate_m_o_p.xhtml#afac43f97194e263427759f8414a2d703) contains the selected scalar input samples   
 <a id="ac0f888ea04ab875135d8dc97bd060a77"></a>bool [use\_sampling\_bounds](class_approximate_m_o_p.xhtml#ac0f888ea04ab875135d8dc97bd060a77) if true, the point to be approximated, must be within the original sampling bounds.   
 <a id="details" name="details"></a>## Detailed Description

An algorithm that computes new field samples from input parameters and FMOP models.

The algorithm is essentially the same is the class FieldDesignsFromAmplitudes, but it is based on the data structures stored in class [RandomFieldContainer](class_random_field_container.xhtml "a container storing all random field decompositions ").



## Constructor &amp; Destructor Documentation

<a id="a8f7677df9d0c67b1e208dce034b82bf1"></a>## [◆ ](#a8f7677df9d0c67b1e208dce034b82bf1)ApproximateMOP()

 [ApproximateMOP](class_approximate_m_o_p.xhtml)  ( bool  *enforce\_equal\_idents* = `false`) 

constructor

Parameters enforce\_equal\_identsIf true, then the same quantity idents are used as the input idents (is only used in optiSLang's simulation flow. Usually objects with that quantity ident already exist!) 



## Member Function Documentation

<a id="a47c34ec1e578c2ce27cf1c5fcd0d1704"></a>## [◆ ](#a47c34ec1e578c2ce27cf1c5fcd0d1704)check()

 check  ( [Structure](class_structure.xhtml)  *database*) 

checks the settings

Parameters databasethe database we refer to Exceptions anexception in case of an error 



<a id="ab08e112d95fe611e7eb25491c354d115"></a>## [◆ ](#ab08e112d95fe611e7eb25491c354d115)compute()

 compute  ( [Structure](class_structure.xhtml)  *database*) 

computes the new objects

Parameters databasethe database we refer to