Skip to main content

oSP3D Script API 2024 R1

Field models

Last update: 16.07.2025

Calculate and evalute field models (e.g. synthetic random fields, empirical random fields) More...

Classes

class  ApproximateRandomField
 an algorithm that computes new field samples from amplitudes and random field model More...
 
class  ComputeAmplitudes
 Decomposition of one or multiple random fields. More...
 
class  ComputeRandomFieldErrors
 Decomposition of one or multiple random fields. More...
 
class  ExternalRandomFieldModel< TYPE >
 Provides random field models. More...
 
class  FreeFormVariationModel< TYPE >
 Provides random field models. More...
 
class  GenerateRandomFields
 an algorithm that computes new field samples from amplitudes and scatter shapes The algorithm is essentially the same is the class FieldDesignsFromAmplitudes, but it is based on the data structures stored in class RandomFieldContainer. More...
 
class  PiecewiseConstantModel< TYPE >
 Provides random field models. More...
 
class  RandomFieldDecompositionFromSamples
 Decomposition of one or multiple random fields. More...
 
class  RandomFieldModel< TYPE >
 Provides random field models. More...
 
class  ReconstructData
 Data reconstruction of missing data items using one or multiple random fields. More...
 

Functions

Matrix generateRandomIndices (number number, number max_number, size_t seed=std::time(NULL))
 
 template (ExternalRandomFieldModelNode) ExternalRandomFieldModel< NODE_DATA >
 
 template (ExternalRandomFieldModelElement) ExternalRandomFieldModel< ELEMENT_DATA >
 
 template (PiecewiseConstantModelNode) PiecewiseConstantModel< NODE_DATA >
 
 template (PiecewiseConstantModelElement) PiecewiseConstantModel< ELEMENT_DATA >
 
 template (FreeFormVariationModelNode) FreeFormVariationModel< NODE_DATA >
 
 template (FreeFormVariationModelElement) FreeFormVariationModel< ELEMENT_DATA >
 
 template (RandomFieldModelNode) RandomFieldModel< NODE_DATA >
 
 template (RandomFieldModelElement) RandomFieldModel< ELEMENT_DATA >
 

Detailed Description

Calculate and evalute field models (e.g. synthetic random fields, empirical random fields)

Function Documentation

◆ generateRandomIndices()

Matrix generateRandomIndices ( number  number,
number  max_number,
size_t  seed = std::time(NULL) 
)
Returns
a vector with random indices
Parameters
numberthe number of indices
max_numberthe number N of possible indices (0..N-1)
seedthe seed of thr random number generator

Connect with Ansys