> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ComputeRandomFieldErrors Class Reference

Part of [Field models](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__fieldmodels)

Decomposition of one or multiple random fields.

## Public Member Functions

| Type | Name |
| - | - |
| | [check](#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) [database](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gaebcac3a2836ec9fdf2e47bd812994b6b)) 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. |
| | [compute](#ab08e112d95fe611e7eb25491c354d115) ([Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) [database](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gaebcac3a2836ec9fdf2e47bd812994b6b)) performs the reduction of a random field for multiple sets of samples |
| | [ComputeRandomFieldErrors](#af8ad92a06093927ac20426a0383d4c50) () constructor |

## Public Attributes

| Type | Name |
| - | - |
| [DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) | [element\_data](#a0a142faa1cc762466b884ad3c8979f3a) the data set to be analyzed |
| [ComputeAmplitudes::enum\_missing\_data\_type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_amplitudes.md#af4a82e782245e02b74bdf0da297346ac) | [missing\_items](#af8f99d09dfe9b12d89a6e6b8ff6af558) defines how missing items (eroded elements) are treated |
| [DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) | [node\_data](#a4b3543f31398671628dd711c98a0d37e) the data set to be analyzed |
|  bool | [overwrite\_existing](#ade25e60bd85c8b4abd4f5b416cae0eb9) 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](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) | [scalar\_data](#a0c1c80374ba4d28153ed219819d24612) the data set to be analyzed |

## Detailed Description

Decomposition of one or multiple random fields.

## Member Function Documentation

### check()

```cpp theme={null}
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**

| Name | Description |
| - | - |
| database | the SoS structure |

### compute()

```cpp theme={null}
compute(Structure database)
```

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

**Parameters**

| Name | Description |
| - | - |
| database | the output object where new objects are added to |
