    

 ## On this page

  

 

 # MOP Class Reference

 Last update: 16.07.2025 

a group of random fields belonging together (either a single random field, or multiple cross-correlated fields) [More...](class_m_o_p.xhtml#details)

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

<a id="ac2bbd20b9306bfa8295d8f7be7f50c60"></a>typedef std::vector&lt; string &gt; **TStringVector** ## <a name="pub-methods"></a>Public Member Functions

[Matrix](class_matrix.xhtml) [activeInputCoP](class_m_o_p.xhtml#a53363b1a8192d07ec5fca9d613c28f56) () Returns the CoPs of each input quantity in this [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat..."). Ordered as in [activeInputIdentsVector()](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6 "returns a string vector of all active scalar input parameters. Ordered as in activeLowerBounds(), activeUpperBounds(), activeInputCoP() "), [activeLowerBounds()](class_m_o_p.xhtml#a82983b0429ef4ead0dec4a3b96098595 "Get a Vector of active input parameters' lower bounds of valid MOP evaluation values. Ordered as in activeInputIdentsVector(). ") and [activeUpperBounds()](class_m_o_p.xhtml#afd32f5aadfa0729d6a54e3f4e110c494 "Get a Vector of active input parameters' upper bounds of valid MOP evaluation values. Ordered as in activeInputIdentsVector(). "). [More...](#a53363b1a8192d07ec5fca9d613c28f56)  
 string [activeInputIdent](class_m_o_p.xhtml#ab19fdf8d3eb67cc0d77cbbff38ff4b83) (number i\_input) <a id="a7b8fa0ac482e3e5b4835bd2af91220a6"></a>TStringVector [activeInputIdentsVector](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6) () returns a string vector of all active scalar input parameters. Ordered as in [activeLowerBounds()](class_m_o_p.xhtml#a82983b0429ef4ead0dec4a3b96098595 "Get a Vector of active input parameters' lower bounds of valid MOP evaluation values. Ordered as in activeInputIdentsVector(). "), [activeUpperBounds()](class_m_o_p.xhtml#afd32f5aadfa0729d6a54e3f4e110c494 "Get a Vector of active input parameters' upper bounds of valid MOP evaluation values. Ordered as in activeInputIdentsVector(). "), [activeInputCoP()](class_m_o_p.xhtml#a53363b1a8192d07ec5fca9d613c28f56 "Returns the CoPs of each input quantity in this MOP. Ordered as in activeInputIdentsVector(), activeLowerBounds() and activeUpperBounds(). ")   
 std::vector&lt; number &gt; [activeInputIndices](class_m_o_p.xhtml#a594241da810bf7fe97ff3a922e3c2760) () Active node indices. Use this to access active inputs in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters "), [inputCoP()](class_m_o_p.xhtml#af82794c7116172eb14385d5abd419b50 "Returns the CoPs of each input quantity in this MOP. Ordered as in inputIdentsVector() ...") and [centerInputValues()](class_m_o_p.xhtml#aba735568f140165005a3a7493a52ff62) [More...](#a594241da810bf7fe97ff3a922e3c2760)  
 [Matrix](class_matrix.xhtml) [activeLowerBounds](class_m_o_p.xhtml#a82983b0429ef4ead0dec4a3b96098595) () Get a Vector of active input parameters' lower bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaluation values. Ordered as in [activeInputIdentsVector()](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6 "returns a string vector of all active scalar input parameters. Ordered as in activeLowerBounds(), activeUpperBounds(), activeInputCoP() "). [More...](#a82983b0429ef4ead0dec4a3b96098595)  
 [Matrix](class_matrix.xhtml) [activeUpperBounds](class_m_o_p.xhtml#afd32f5aadfa0729d6a54e3f4e110c494) () Get a Vector of active input parameters' upper bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaluation values. Ordered as in [activeInputIdentsVector()](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6 "returns a string vector of all active scalar input parameters. Ordered as in activeLowerBounds(), activeUpperBounds(), activeInputCoP() "). [More...](#afd32f5aadfa0729d6a54e3f4e110c494)  
 [Matrix](class_matrix.xhtml) [centerInputValues](class_m_o_p.xhtml#aba735568f140165005a3a7493a52ff62) ()  [copyFieldCoPToDatabase](class_m_o_p.xhtml#ad3dbd1a08e814a8e5b6c8c46d1b43ff4) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b), bool overwrite\_existing) copies contained data to the database (being visible in data object table), restricted to basic FieldCoP-data (all except Rsigma) [More...](#ad3dbd1a08e814a8e5b6c8c46d1b43ff4)  
  [copyMostSensitiveToDatabase](class_m_o_p.xhtml#af90a5eb5a4aed2af1bbd69207298a721) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b), bool overwrite\_existing) copies contained data to the database (being visible in data object table), restricted to objects names 'most sensitive inputs' [More...](#af90a5eb5a4aed2af1bbd69207298a721)  
  [copyRSigmaToDatabase](class_m_o_p.xhtml#afab06d15908af8a8ad391c3c62f1ef1b) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b), bool overwrite\_existing) copies contained data to the database (being visible in data object table), restricted to all Rsigma objects [More...](#afab06d15908af8a8ad391c3c62f1ef1b)  
 <a id="af3bc53e77d1b3e5ac6399f635a3d9033"></a>[DataObjectContainer](class_data_object_container.xhtml) [elementResults](class_m_o_p.xhtml#af3bc53e77d1b3e5ac6399f635a3d9033) () returns a const-reference to m\_element\_data   
  [eraseDatabaseCopies](class_m_o_p.xhtml#a37662babd77d3217b300cc31a4ddf4af) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) deletes all data objects contained in this data structure from the respective database. [More...](#a37662babd77d3217b300cc31a4ddf4af)  
 [Matrix](class_matrix.xhtml) [evaluateAmplitudes](class_m_o_p.xhtml#a7c58b7d50ad5676db022df82715e5156) ([Matrix](class_matrix.xhtml) inputs, bool use\_sampling\_bounds=true) evaluates the Field-MOP for the amplitudes only [More...](#a7c58b7d50ad5676db022df82715e5156)  
 [Matrix](class_matrix.xhtml) [inputCoP](class_m_o_p.xhtml#af82794c7116172eb14385d5abd419b50) () Returns the CoPs of each input quantity in this [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat..."). Ordered as in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters ") [More...](#af82794c7116172eb14385d5abd419b50)  
 string [inputIdent](class_m_o_p.xhtml#a8f7106d9165b855c958678be43c9e4f5) (number i\_input) Get the ident of the i-th input parameter. [More...](#a8f7106d9165b855c958678be43c9e4f5)  
 TStringVector [inputIdentsVector](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656) () returns a reference to a string vector of all scalar input parameters [More...](#a90e1ef91ed7f9d7c3448cb01d7bab656)  
 [Matrix](class_matrix.xhtml) [lowerBounds](class_m_o_p.xhtml#a99676faaa7d62979bf03c2b80d924db5) () Get a vector of input parameters' lower bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaulation values. Includes inactive input parameters with [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") equal to 0. Ordered as in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters "). [More...](#a99676faaa7d62979bf03c2b80d924db5)  
 <a id="a4ccd23e43d054673b4fd90ce6d5e872c"></a>[DataObjectContainer](class_data_object_container.xhtml) [nodeResults](class_m_o_p.xhtml#a4ccd23e43d054673b4fd90ce6d5e872c) () returns a const-reference to m\_node\_data   
 number [numActiveInputs](class_m_o_p.xhtml#ac8434f6aa78120ee35c1e32423589f74) () number [numInputs](class_m_o_p.xhtml#a2556eb3339693ac4a80b79c2a93c2990) () Get the number of input parameters. [More...](#a2556eb3339693ac4a80b79c2a93c2990)  
 bool [overlaps](class_m_o_p.xhtml#a03321500b0781030e74b1aa7cb05ab2f) ([MOP](class_m_o_p.xhtml) const field) Checks if this instance contains a quantity with an ident that is the same as an ident of a quantity in the given field quantity. (if it overlaps with the field) [More...](#a03321500b0781030e74b1aa7cb05ab2f)  
 [RandomFieldGroup](class_random_field_group.xhtml) [rfGroup](class_m_o_p.xhtml#aee9da7d00e9818fcb049a056e8301289) () Returns read access to the underlying field models (a group of random fields) [More...](#aee9da7d00e9818fcb049a056e8301289)  
 handler::ScalarMOPContainer [scalarMOPContainer](class_m_o_p.xhtml#aab158d6a5e02675cd1e1162752d4b7ec) () Returns read access to the underlying scalar model (a group of scalar models/scalarMOP) [More...](#aab158d6a5e02675cd1e1162752d4b7ec)  
 <a id="a251f476533d9e7bbf5857be662bf97be"></a>[DataObjectContainer](class_data_object_container.xhtml) [scalarResults](class_m_o_p.xhtml#a251f476533d9e7bbf5857be662bf97be) () returns a const-reference to m\_scalar\_data   
 number [totalCoP](class_m_o_p.xhtml#ad83b954a8ff9b4f57dee66a807b1ab0d) () Returns the total [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") of this [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat..."). [More...](#ad83b954a8ff9b4f57dee66a807b1ab0d)  
 [Matrix](class_matrix.xhtml) [upperBounds](class_m_o_p.xhtml#ab511c5b8fcb3ad4e1de8cb46a14af365) () Get a vector of input parameters' upper bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaulation values. Includes inactive input parameters with [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") equal to 0. Ordered as in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters "). [More...](#ab511c5b8fcb3ad4e1de8cb46a14af365)  
 <a id="details" name="details"></a>## Detailed Description

a group of random fields belonging together (either a single random field, or multiple cross-correlated fields)



## Member Function Documentation

<a id="a53363b1a8192d07ec5fca9d613c28f56"></a>## [◆ ](#a53363b1a8192d07ec5fca9d613c28f56)activeInputCoP()

 [Matrix](class_matrix.xhtml) activeInputCoP  ( ) 

Returns the CoPs of each input quantity in this [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat..."). Ordered as in [activeInputIdentsVector()](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6 "returns a string vector of all active scalar input parameters. Ordered as in activeLowerBounds(), activeUpperBounds(), activeInputCoP() "), [activeLowerBounds()](class_m_o_p.xhtml#a82983b0429ef4ead0dec4a3b96098595 "Get a Vector of active input parameters' lower bounds of valid MOP evaluation values. Ordered as in activeInputIdentsVector(). ") and [activeUpperBounds()](class_m_o_p.xhtml#afd32f5aadfa0729d6a54e3f4e110c494 "Get a Vector of active input parameters' upper bounds of valid MOP evaluation values. Ordered as in activeInputIdentsVector(). ").

ReturnsA column vector containing all input CoPs 



<a id="ab19fdf8d3eb67cc0d77cbbff38ff4b83"></a>## [◆ ](#ab19fdf8d3eb67cc0d77cbbff38ff4b83)activeInputIdent()

 string activeInputIdent  ( number  *i\_input*) 

Returnsthe ident of a respective scalar input parameter Parameters i\_inputthe index of the respective input parameter rangin from 0 to [numActiveInputs()](class_m_o_p.xhtml#ac8434f6aa78120ee35c1e32423589f74). Also the ordering refers to centerInputValues. 



<a id="a594241da810bf7fe97ff3a922e3c2760"></a>## [◆ ](#a594241da810bf7fe97ff3a922e3c2760)activeInputIndices()

 std::vector&lt;number&gt; activeInputIndices  ( ) 

Active node indices. Use this to access active inputs in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters "), [inputCoP()](class_m_o_p.xhtml#af82794c7116172eb14385d5abd419b50 "Returns the CoPs of each input quantity in this MOP. Ordered as in inputIdentsVector() ...") and [centerInputValues()](class_m_o_p.xhtml#aba735568f140165005a3a7493a52ff62)

Returnsthe active node indices 



<a id="a82983b0429ef4ead0dec4a3b96098595"></a>## [◆ ](#a82983b0429ef4ead0dec4a3b96098595)activeLowerBounds()

 [Matrix](class_matrix.xhtml) activeLowerBounds  ( ) 

Get a Vector of active input parameters' lower bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaluation values. Ordered as in [activeInputIdentsVector()](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6 "returns a string vector of all active scalar input parameters. Ordered as in activeLowerBounds(), activeUpperBounds(), activeInputCoP() ").

Returnsa column vector of number precision lower bound values. 



<a id="afd32f5aadfa0729d6a54e3f4e110c494"></a>## [◆ ](#afd32f5aadfa0729d6a54e3f4e110c494)activeUpperBounds()

 [Matrix](class_matrix.xhtml) activeUpperBounds  ( ) 

Get a Vector of active input parameters' upper bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaluation values. Ordered as in [activeInputIdentsVector()](class_m_o_p.xhtml#a7b8fa0ac482e3e5b4835bd2af91220a6 "returns a string vector of all active scalar input parameters. Ordered as in activeLowerBounds(), activeUpperBounds(), activeInputCoP() ").

ReturnsA column vector of number precision upper bound values. 



<a id="aba735568f140165005a3a7493a52ff62"></a>## [◆ ](#aba735568f140165005a3a7493a52ff62)centerInputValues()

 [Matrix](class_matrix.xhtml) centerInputValues  ( ) 

Returnsthe center values of all inputs 



<a id="ad3dbd1a08e814a8e5b6c8c46d1b43ff4"></a>## [◆ ](#ad3dbd1a08e814a8e5b6c8c46d1b43ff4)copyFieldCoPToDatabase()

 copyFieldCoPToDatabase  ( [Structure](class_structure.xhtml)  *database*,    bool  *overwrite\_existing*   ) 

copies contained data to the database (being visible in data object table), restricted to basic FieldCoP-data (all except Rsigma)

Parameters databasethe target database overwrite\_existingif true, then data objects with identical ident will be replaced, else an exception is thrown. 



<a id="af90a5eb5a4aed2af1bbd69207298a721"></a>## [◆ ](#af90a5eb5a4aed2af1bbd69207298a721)copyMostSensitiveToDatabase()

 copyMostSensitiveToDatabase  ( [Structure](class_structure.xhtml)  *database*,    bool  *overwrite\_existing*   ) 

copies contained data to the database (being visible in data object table), restricted to objects names 'most sensitive inputs'

Parameters databasethe target database overwrite\_existingif true, then data objects with identical ident will be replaced, else an exception is thrown. 



<a id="afab06d15908af8a8ad391c3c62f1ef1b"></a>## [◆ ](#afab06d15908af8a8ad391c3c62f1ef1b)copyRSigmaToDatabase()

 copyRSigmaToDatabase  ( [Structure](class_structure.xhtml)  *database*,    bool  *overwrite\_existing*   ) 

copies contained data to the database (being visible in data object table), restricted to all Rsigma objects

Parameters databasethe target database overwrite\_existingif true, then data objects with identical ident will be replaced, else an exception is thrown. 



<a id="a37662babd77d3217b300cc31a4ddf4af"></a>## [◆ ](#a37662babd77d3217b300cc31a4ddf4af)eraseDatabaseCopies()

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

deletes all data objects contained in this data structure from the respective database.

Parameters databasethe database to be deleted 



<a id="a7c58b7d50ad5676db022df82715e5156"></a>## [◆ ](#a7c58b7d50ad5676db022df82715e5156)evaluateAmplitudes()

 [Matrix](class_matrix.xhtml) evaluateAmplitudes  ( [Matrix](class_matrix.xhtml)  *inputs*,    bool  *use\_sampling\_bounds* = `true`   ) 

evaluates the Field-MOP for the amplitudes only

Parameters inputsthe column vector of the input parameters (ALL inputs!) use\_sampling\_boundsif true, then the method returns with an error if the input vector is outside of the original DOE boundaries; else it tries to extrapolate Returnsthe vector of amplitudes. 



<a id="af82794c7116172eb14385d5abd419b50"></a>## [◆ ](#af82794c7116172eb14385d5abd419b50)inputCoP()

 [Matrix](class_matrix.xhtml) inputCoP  ( ) 

Returns the CoPs of each input quantity in this [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat..."). Ordered as in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters ")

ReturnsA matrix contaiing all input CoPs 



<a id="a8f7106d9165b855c958678be43c9e4f5"></a>## [◆ ](#a8f7106d9165b855c958678be43c9e4f5)inputIdent()

 string inputIdent  ( number  *i\_input*) 

Get the ident of the i-th input parameter.

Parameters i\_inputthe index of the respective input parameter ranging from 0 to numInputs Returnsthe ident of a respective scalar input parameter 



<a id="a90e1ef91ed7f9d7c3448cb01d7bab656"></a>## [◆ ](#a90e1ef91ed7f9d7c3448cb01d7bab656)inputIdentsVector()

 TStringVector inputIdentsVector  ( ) 

returns a reference to a string vector of all scalar input parameters

Returns



<a id="a99676faaa7d62979bf03c2b80d924db5"></a>## [◆ ](#a99676faaa7d62979bf03c2b80d924db5)lowerBounds()

 [Matrix](class_matrix.xhtml) lowerBounds  ( ) 

Get a vector of input parameters' lower bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaulation values. Includes inactive input parameters with [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") equal to 0. Ordered as in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters ").

ReturnsA column vector of number precision lower bound values. 



<a id="ac8434f6aa78120ee35c1e32423589f74"></a>## [◆ ](#ac8434f6aa78120ee35c1e32423589f74)numActiveInputs()

 number numActiveInputs  ( ) 

Returnsthe number of active inputs 



<a id="a2556eb3339693ac4a80b79c2a93c2990"></a>## [◆ ](#a2556eb3339693ac4a80b79c2a93c2990)numInputs()

 number numInputs  ( ) 

Get the number of input parameters.

Returnsthe number of input parameters 



<a id="a03321500b0781030e74b1aa7cb05ab2f"></a>## [◆ ](#a03321500b0781030e74b1aa7cb05ab2f)overlaps()

 bool overlaps  ( [MOP](class_m_o_p.xhtml) const  *field*) 

Checks if this instance contains a quantity with an ident that is the same as an ident of a quantity in the given field quantity. (if it overlaps with the field)

Parameters fieldthe other field to be tested Returnstrue iff any quantity of the other field has the same ident as a quantity in this object 



<a id="aee9da7d00e9818fcb049a056e8301289"></a>## [◆ ](#aee9da7d00e9818fcb049a056e8301289)rfGroup()

 [RandomFieldGroup](class_random_field_group.xhtml) rfGroup  ( ) 

Returns read access to the underlying field models (a group of random fields)

Returnsa const-reference to the respective field container 



<a id="aab158d6a5e02675cd1e1162752d4b7ec"></a>## [◆ ](#aab158d6a5e02675cd1e1162752d4b7ec)scalarMOPContainer()

 handler::ScalarMOPContainer scalarMOPContainer  ( ) 

Returns read access to the underlying scalar model (a group of scalar models/scalarMOP)

Returnsa const-reference to the respective [ScalarMOP](struct_scalar_m_o_p.xhtml "This is only a sketch of the possible ScalarMOPApproximate API Implementation shall be refined if mor...") object 



<a id="ad83b954a8ff9b4f57dee66a807b1ab0d"></a>## [◆ ](#ad83b954a8ff9b4f57dee66a807b1ab0d)totalCoP()

 number totalCoP  ( ) 

Returns the total [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") of this [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...").

ReturnsTotal [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") value 



<a id="ab511c5b8fcb3ad4e1de8cb46a14af365"></a>## [◆ ](#ab511c5b8fcb3ad4e1de8cb46a14af365)upperBounds()

 [Matrix](class_matrix.xhtml) upperBounds  ( ) 

Get a vector of input parameters' upper bounds of valid [MOP](class_m_o_p.xhtml "a group of random fields belonging together (either a single random field, or multiple cross-correlat...") evaulation values. Includes inactive input parameters with [CoP](struct_co_p.xhtml "Reference implementation for a quality metric for MOP models. ") equal to 0. Ordered as in [inputIdentsVector()](class_m_o_p.xhtml#a90e1ef91ed7f9d7c3448cb01d7bab656 "returns a reference to a string vector of all scalar input parameters ").

ReturnsA column vector of number precision upper bound values.