Skip to main content
Namespace: Ans.DataProcessing.operators.scoping

Summary

Computes the element centroids of the mesh. It also outputs the element measure. available inputs: element_scoping (Scoping) (optional), mesh (MeshedRegion) available outputs: centroids (Field), measure (Field)

Example

Class Information

Inputs

element_scoping

If provided, only the centroids of the elements in the scoping are computed. Type: LinkableInput

mesh

Mesh to compute centroids Type: LinkableInput

Outputs

centroids

element centroids. Type: LinkableOutput

measure

element measure (length, surface or volume depending on the dimension of the element). Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • element_scoping (object)
  • mesh (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config