Skip to main content
Version: 0.0.0

Description

Prepares a workflow able to map data from an input mesh to a target mesh.

Inputs

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

source_mesh (Pin 0)

Mesh where the source data is defined. PointCloud interpolations support both mesh/meshes_container and field/fields_container, whereas mesh-based interpolations only support mesh/meshes_container. If not set, an input pin named “source_mesh/source_coords” is exposed.

target_mesh (Pin 1)

Mesh where the target data is defined. PointCloud interpolations support both mesh/meshes_container and field/fields_container, whereas mesh-based interpolations only support mesh/meshes_container. If not set, an input pin named “source_mesh/source_coords” is exposed.

is_conservative (Pin 2)

  • Required: No
  • Expected type(s): bool
Boolean that indicates if the mapped variable is conservative (e.g. force) or not (e.g. pressure). If not set, an input pin named “is_conservative” is exposed.

location (Pin 3)

  • Required: No
  • Expected type(s): string
Mesh support of the mapped variable. Supported options: Nodal and Elemental. If not set, an input pin named “location” is exposed.

dimensionality (Pin 4)

  • Required: No
  • Expected type(s): int32
Dimensionality of the mapped variable. Supported options: 1 and 3 (scalars or vectors). If not set, an input pin named “dimensionality” is exposed.

is_pointcloud (Pin 5)

  • Required: No
  • Expected type(s): bool
Boolean that indicates if the PointCloud interpolation is preferred over the FEM interpolation. Default: false.

target_scoping (Pin 6)

Scoping that restricts the interpolation to a given set of nodes/elements in the target mesh. If not set, an input pin named “target_scoping” is exposed.

Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

mapping_workflow (Pin 0)

Workflow with input pin “source_data”; optionally “source_mesh/source_coords”, “target_mesh/target_coords”, “is_conservative”, “location”, “dimensionality” and “target_scoping”; and output pin “target_data”.

Configurations

This operator supports configuration options that modify its behavior.

mutex

  • Expected type(s): bool
  • Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

permissive

  • Expected type(s): bool
  • Default value: true
If permissive is set to false, the validity of the source and target meshes is checked before performing mapping, raising an error if they are invalid. If permissive is set to true, no check is done. Default is true.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. Category: mapping Plugin: N/A Scripting name: None Full name: None Internal name: create_sc_mapping_workflow License: any_dpf_supported_increments

Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

Changelog

  • Version 0.0.0: Initial release.