Skip to main content

math:/ (component-wise fields container)

Version: 0.0.0

Description

For every two fields with the same label space (from the two input fields containers), computes component-wise fraction between two fields of same dimensionality. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerAfields_container
Pin 1
Required
fields_containerBfields_container

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: component_wise_divide_fc

License: None

Changelog

  • Version 0.0.0: Initial release.