Skip to main content

scoping:compute element centroids

Version: 0.0.0

Description​

Computes the element centroids of the mesh. It also outputs the element measure.

Inputs​

InputNameExpected type(s)Description
Pin 1element_scopingscopingIf provided, only the centroids of the elements in the scoping are computed.
Pin 7
Required
meshabstract_meshed_regionMesh to compute centroids

Outputs​

OutputNameExpected type(s)Description
Pin 0centroidsfieldelement centroids.
Pin 1measurefieldelement measure (length, surface or volume depending on the dimension of the element).

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.
run_in_parallelbooltrueLoops are allowed to run in parallel if the value of this config is set to true.

Scripting​

Category: scoping

Plugin: core

Scripting name: compute_element_centroids

Full name: scoping.compute_element_centroids

Internal name: compute_element_centroids

License: None

Changelog​

  • Version 0.0.0: Initial release.