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

Summary

Evaluates a result on specified coordinates (interpolates results inside elements with shape functions). available inputs: fields_container (FieldsContainer), coordinates (Field, FieldsContainer, MeshedRegion, MeshesContainer), create_support (bool) (optional), mapping_on_scoping (bool) (optional), tolerance (double) (optional), mesh (MeshedRegion, MeshesContainer) (optional), use_quadratic_elements (bool) (optional) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

coordinates

Type: LinkableInput

create_support

if this pin is set to true, then, a support associated to the fields consisting of points is created Type: LinkableInput

mapping_on_scoping

if this pin is set to true, then the mapping between the coordinates and the fields is created only on the first field scoping Type: LinkableInput

tolerance

Tolerance used in the iterative algorithm to locate coordinates inside the mesh. Default value: 5e-5. Type: LinkableInput

mesh

if the first field in input has no mesh in support, then the mesh in this pin is expected (default is false), if a meshes container with several meshes is set, it should be on the same label spaces as the coordinates fields container Type: LinkableInput

use_quadratic_elements

If this pin is set to true, the element search for each coordinate is computed on the quadratic element if the element is quadratic (more precise but less performant). Default is false. Type: LinkableInput

Outputs

fields_container

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • coordinates (object)
  • create_support (object)
  • mapping_on_scoping (object)
  • tolerance (object)
  • mesh (object)
  • use_quadratic_elements (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config