Skip to main content
Version: 0.0.0

Description

Splits a list of time/freq values into chunks depending on evaluated result properties,mesh size and max number of bytes accepted and calls “make_for_each_range” to generate a range that can be consumed by the for_each operator

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.

target_time_freq_values (Pin 0)

List of time/freq values to potentially split in chunks.

operator_to_iterate (Pin 1)

  • Required: Yes
  • Expected type(s): operator
Operator that must be reconnected with the range values.

pin_index (Pin 2)

  • Required: Yes
  • Expected type(s): int32

abstract_meshed_region (Pin 7)

The number of nodes (for “Nodal” results) or number of elements (for “Elemental” results) is used to compute the chunk.

chunk_config (Pin 200)

a data tree with an int attribute “max_num_bytes”, an int attribute “dimensionality” (average result size by entity), a string attribute “location” (“Nodal” or”Elemental”) is expected.

producer_op1 (Pin 1000)

  • Required: Yes
  • Expected type(s): operator

output_pin_of_producer_op1 (Pin 1001)

  • Required: Yes
  • Expected type(s): int32

input_pin_of_consumer_op1 (Pin 1002)

  • Required: Yes
  • Expected type(s): int32

consumer_op1 (Pin 1003)

  • Required: Yes
  • Expected type(s): operator

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.

chunks (Pin 0)

  • Expected type(s):
To connect to “producer_consumer_for_each” Operator on pin 0

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.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. Category: utility Plugin: core Scripting name: None Full name: None Internal name: mechanical::make_time_chunk_for_each License: None

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.