Skip to main content

DPF Framework 2026 R1

utility:compute time scoping

Last update: 31.07.2026

Version: 0.0.0

Description

Computes the time frequency scoping (made of set IDs) necessary to interpolate on a list of time or frequencies.

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.

Pin number Name Status Expected type(s)
0 time_freq_values Required double, vector<double>, field, time_freq_support
2 step int32
4 interpolation_type int32
8 time_freq_support Required time_freq_support

time_freq_values (Pin 0)

List of frequencies or times needed. To specify load steps, put a field (and not a list) in input with a scoping located on "TimeFreq_steps".

step (Pin 2)

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

interpolation_type (Pin 4)

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

1:ramped' or 2:stepped', default is ramped

time_freq_support (Pin 8)

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.

Pin number Name Expected type(s)
0 scoping scoping
1 field field

scoping (Pin 0)

time_scoping

field (Pin 1)

  • Expected type(s): field

time_freq_values

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: compute_time_scoping

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.

C++
#include "dpf_api.h"

ansys::dpf::Operator op("compute_time_scoping"); // operator instantiation
op.connect(0, my_time_freq_values);
op.connect(2, my_step);
op.connect(4, my_interpolation_type);
op.connect(8, my_time_freq_support);
ansys::dpf::Scoping my_scoping = op.getOutput<ansys::dpf::Scoping>(0);
ansys::dpf::Field my_field = op.getOutput<ansys::dpf::Field>(1);
CPython
import ansys.dpf.core as dpf

op = dpf.operators.utility.None() # operator instantiation
op.inputs.time_freq_values.connect(my_time_freq_values)
op.inputs.step.connect(my_step)
op.inputs.interpolation_type.connect(my_interpolation_type)
op.inputs.time_freq_support.connect(my_time_freq_support)
my_scoping = op.outputs.scoping()
my_field = op.outputs.field()
IPython
import mech_dpf
import Ans.DataProcessing as dpf

op = dpf.operators.utility.None() # operator instantiation
op.inputs.time_freq_values.Connect(my_time_freq_values)
op.inputs.step.Connect(my_step)
op.inputs.interpolation_type.Connect(my_interpolation_type)
op.inputs.time_freq_support.Connect(my_time_freq_support)
my_scoping = op.outputs.scoping.GetData()
my_field = op.outputs.field.GetData()

Changelog

  • Version 0.0.0: Initial release.

Connect with Ansys