Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ApproximateMOP Class Reference

Last update: 16.07.2025

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

Public Types

typedef std::vector< string > StringVector
 typedef for vector of string
 

Public Member Functions

 ApproximateMOP (bool enforce_equal_idents=false)
 constructor More...
 
 check (Structure database)
 checks the settings More...
 
 compute (Structure database)
 computes the new objects More...
 

Public Attributes

bool accept_partial_subspace
 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.
 
StringVector element_fmop_idents
 the idents of selected ELEMENT_DATA field meta models
 
StringVector node_fmop_idents
 the idents of selected NODE_DATA field meta models
 
bool overwrite_existing
 if true, existing outut objects will be replaced, otherwise: error if it already exists
 
StringVector scalar_fmop_idents
 the idents of selected SCALAR_DATA field meta models
 
DataObjectContainer selected_inputs
 contains the selected scalar input samples
 
bool use_sampling_bounds
 if true, the point to be approximated, must be within the original sampling bounds.
 

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.

Constructor & Destructor Documentation

◆ ApproximateMOP()

ApproximateMOP ( 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

◆ check()

check ( Structure  database)

checks the settings

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

◆ compute()

compute ( Structure  database)

computes the new objects

Parameters
databasethe database we refer to

Connect with Ansys