Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ComputeAmplitudes Class Reference

Last update: 16.07.2025

Decomposition of one or multiple random fields. More...

Public Types

enum  enum_missing_data_type { USE_MEAN = 0, INTERPOLATE, RECONSTRUCT }
 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)
 computes random field amplitudes for all node, element and scalar data More...
 
 ComputeAmplitudes ()
 constructor
 

Public Attributes

DataObjectContainer element_data
 the data set to be analyzed
 
enum_missing_data_type missing_items
 defines how missing items (eroded elements) are treated
 
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.
 
DataObjectContainer scalar_data
 the data set to be analyzed
 

Detailed Description

Decomposition of one or multiple random fields.

Member Enumeration Documentation

◆ enum_missing_data_type

an enum type defining the way how missing items are interpreted

Enumerator
USE_MEAN 

use mean value for missing items

INTERPOLATE 

use interpolated value of field object ("filled data")

RECONSTRUCT 

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

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)

computes random field amplitudes for all node, element and scalar data

Parameters
databasethe output object where new objects are added to

Connect with Ansys