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

# Toolbox

Data analysis and manipulation toolbox.

## Classes

| Type | Name |
| - | - |
| class | [ComputeAbsoluteMaxima\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_maxima.md) a struct which collects settings for *[ComputeAbsoluteMaxima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_maxima.md)* |
| class | [ComputeAbsoluteMinima\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_minima.md) a struct which collects settings for *[ComputeAbsoluteMinima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_minima.md)* |
| struct | [ComputeNodalCoorDeviation](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_compute_nodal_coor_deviation.md) a struct which collects settings for *computeNodalCoorDeviation* |
| class | [ComputeRelativeMaxima\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_maxima.md) a struct which collects settings for *[ComputeRelativeMaxima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_maxima.md)* |
| class | [ComputeRelativeMinima\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_minima.md) a struct which collects settings for *[ComputeRelativeMinima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_minima.md)* |
| class | [ComputeSingleObjectPerObject\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md) a base class for algorithms that apply a simple algorithm to obtain a single object from another object |
| class | [ComputeSingleObjectPerSample\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_sample.md) a base class for algorithms that apply a simple algorithm to obtain a single object from a single set of samples. |
| struct | [ConvertToElement\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_convert_to_element.md) a struct which collects settings for *convertToElement* |
| struct | [ConvertToNode\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_convert_to_node.md) a struct which collects settings for *convertToNode* |
| class | [CopyFilledData\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_copy_filled_data.md) a struct which collects settings for *[CopyFilledData](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_copy_filled_data.md)* |
| class | [DistanceField](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_distance_field.md) represents a distance field for an unstructured grid |
| class | [ExtractAboveThreshold\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_above_threshold.md) a struct which collects settings for *extractAboveThreshold* |
| class | [ExtractBelowThreshold\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_below_threshold.md) a struct which collects settings for *extractBelowThreshold* |
| class | [ExtractMissingDataFlags\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_missing_data_flags.md) a struct which collects settings for *[ExtractMissingDataFlags](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_missing_data_flags.md)* |
| class | [ExtractScalarsFromQuantity\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_scalars_from_quantity.md) a struct which collects settings for *extractAboveThreshold* |
| struct | [MeshMorpherSettings](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_mesh_morpher_settings.md) a class containing global settings for mesh morphing |
| class | [ReplaceAboveThreshold\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_above_threshold.md) a struct which collects settings for *[ReplaceAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_above_threshold.md)* |
| class | [ReplaceBelowThreshold\< TYPE >](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_below_threshold.md) a struct which collects settings for *[ReplaceBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_below_threshold.md)* |

## Functions

| Type | Name |
| - | - |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [checkPointsInElement](#ga3d271639ce30ae41ef6fc0b152d1708e) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) coors) checks in which finite element which coordinates are located |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [checkPointsInVolume](#ga216863415a26411ae9e4f7b9ebc843d9) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) coors) checks which coordinates are in the interior of a volume |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [computeEuclidianDistancesNode](#gaf3c9b09de87d21154d944be806306558) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) reference\_indices) computes the Euclidian distances of all nodes with respect to a given node set. |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [computeGraphDistancesNode](#ga6d1a880d55f0247e64fca274b358aa85) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) reference\_indices) computes the graph (i.e. normalized) distances of all nodes with respect to a given node set. |
| number | [computeLargestModelDimension](#ga49dfbde3573203385be3bdf60ccdb98c) ([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)) computes the largest axial dimension of the mesh |
| | [computeNodalCoorDeviation](#gad77a9797ed81a41c4cc04eed3cfe2401) ([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) mesh\_project\_target, [MetaStructure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_meta_structure.md) mesh\_project\_contactor, number max\_search\_distance, bool number\_sided\_n2s\_contact, string new\_x\_deviation\_ident, string new\_y\_deviation\_ident, string new\_z\_deviation\_ident, string new\_normal\_deviation\_ident, string new\_design\_ident, bool overwrite\_existing, bool associate\_face\_normals) computes the deviation of nodal coordinates between two meshes |
| [DataObjectVector](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_vector.md) | [computeNodalCoorDeviationVectorFromSignedDistance](#ga17463bc47c971d5ce84effc82610e8b0) ([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), [IndexMapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_index_mapper.md) index\_mapper, [DataObjectPtr](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_ptr.md) signed\_distance, bool use\_interpolated\_missing\_values, bool use\_distancefield, bool mesh\_smoothening) Computes the deviation vector (of node coordinates) given a signed distance vector and a reference mesh. The output will, of course, only contain the nodes on the boundary - all other are marked as "missing". |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [computeNodeIndicesWithOptimalSpatialDistribution](#gab5d59b8aea74df929cf4dc5d7dcfe380) ([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), number number, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) boundary\_indices) |
| | [computeSmoothenedCoorDeviationVector](#ga603da4e157ca813d3f8c756ec7904b76) ([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), [IndexMapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_index_mapper.md) index\_mapper, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) deviations, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) smoothened\_deviations, Eigen::VectorXd missing\_items\_of\_deviations) Computes the deviation vector (of node coordinates) given 3 vectors defining the desired deviation direction in 3d space and a reference mesh. The output will, only contain the nodes on the boundary - all other are marked as "missing". |
| [DataObjectVector](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_vector.md) | [computeSmoothenedCoorDeviationVector](#gab19910412f50ce5f1d4064e0877c7c81) ([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), [IndexMapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_index_mapper.md) index\_mapper, [DataObjectPtr](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_ptr.md) distance\_vector\_x, [DataObjectPtr](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_ptr.md) distance\_vector\_y, [DataObjectPtr](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_data_object_ptr.md) distance\_vector\_z, bool use\_interpolated\_missing\_values) Computes the deviation vector (of node coordinates) given 3 vectors defining the desired deviation direction in 3d space and a reference mesh. The output will, only contain the nodes on the boundary - all other are marked as "missing". |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [computeTopologicalDistancesElement](#ga603e2114e5daa50c03e89f27b3ad2063) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) reference\_indices) computes the topological distances of all elements with respect to a given element set. |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [computeTopologicalDistancesNode](#ga04d77239f0ea8db999841d66f7248f87) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) reference\_indices) computes the topological distances of all nodes with respect to a given node set. |
| [Structure](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_structure) | [extractSubstructure](#gac82afcfa64ebccbe4cc5f228b71ae523) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) nodes, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) elements) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [globalIndexFromElementSet](#gac40454960f443af9f7f89becd4be1f34) ([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), string part\_ident, string set\_ident) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [globalIndexFromNodeSet](#ga718f52c7baee70200cbbe83ce8926ece) ([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), string part\_ident, string set\_ident) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyElementsAdjacentToNodes](#gade8eabb9d84527dbbc0ff2a5ac517aca) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) node\_indices) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesInRange](#gadf306ee3797c53354e75eabd496726b3) ([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), number min\_x, number max\_x, number min\_y, number max\_y, number min\_z, number max\_z) identifies all nodes being in the defined rectangular region |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesNearFixedBoundary](#ga75ed12bdb94554c36fc8a53292a63732) ([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)) identifies all FE nodes being which are part of the current reference set and which touch the fixed boundary |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOfElements](#ga242ab68bb3053b304f54f7fff3b0c880) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) element\_indices) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOnBoundary](#ga18ebe568e5db4b165a81cdc98da3d28f) ([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)) identifies all FE nodes being on the boundary surface of a FEM mesh |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOnBoundaryEdges](#ga4ec8c55d9b81c9a90219f248ac33b64c) ([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)) identifies all FE nodes being on the boundary and on an edge of a FEM mesh or of the active domain. |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOnBoundaryNearSharpFeatures](#ga5fe93d5b9ee42dc1d6091e3bf03354f5) ([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), number cos\_angle\_limit) identifies all FE nodes on the boundary, at boundary edges and at boundary points with sharp edges/corners |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOnReferenceSetBoundary](#ga8b507ac76ab318ec7e76ee610ab9bd40) ([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)) identifies all FE nodes being on the edge of the current reference set (neighbours of nodes being not part of it) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOnSurfaceAndReferenceSetBoundary](#ga066af3bc2ce84788e60e71709cd34343) ([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)) identifies all FE nodes being on the boundary surface of a FEM mesh AND on the edge of the current reference set (neighbours of nodes being not part of it) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [identifyNodesOnSurfacePatches](#gad28b34776e07d60455e4ca099ea76bf8) ([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), [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) reference\_indices, number cos\_angle\_limit=0.75) identifies all FE nodes being on the boundary surface of a FEM mesh AND which define a single or multiple surface patches. A surface patch is defined by a part of the boundary that is delimited by an edge with too sharp angle between surface segements. |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [indexDifference](#gabbad639b996754299728f4a699b3cf11) ([Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) A, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) B) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [indexIntersection](#gab43769abbf6a48c1447575048d4b1007) ([Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) A, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) B) |
| [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) | [indexUnion](#ga00387fd8ba72b74464abfab40441ff23) ([Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) A, [Matrix](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_matrix.md) B) |
| | **template** (ExtractBelowThresholdNode) [ExtractBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_below_threshold.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ExtractBelowThresholdElement) [ExtractBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_below_threshold.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ExtractAboveThresholdNode) [ExtractAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_above_threshold.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ExtractBelowThresholdScalar) [ExtractBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_below_threshold.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ExtractAboveThresholdElement) [ExtractAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_above_threshold.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (CopyFilledDataNode) [CopyFilledData](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_copy_filled_data.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ExtractMissingDataFlagsNode) [ExtractMissingDataFlags](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_missing_data_flags.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ExtractAboveThresholdScalar) [ExtractAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_above_threshold.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ExtractScalarsFromQuantityNode) [ExtractScalarsFromQuantity](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_scalars_from_quantity.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (CopyFilledDataElement) [CopyFilledData](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_copy_filled_data.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ExtractMissingDataFlagsElement) [ExtractMissingDataFlags](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_missing_data_flags.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ComputeAbsoluteMaximaNode) [ComputeAbsoluteMaxima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_maxima.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ComputeAbsoluteMinimaNode) [ComputeAbsoluteMinima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_minima.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ExtractScalarsFromQuantityElement) [ExtractScalarsFromQuantity](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_scalars_from_quantity.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (CopyFilledDataScalar) [CopyFilledData](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_copy_filled_data.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ComputeAbsoluteMaximaElement) [ComputeAbsoluteMaxima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_maxima.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ComputeAbsoluteMinimaElement) [ComputeAbsoluteMinima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_absolute_minima.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ReplaceAboveThresholdNode) [ReplaceAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_above_threshold.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ReplaceBelowThresholdNode) [ReplaceBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_below_threshold.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ExtractMissingDataFlagsScalar) [ExtractMissingDataFlags](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_extract_missing_data_flags.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ReplaceAboveThresholdElement) [ReplaceAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_above_threshold.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ReplaceBelowThresholdElement) [ReplaceBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_below_threshold.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ReplaceAboveThresholdScalar) [ReplaceAboveThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_above_threshold.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ReplaceBelowThresholdScalar) [ReplaceBelowThreshold](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_replace_below_threshold.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ComputeRelativeMaximaNode) [ComputeRelativeMaxima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_maxima.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ComputeRelativeMinimaNode) [ComputeRelativeMinima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_minima.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ComputeRelativeMinimaElement) [ComputeRelativeMinima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_minima.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ComputeRelativeMaximaElement) [ComputeRelativeMaxima](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_relative_maxima.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ConvertNodeToNode) [ConvertToNode](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_convert_to_node.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ConvertNodeToElement) [ConvertToElement](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_convert_to_element.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ConvertElementToNode) [ConvertToNode](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_convert_to_node.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ConvertElementToElement) [ConvertToElement](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_convert_to_element.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ComputeSingleObjectPerSampleNode) [ComputeSingleObjectPerSample](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_sample.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ComputeSingleObjectPerSampleElement) [ComputeSingleObjectPerSample](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_sample.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ComputeSingleObjectPerSampleScalar) [ComputeSingleObjectPerSample](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_sample.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |
| | **template** (ComputeSingleObjectPerObjectNode) [ComputeSingleObjectPerObject](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md)\< [NODE\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a2bccb499db6de63e558b75b39da3d482) > |
| | **template** (ComputeSingleObjectPerObjectElement) [ComputeSingleObjectPerObject](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md)\< [ELEMENT\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379ae9445a58a2c3cd515f2058cbd3117174) > |
| | **template** (ComputeSingleObjectPerObjectScalar) [ComputeSingleObjectPerObject](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_compute_single_object_per_object.md)\< [SCALAR\_DATA](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data#gga1bebf1e22deb3cd41d7d99ddcdb15379a916fc40dfca5ba301488a121abe77495) > |

## Variables

| Type | Name |
| - | - |
| [MeshMorpherSettings](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_mesh_morpher_settings.md) | [mesh\_morpher\_settings](#ga655cb021f721f0981865bc866b508df4) global settings for mesh morphing |

## Detailed Description

Data analysis and manipulation toolbox.

## Function Documentation

### checkPointsInElement()

```cpp theme={null}
Matrix checkPointsInElement(
    Structure database,
    Matrix coors
)
```

checks in which finite element which coordinates are located

**Parameters**

| Name | Description |
| - | - |
| database | contains the mesh (FEM) |
| coors | the coordinates of the points to be tested (3\*N, each column is one coordinate in 3d) |

**Returns**

a column vector indicating outside by -1 and else the index of the finite element (with respect to indexMapper)

### checkPointsInVolume()

```cpp theme={null}
Matrix checkPointsInVolume(
    Structure database,
    Matrix coors
)
```

checks which coordinates are in the interior of a volume

**Parameters**

| Name | Description |
| - | - |
| database | contains the mesh |
| coors | the coordinates of the points to be tested (3\*N, each column is one coordinate in 3d) |

**Returns**

a column vector indicating outside by 0 and inside by 1

### computeEuclidianDistancesNode()

```cpp theme={null}
Matrix computeEuclidianDistancesNode(
    Structure database,
    Matrix reference_indices
)
```

computes the Euclidian distances of all nodes with respect to a given node set.

**Returns**

a vector containing the euclidian distances of each node to the respective reference nodes The euclidian distance between two nodes defines the distance between two nodes in Euclidian space (ignoring mesh topology). Numerical complexity is O(n\*m) with n = number of nodes, m=number of reference nodes;

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| reference\_indices | a vector containing the indices to nodes the define the zero distances (e.g. reference boundary) |

### computeGraphDistancesNode()

```cpp theme={null}
Matrix computeGraphDistancesNode(
    Structure database,
    Matrix reference_indices
)
```

computes the graph (i.e. normalized) distances of all nodes with respect to a given node set.

**Returns**

a vector containing the graph distances of each node to the respective reference nodes The graph distance defines between two nodes how many graph edges are used at least to connect the two nodes.

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| reference\_indices | a vector containing the indices to nodes the define the zero distances (e.g. reference boundary) |

### computeLargestModelDimension()

```cpp theme={null}
number computeLargestModelDimension(Structure database)
```

computes the largest axial dimension of the mesh

**Parameters**

| Name | Description |
| - | - |
| database | contains the mesh |

**Returns**

the largest dimension of the mesh along one of the axis.

### computeNodalCoorDeviation()

```cpp theme={null}
computeNodalCoorDeviation(
    Structure database,
    Structure mesh_project_target,
    MetaStructure mesh_project_contactor,
    number max_search_distance,
    bool number_sided_n2s_contact,
    string new_x_deviation_ident,
    string new_y_deviation_ident,
    string new_z_deviation_ident,
    string new_normal_deviation_ident,
    string new_design_ident,
    bool overwrite_existing,
    bool associate_face_normals
)
```

computes the deviation of nodal coordinates between two meshes

**Parameters**

| Name | Description |
| - | - |
| mesh\_project\_target | is the mesh to which the deviation is measured. the difference vector will be the difference of the coordinates of *mesh\_project\_contactor* minus the coordinates of *mesh\_project\_target*. On requires that the onSurface flags were set in the *mesh\_project\_target* mesh! |
| mesh\_project\_contactor | is the mesh from which the deviation is to be measured. If *mesh\_project\_target* and *mesh\_project\_contactor* are compatible, a simple algorithm is used which only takes the nodal coordinates (and the normal vectors on the boundary of *mesh-from*) as reference. If both are incompatible, then a real closest-point projection is performed. Usually, *mesh\_project\_contactor* is one of the imported design meshes. It must be identical or compatible with the mesh stored in database. If *mesh\_project\_contactor* is empty, one takes the mesh from *database* instead. The coordinate deviation is computes such that coor\[contactor]+deviation = coor\[target] |
| max\_search\_distance | the maximum search distance used in closest-point projection. |
| number\_sided\_n2s\_contact | 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. |
| new\_x\_deviation\_ident | the ident of the nodal deviation object along x direction (if empty: no object will be created) |
| new\_y\_deviation\_ident | the ident of the nodal deviation object along y direction (if empty: no object will be created) |
| new\_z\_deviation\_ident | the ident of the nodal deviation object along z direction (if empty: no object will be created) |
| new\_normal\_deviation\_ident | the ident of the nodal deviation object along normal direction (if empty: no object will be created) |
| new\_design\_ident | the design ident of all new objects |
| database | the database where all objects are to be inserted. |
| 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. |
| associate\_face\_normals | 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. |

### computeNodalCoorDeviationVectorFromSignedDistance()

```cpp theme={null}
DataObjectVector computeNodalCoorDeviationVectorFromSignedDistance(
    Structure database,
    IndexMapper index_mapper,
    DataObjectPtr signed_distance,
    bool use_interpolated_missing_values,
    bool use_distancefield,
    bool mesh_smoothening
)
```

Computes the deviation vector (of node coordinates) given a signed distance vector and a reference mesh. The output will, of course, only contain the nodes on the boundary - all other are marked as "missing".

**Parameters**

| Name | Description |
| - | - |
| mesh | The reference mesh |
| index\_mapper | the index mapper all data refer to |
| signed\_distance | The signed distance ("deviation") vector based on the reference mesh. |
| use\_interpolated\_missing\_values | If true, then one takes the interpolated value if the input has missing items. Otherwise, missing items in the input will be also missing in the output. |
| use\_distancefield | If false: Use normal vectors on the boundary. Else: Use distance field for geometric morphing. |
| mesh\_smoothening | if true: use iterative smoothening, if false: no smoothening |

**Returns**

A vector with 3 objects: the deviation along x \[0], y \[1], and z \[2] direction.

### computeNodeIndicesWithOptimalSpatialDistribution()

```cpp theme={null}
Matrix computeNodeIndicesWithOptimalSpatialDistribution(
    Structure database,
    number number,
    Matrix boundary_indices
)
```

**Returns**

a vector with node indices

**Parameters**

| Name | Description |
| - | - |
| number | the number of indices |
| boundary\_indices | the boundary indices, e.g. obtained from identifyNodesOnBoundaryEdges |
| database | the database containing the reference mesh |

### computeSmoothenedCoorDeviationVector() \[1/2]

```cpp theme={null}
computeSmoothenedCoorDeviationVector(
    Structure database,
    IndexMapper index_mapper,
    Matrix deviations,
    Matrix smoothened_deviations,
    Eigen::VectorXd missing_items_of_deviations
)
```

Computes the deviation vector (of node coordinates) given 3 vectors defining the desired deviation direction in 3d space and a reference mesh. The output will, only contain the nodes on the boundary - all other are marked as "missing".

**Parameters**

| Name | Description |
| - | - |
| mesh | The reference mesh |
| index\_mapper | the index mapper all data refer to |
| deviations | 3 columns containing the axial deviations |

**Returns**

A matrix with 3 columns: the deviation along x \[0], y \[1], and z \[2] direction.

### computeSmoothenedCoorDeviationVector() \[2/2]

```cpp theme={null}
DataObjectVector computeSmoothenedCoorDeviationVector(
    Structure database,
    IndexMapper index_mapper,
    DataObjectPtr distance_vector_x,
    DataObjectPtr distance_vector_y,
    DataObjectPtr distance_vector_z,
    bool use_interpolated_missing_values
)
```

Computes the deviation vector (of node coordinates) given 3 vectors defining the desired deviation direction in 3d space and a reference mesh. The output will, only contain the nodes on the boundary - all other are marked as "missing".

**Parameters**

| Name | Description |
| - | - |
| mesh | The reference mesh |
| index\_mapper | the index mapper all data refer to |
| distance\_vector\_x | The distance ("deviation") vector along x axis based on the reference mesh. |
| distance\_vector\_y | The distance ("deviation") vector along y axis based on the reference mesh. |
| distance\_vector\_z | The distance ("deviation") vector along z axis based on the reference mesh. |
| use\_interpolated\_missing\_values | If true, then one takes the interpolated value if the input has missing items. Otherwise, missing items in the input will be also missing in the output. |

**Returns**

A vector with 3 objects: the deviation along x \[0], y \[1], and z \[2] direction.

### computeTopologicalDistancesElement()

```cpp theme={null}
Matrix computeTopologicalDistancesElement(
    Structure database,
    Matrix reference_indices
)
```

computes the topological distances of all elements with respect to a given element set.

**Returns**

a vector containing the topological distances of each element to the respective reference elements The topological distance between two nodes defines the minimum cumulative distance along the graph edges to connect the two elements.

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| reference\_indices | a vector containing the indices to elements the define the zero distances (e.g. reference boundary) |

### computeTopologicalDistancesNode()

```cpp theme={null}
Matrix computeTopologicalDistancesNode(
    Structure database,
    Matrix reference_indices
)
```

computes the topological distances of all nodes with respect to a given node set.

**Returns**

a vector containing the topological distances of each node to the respective reference nodes The topological distance between two nodes defines the minimum cumulative distance along the graph edges to connect the two nodes.

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| reference\_indices | a vector containing the indices to nodes the define the zero distances (e.g. reference boundary) |

### extractSubstructure()

```cpp theme={null}
Structure extractSubstructure(
    Structure database,
    Matrix nodes,
    Matrix elements
)
```

**Returns**

a database containing only the specified spatial substructure of the original data

**Parameters**

| Name | Description |
| - | - |
| database | the original database |
| nodes | the global indices of the nodes to be exported |
| elements | the global indices of the elements to be exported |

The given indices refer to the curently active sets. All nodes being part of the given elements must be part of the specified list of nodes. The output database has the following properties:

* smaller mesh (limited to the node/elements)
* smaller node and element sets (limtied to the node/elements)
* copy of all scalar objects
* copy of all field objects, but with reduced dimension
* copy of all random fields, but with reduced dimension (probably not optimal -> recreation the random field is recommended)
* copy of all FMOP, but with reduced dimension (probably not optimal -> recreation the FMOP is recommended)

### globalIndexFromElementSet()

```cpp theme={null}
Matrix globalIndexFromElementSet(
    Structure database,
    string part_ident,
    string set_ident
)
```

**Returns**

a column vector containing the global indices of all elements that are in the given element set and in the currently set reference element set

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| part\_ident | the part ident of the element set |
| set\_ident | the ident of the element set within the part |

### globalIndexFromNodeSet()

```cpp theme={null}
Matrix globalIndexFromNodeSet(
    Structure database,
    string part_ident,
    string set_ident
)
```

**Returns**

a column vector containing the global indices of all nodes that are in the given node set and in the currently set reference node set

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| part\_ident | the part ident of the node set |
| set\_ident | the ident of the node set within the part |

### identifyElementsAdjacentToNodes()

```cpp theme={null}
Matrix identifyElementsAdjacentToNodes(
    Structure database,
    Matrix node_indices
)
```

**Returns**

a column vector containing the global indices of all elements that are connected to the given list of nodes

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| node\_indices | indices (global indices) of all nodes to be considered |

### identifyNodesInRange()

```cpp theme={null}
Matrix identifyNodesInRange(
    Structure database,
    number min_x,
    number max_x,
    number min_y,
    number max_y,
    number min_z,
    number max_z
)
```

identifies all nodes being in the defined rectangular region

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the mesh and refernece node set |
| min\_x | lower bound for X |
| max\_x | upper bound for X |
| min\_y | lower bound for Y |
| max\_y | upper bound for Y |
| min\_z | lower bound for Z |
| max\_z | upper bound for Z |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesNearFixedBoundary()

```cpp theme={null}
Matrix identifyNodesNearFixedBoundary(Structure database)
```

identifies all FE nodes being which are part of the current reference set and which touch the fixed boundary

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesOfElements()

```cpp theme={null}
Matrix identifyNodesOfElements(
    Structure database,
    Matrix element_indices
)
```

**Returns**

a column vector containing the global indices of all nodes that belong to the givven list of elements

**Parameters**

| Name | Description |
| - | - |
| database | the database containing the reference mesh |
| element\_indices | indices (global indices) of all elements to be considered |

### identifyNodesOnBoundary()

```cpp theme={null}
Matrix identifyNodesOnBoundary(Structure database)
```

identifies all FE nodes being on the boundary surface of a FEM mesh

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesOnBoundaryEdges()

```cpp theme={null}
Matrix identifyNodesOnBoundaryEdges(Structure database)
```

identifies all FE nodes being on the boundary and on an edge of a FEM mesh or of the active domain.

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesOnBoundaryNearSharpFeatures()

```cpp theme={null}
Matrix identifyNodesOnBoundaryNearSharpFeatures(
    Structure database,
    number cos_angle_limit
)
```

identifies all FE nodes on the boundary, at boundary edges and at boundary points with sharp edges/corners

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |
| cos\_angle\_limit | the cosine of the limiting angle between neighbouring normal vectors. If the actual scalar product is larger than the value defined here, it is considered as a sharp feature. "0" means e.g. an angle of >90° |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesOnReferenceSetBoundary()

```cpp theme={null}
Matrix identifyNodesOnReferenceSetBoundary(Structure database)
```

identifies all FE nodes being on the edge of the current reference set (neighbours of nodes being not part of it)

> [!NOTE]
>
> Advantage: Works also for nsets in interior of volumes. Disadvantage: All nodes of the bounding element layer are token as boundary. Check method identifyNodesOnSurfaceAndReferenceSetBoundary as alternative.

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesOnSurfaceAndReferenceSetBoundary()

```cpp theme={null}
Matrix identifyNodesOnSurfaceAndReferenceSetBoundary(Structure database)
```

identifies all FE nodes being on the boundary surface of a FEM mesh AND on the edge of the current reference set (neighbours of nodes being not part of it)

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### identifyNodesOnSurfacePatches()

```cpp theme={null}
Matrix identifyNodesOnSurfacePatches(
    Structure database,
    Matrix reference_indices,
    number cos_angle_limit = 0.75
)
```

identifies all FE nodes being on the boundary surface of a FEM mesh AND which define a single or multiple surface patches. A surface patch is defined by a part of the boundary that is delimited by an edge with too sharp angle between surface segements.

**Parameters**

| Name | Description |
| - | - |
| database | contains the FEM mesh |
| cos\_angle\_limit | the cosine of the limiting angle between neighbouring normal vectors. If the actual scalar product is larger than the value defined here, it is considered as a sharp feature. "0" means e.g. an angle of >90° |
| reference | indices contains the global indices of the FEM nodes which are located on the surface patch(es) to be identified. |

**Returns**

a vector with indices. Each index corresponds to a node and is the index in a dataobject.

### indexDifference()

```cpp theme={null}
Matrix indexDifference(
    Matrix A,
    Matrix B
)
```

**Returns**

a column vector containing the difference of the indices A-B

**Parameters**

| Name | Description |
| - | - |
| A | the first index matrix |
| B | the second index matrix |

### indexIntersection()

```cpp theme={null}
Matrix indexIntersection(
    Matrix A,
    Matrix B
)
```

**Returns**

a column vector containing the intersection of the indices A and B

**Parameters**

| Name | Description |
| - | - |
| A | the first index matrix |
| B | the second index matrix |

### indexUnion()

```cpp theme={null}
Matrix indexUnion(
    Matrix A,
    Matrix B
)
```

**Returns**

a column vector containing the union of all indices

**Parameters**

| Name | Description |
| - | - |
| A | the first index matrix |
| B | the second index matrix |
