Skip to main content

averaging:elemental difference (fields container)

Version: 0.0.0

Description

Transforms an Elemental Nodal or Nodal field into an Elemental field. Each elemental value is the maximum difference between the unaveraged or averaged (depending on the input fields) computed result for all nodes in this element. The result is computed on a given element scoping. If the input fields are mixed shell/solid, and the shell's layers are not specified as collapsed, then the fields are split by element shape and the output fields container has an elshape label.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerfields_container
Pin 1meshabstract_meshed_region, meshes_containerThe mesh region in this pin is used to perform the averaging, used if there is no fields support.
Pin 3scopingscoping, scopings_containerAverage only on these elements. If it is scoping container, the label must correspond to the one of the fields container.
Pin 10collapse_shell_layersboolIf true, the data across different shell layers is averaged as well (default is false).

Outputs

OutputNameExpected type(s)Description
Pin 0fields_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.
num_threadsint320Number of threads to use to run in parallel
run_in_parallelbooltrueLoops are allowed to run in parallel if the value of this config is set to true.

Scripting

Category: averaging

Plugin: core

Scripting name: elemental_difference_fc

Full name: averaging.elemental_difference_fc

Internal name: elemental_difference_fc

License: any_dpf_supported_increments

Changelog

  • Version 0.0.0: Initial release.