Skip to main content

math:+ (fields container)

Version: 0.0.0

Description

Selects all fields with the same label space in the input fields container and add those together. If fields, doubles, or vectors of doubles, are put in input they are added to all the fields.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerfields_container, field, double, vector<double>

Outputs

OutputNameExpected type(s)Description
Pin 0fields_containerfields_container

Configurations

NameExpected type(s)Default valueDescription
binary_operationbinary_operation_enum, int321This option allows to choose how two inputs will be treated together. eOnlyIntersection (0) means that the output will only contain the entities shared by all the inputs. eUnion (1) means that the output will contain all the entities contained in at least one of the inputs.
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.
num_threadsint320Number of threads to use to run in parallel
permissiveboolfalseIf this option is set to true, warning checks (like unit or data sizes) won't be done.
run_in_parallelbooltrueLoops are allowed to run in parallel if the value of this config is set to true.
use_cachebooltrueSome intermediate data is put in cache if this config is set to true. This option can reduce computation time after the first run.
work_by_indexboolfalseIf this option is set to true, loops and comparisons by entity will be done by index instead of ids.

Scripting

Category: math

Plugin: core

Scripting name: None

Full name: None

Internal name: add_fc

License: None

Changelog

  • Version 0.0.0: Initial release.