Skip to main content

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

InputNameExpected type(s)Description
Pin -3sum_mergeboolDefault is false. If true, redundant quantities are summed instead of being ignored.
Pin -2merged_fields_supportabstract_field_supportAlready merged field support.
Pin -1merged_fields_containers_supportabstract_field_support, umap<string,shared_ptr<abstract_field_support>>Already merged fields containers support.
Pin 0
Required
fields_containersvector<shared_ptr<fields_container>>, fields_containerA vector of fields containers to merge or fields containers from pin 0 to ...
Pin 1000
Required
weightsvector<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

OutputNameExpected type(s)Description
Pin 0merged_fields_containerfields_container

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.
read_inputs_in_parallelboolfalseIf 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.