utility:merge weighted fields
Version: 0.0.0
Description
Assembles a set of fields into a unique one, applying a weight on the sum of the fields.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin -2 | sum_merge | bool | Default is false. If true, redundant quantities are summed instead of being ignored. |
| Pin -1 | merged_support | abstract_field_support | Already merged field support. |
| Pin 0 Required | fields | vector<shared_ptr<field>>, field, fields_container | Either a fields container, a vector of fields to merge, or fields from pin 0 to ... |
| Pin 1000 Required | weights | vector<shared_ptr<property_field>>, property_field | Weights to apply to each field from pin 1000 to ... |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | merged_field | field |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
Scripting
Category: utility
Plugin: core
Scripting name: merge_weighted_fields
Full name: utility.merge_weighted_fields
Internal name: merge::weighted_field
License: None
Changelog
- Version 0.0.0: Initial release.