> ## 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.

# ComputeNodalCoorDeviation Struct Reference

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

a struct which collects settings for *computeNodalCoorDeviation*

## Public Member Functions

| Type | Name |
| - | - |
| | [check](#a0189742f0da37a369d017a2050a4719e) ([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), [Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) other) 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](#a26489e6c76f5d0965166ffe579ee857f) ([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), [Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) other) computes the deviation of nodal coordinates between two meshes for multiple designs |
| | [ComputeNodalCoorDeviation](#ad46e4813869fcaa609a4898daa5143e0) ([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), [DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) the\_data) constructor which sets suitable defaults for all members |
| [DataObjectContainer::string\_vector\_type](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md#ac293ea0e5c280f69a497ea20f20c60b9) | [getDesignList](#aefe1c6e9dd58271755ca069fdf346207) () const determins a minimal list of possible designs |

## Public Attributes

| Type | Name |
| - | - |
|  bool | [associate\_face\_normals](#a7dbc119025a1e10805b8513bcacf800f) if true, then the detection tries to associate only those boundary faces which point into the same half space This may be good for thin-walled structures, but may fail in case of large deformations. |
| [DataObjectContainer](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_container.md) | [data](#aff21fffab499ea652443206d66e1a9bb) the data set to be analyzed |
|  number | [max\_search\_distance](#a84f171f159e44cda05468c390a26b117) the maximum search distance used in closest-point projection. default: 1/1000. of the maximum geometry dimension |
|  string | [new\_normal\_deviation\_ident](#a0b9ec182265ba45241552ff7f16c00c5) the ident of the nodal deviation object along normal direction (if empty: no object will be created) |
|  string | [new\_x\_deviation\_ident](#ab520eea66858d526a07de90390e1848a) the ident of the nodal deviation object along x direction (if empty: no object will be created) |
|  string | [new\_y\_deviation\_ident](#a379503396eb9accb822e19da8f4aebdd) the ident of the nodal deviation object along y direction (if empty: no object will be created) |
|  string | [new\_z\_deviation\_ident](#aad269398b809e89e37bf0121f27b5a3c) the ident of the nodal deviation object along z direction (if empty: no object will be created) |
|  bool | [number\_sided\_n2s\_contact](#adf4bf7ef2a5f03a8fd33c34eb119744f) defines if a number sided node-to-surface projection is used in closest-point projection (recommended). If not, only the boundary nodes of *mesh\_project\_contactor* are chosen. |
|  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. |
|  string | [x\_coor\_ident](#a6825b5dc4ccdba6de65e45b3860e1c5c) quantity representing x-coordiante |
|  string | [y\_coor\_ident](#a6a8ddf0194439f51b9be18cb5d994dae) quantity representing y-coordiante |
|  string | [z\_coor\_ident](#a3a3fb9a43eb09e70eed52ee2486e5d32) quantity representing z-coordiante |

## Detailed Description

a struct which collects settings for *computeNodalCoorDeviation*

## Constructor & Destructor Documentation

### ComputeNodalCoorDeviation()

```cpp theme={null}
ComputeNodalCoorDeviation(
    Structure database,
    DataObjectContainer the_data
)
```

constructor which sets suitable defaults for all members

**Parameters**

| Name | Description |
| - | - |
| the\_data | the subset of field data to be token as input. |
| database | is the database to which *the\_data* refers to. Is used to get information on the mesh geometry. The quantity idents are token as coordinate idents (in increasing alphabetical order). (the 1st 3 are token) |

## Member Function Documentation

### check()

```cpp theme={null}
check(
    Structure database,
    Structure other
)
```

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 |
| other | the other mesh from which the deviation is meshed |

### compute()

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

computes the deviation of nodal coordinates between two meshes for multiple designs

**Parameters**

| Name | Description |
| - | - |
| database | the database where all new quantities are added to. |
| other | the other mesh. The deviation will be computed between the design meshes with respect to this mesh. Each design mesh is obtained by modifying the coordinates of the mesh stored in *database*. Then the deviation between /a other and this design mesh is computed. |

### getDesignList()

```cpp theme={null}
DataObjectContainer::string_vector_type getDesignList() const
```

determins a minimal list of possible designs

**Returns**

a vector of design sidents
