ApproximateRandomField Class Reference
Last update: 16.07.2025an algorithm that computes new field samples from amplitudes and random field model More...
Public Types | |
| typedef std::vector< string > | StringVector |
| typedef for vector of string | |
Public Member Functions | |
| ApproximateRandomField (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_rf_idents |
| the idents of selected ELEMENT_DATA Field data models | |
| StringVector | intpt_rf_idents |
| the idents of selected INTPT_DATA Field data models | |
| StringVector | node_rf_idents |
| the idents of selected NODE_DATA Field data models | |
| bool | overwrite_existing |
| if true, existing outut objects will be replaced, otherwise: error if it already exists | |
| StringVector | scalar_rf_idents |
| the idents of selected SCALAR_DATA Field data models | |
| DataObjectContainer | selected_inputs |
| contains the selected scalar input samples | |
Detailed Description
an algorithm that computes new field samples from amplitudes and random field model
Constructor & Destructor Documentation
◆ ApproximateRandomField()
| ApproximateRandomField | ( | bool | enforce_equal_idents = false | ) |
constructor
- Parameters
-
enforce_equal_idents if 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
-
database the database we refer to
- Exceptions
-
an exception in case of an error
◆ compute()
| compute | ( | Structure | database | ) |
computes the new objects
- Parameters
-
database the database we refer to