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

# composite:map_to_reference_surface_operator

**Version: 0.0.0**

## Description

Maps values from a min and max field container, according to a mapping defined in a Property field. The property field contains a list of ids for every entity. The operator then computes the minimum/maximum of all the linked entities in the list. The maximum is computed according to the 'value' label. An output container is generated that contains the value, mode, global\_layer\_in\_stack, local\_layer\_in\_element and solid\_element\_id. Example:   - Mapping field \{1: \{4,5}, 2: \{8}}  - Max Container with the following fields:  -- value \{4: 10, 5:20, 8: 30}  -- mode \{4: 1, 5: 2, 8: 3}  -- layer\_index \{4: 3, 5: 5, 8: 7}  -- layers per element field: \{4: 3, 5: 7, 8: 2}Will result in an Max Container with the following fields:  -- value \{1: 20, 2: 30}  -- mode \{1: 2, 2: 3}  -- global\_layer\_in\_stack \{1: 8, 2: 17}  -- local\_layer\_in\_element \{1: 5, 2: 7}  -- solid\_element\_id \{1: 5, 2: 8} And similarly for the min container.

## Inputs

| Input | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** Required | mapping\_field | [`property_field`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#property-field) | Mapping property field. Contains a list of ids for every entity. |
| **Pin 1** Required | min\_container | [`fields_container`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#fields-container) | Min fields container. Container that contains value, mode and layer index field with the minimum values. |
| **Pin 2** Required | max\_container | [`fields_container`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#fields-container) | Max fields container. Container that contains value, mode and layer index field with the maximum values. |
| **Pin 3** Required | layers\_per\_element | [`property_field`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#property-field) | Property field that contains the number of layers for each element. |
| **Pin 7** Required | mesh | [`abstract_meshed_region`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#meshed-region) | Meshed region of reference surface. Used as the support for the output fields. |

## Outputs

| Output | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** | min\_container | [`fields_container`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#fields-container) | Min Container. Contains five fields with the values, modes, global\_layer\_in\_stack, local\_layer\_in\_element and solid\_element\_id |
| **Pin 1** | max\_container | [`fields_container`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#fields-container) | Max Container. Contains five fields with the values, modes, global\_layer\_in\_stack, local\_layer\_in\_element and solid\_element\_id |

## Configurations

| Name | Expected type(s) | Default value | Description |
| - | - | - | - |
| **mutex** | [`bool`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#standard-types) | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |

## Scripting

**Category**: composite

**Plugin**: composite

**Scripting name**: map\_to\_reference\_surface\_operator

**Full name**: composite.map\_to\_reference\_surface\_operator

**Internal name**: composite::map\_to\_reference\_surface\_operator

**License**: None

## Changelog

* Version 0.0.0: Initial release.
