Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ReconstructData Class Reference

Last update: 16.07.2025

Data reconstruction of missing data items using one or multiple random fields. More...

Public Types

enum  enum_type { STOCHASTIC = 0, STOCHASTIC_AND_INTERPOLATE }
 an enum type defining the way how missing items are interpreted More...
 

Public Member Functions

 check (Structure database)
 checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine. More...
 
 compute (Structure database)
 performs the reduction of a random field for multiple sets of samples More...
 
 ReconstructData ()
 constructor
 

Public Attributes

enum_type algorithm
 defines the algorithm type //!
 
DataObjectContainer element_data
 the data set to be analyzed
 
DataObjectContainer node_data
 the data set to be analyzed
 
bool overwrite_existing
 Is true if already existing output data objects will be replaced. In this case, also all depending objects of the already existing one will be deleted.
 
string prefix
 The string used to prefix the original quntity ident.
 
DataObjectContainer scalar_data
 the data set to be analyzed
 

Detailed Description

Data reconstruction of missing data items using one or multiple random fields.

Member Enumeration Documentation

◆ enum_type

enum enum_type

an enum type defining the way how missing items are interpreted

Enumerator
STOCHASTIC 

reconstruct missing item values using the random field field model (missing items will truely by ignored in the projection into subspace)

STOCHASTIC_AND_INTERPOLATE 

like STOCHASTIC, but ensures exactness of available data by adding an interpolation to the reconstructed parts.

Member Function Documentation

◆ check()

check ( Structure  database)

checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine.

Parameters
databasethe SoS structure

◆ compute()

compute ( Structure  database)

performs the reduction of a random field for multiple sets of samples

Parameters
databasethe output object where new objects are added to

Connect with Ansys