utility:merge weighted fields containers
Version: 0.0.0
Description
Assembles a set of fields containers into a unique one, applying a weight on the sum of the fields.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin -3 | sum_merge | bool | Default is false. If true, redundant quantities are summed instead of being ignored. |
| Pin -2 | merged_fields_support | abstract_field_support | Already merged field support. |
| Pin -1 | merged_fields_containers_support | abstract_field_support, umap<string,shared_ptr<abstract_field_support>> | Already merged fields containers support. |
| Pin 0 Required | fields_containers | vector<shared_ptr<fields_container>>, fields_container | A vector of fields containers to merge or fields containers from pin 0 to ... |
| Pin 1000 Required | weights | vector<shared_ptr<class dataProcessing::DpfTypeCollection<class dataProcessing::CPropertyField>>>, class dataProcessing::DpfTypeCollection<class dataProcessing::CPropertyField> | Weights to apply to each field from pin 1000 to ... |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | merged_fields_container | fields_container |
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. |
| read_inputs_in_parallel | bool | false | If this option is set to true, the operator's inputs will be evaluated in parallel. |
Scripting
Category: utility
Plugin: core
Scripting name: merge_weighted_fields_containers
Full name: utility.merge_weighted_fields_containers
Internal name: merge::weighted_fields_container
License: None
Changelog
- Version 0.0.0: Initial release.