    

 ## On this page

  

 

 # Class ansys::dpf::TimeFreqSupport

 Last update: 25.03.2026 

<a id="classansys-dpf-timefreqsupport"></a>

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

Define a time/frequency set.

The time freq support describes an analysis' temporal or frequential space. For a transient analysis all the time sets cumulatives indices with their times are described. For a harmonic analysis, the real and imaginary frequencies, the RPMs, the load steps are described.

**Inherits from**:

- [ansys::dpf::DpfTypes](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes)

## Members

- [boundingCumulativeIndecesOfTimeFreq](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1ab4822e8cee3be5c03badce0e4cea3991)
- [callAPI](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1aea34d37e0c080126eff70db34bf46597)
- [deep\_copy](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a3addff6333f65b2ea810d7033315ac1c)
- [describe](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a9977945710983bc03d2940fa007847b2)
- [empty](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a39cd546c42518e2332be8f287db95459)
- [emptyTimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a7e75bb0b6e75fce04a882b70f9a48c17)
- [frequencies](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1aa0cf046a80d328f966892abe85308f01)
- [getClient](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a968afd9daa0b0f13b65a2ac61369d73a)
- [getImaginaryFreqByStep](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a85a5cf293b3c72cdfa0668450aba6673)
- [getImaginaryFreqSetIndexByValue](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1afaa513e5f4410b3a5f2fee984f41065c)
- [getSetIndexByStepIndexAndSubStep](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a018ae91fba33d3a61360c659a3fa49c8)
- [getSetIndexByTimeFreq](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a85e297af28a24a226cff64338b1a6326)
- [getStepAndSubStep](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a9596196456260be8d2899952dff29c64)
- [getTimeFreqByStep](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1abb6ca8360c5db93383e00db82cfcfa3f)
- [harmonicIndeces](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a101268a027373331f52244f52eb8b0d1)
- [harmonicIndicesScoping](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a4428c07ba03b6cf3dc65279cf8f2c08f)
- [hasBeenMovedLocally](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a1a5634202c15404b6b24e8f50e51cb66)
- [hasInternalObject](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1ae198f89868d85c7db6dc1a934a1d3c15)
- [imaginaryFrequencies](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a21319848f5f197398148551cbb74d4a0)
- [isOnCommonAPI](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1a9f9789ff61cc9d400a2a344830706b73)
- [isSameObject](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1aa64d5f8fcd7d85ad6ebf708494dbefd7)
- [numberOfSets](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a87c577de73b5ba2260cf3f940ac43068)
- [numberOfSingularSets](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1aee5b3fa99be60b203563cf58f2a78321)
- [numberOfSteps](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a6b3cc037c0283450ac0234dadeddd1b6)
- [numberOfSubStepsByStepId](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a190d202d30643f5ea398555b5dbea12b)
- [numberOfSubStepsByStepIndex](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a4333cdbfac1c49f802a9c33a18970ed5)
- [operator=](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a07bc20195f72ad854db1c75d86bbc650)
- [operator=](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a5e294f5e0106f102b5392cc837a249fa)
- [rpms](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1aa2e1dacc70c07e6d6ba401748e3d822e)
- [setHarmonicIndices](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a233c06f8d1967b7254dcf96df613e359)
- [setImaginaryFrequencies](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a934891bcade52745e6e80b7bf74193cf)
- [setRpms](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a855a9819d41665a1d9177fd8f67fa3f1)
- [setTimeFrequencies](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1aa01a23bf27be8e42ce3ec1da5e0ddcbe)
- [timeFreq](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a15d6bc620aadd070c1bb027a075ce0cd)
- [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1aea0de4f8a69689c5a18e95111e36568b)
- [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a16e1c71584c44429329b23360b537630)
- [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a3122b8e5c405333882e1682efd125596)
- [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a7bdbb2d84f701cffd060879288bbe9be)
- [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1afa5cdfa726a0af0a13c6e8ad30a5193a)
- [timeFrequenciesSubstepIds](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1ae138ce323b476464e3e114750eb5d686)
- [~DpfTypes](classansys-dpf-dpftypes.md#classansys-dpf-dpftypes-1ab7c83b6ea160c2b115e056f6c312112f)
- [~TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport-1a6bf642d15b41d6c009ffeb25a76a09f7)

## Friends

## Public functions

<a id="classansys-dpf-timefreqsupport-1aea0de4f8a69689c5a18e95111e36568b"></a>

### Function TimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
ansys::dpf::TimeFreqSupport::TimeFreqSupport()

```

**Return type**:

<a id="classansys-dpf-timefreqsupport-1a16e1c71584c44429329b23360b537630"></a>

### Function TimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
ansys::dpf::TimeFreqSupport::TimeFreqSupport(Client const *const client)

```

Create a new [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport) on a server.

**Parameters**:

- [Client](classansys-dpf-client.md#classansys-dpf-client) const \*const **client**: \[in\] [Client](classansys-dpf-client.md#classansys-dpf-client) instance designating the IP, port and protocol to use.

**Return type**:

<a id="classansys-dpf-timefreqsupport-1a3122b8e5c405333882e1682efd125596"></a>

### Function TimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
ansys::dpf::TimeFreqSupport::TimeFreqSupport(int id, Client const *const client)

```

Retrieve an existing instance of [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport) on a server.

**Parameters**:

- int **id**: \[in\] Id of the [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport) object on the server's database.
- [Client](classansys-dpf-client.md#classansys-dpf-client) const \*const **client**: \[in\] [Client](classansys-dpf-client.md#classansys-dpf-client) instance designating the IP, port and protocol to use.

**Return type**:

<a id="classansys-dpf-timefreqsupport-1a6bf642d15b41d6c009ffeb25a76a09f7"></a>

### Function ~TimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
virtual ansys::dpf::TimeFreqSupport::~TimeFreqSupport()

```

**Return type**:

<a id="classansys-dpf-timefreqsupport-1a7bdbb2d84f701cffd060879288bbe9be"></a>

### Function TimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
ansys::dpf::TimeFreqSupport::TimeFreqSupport(TimeFreqSupport const &)

```

**Parameters**:

- TimeFreqSupport const &amp;

**Return type**:

<a id="classansys-dpf-timefreqsupport-1afa5cdfa726a0af0a13c6e8ad30a5193a"></a>

### Function TimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
ansys::dpf::TimeFreqSupport::TimeFreqSupport(TimeFreqSupport &&) noexcept

```

**Parameters**:

- TimeFreqSupport &amp;&amp;

**Return type**:

<a id="classansys-dpf-timefreqsupport-1a07bc20195f72ad854db1c75d86bbc650"></a>

### Function operator=

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
TimeFreqSupport & ansys::dpf::TimeFreqSupport::operator=(TimeFreqSupport const &)

```

**Parameters**:

- TimeFreqSupport const &amp;

**Return type**: TimeFreqSupport &amp;

<a id="classansys-dpf-timefreqsupport-1a5e294f5e0106f102b5392cc837a249fa"></a>

### Function operator=

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
TimeFreqSupport & ansys::dpf::TimeFreqSupport::operator=(TimeFreqSupport &&) noexcept

```

**Parameters**:

- TimeFreqSupport &amp;&amp;

**Return type**: TimeFreqSupport &amp;

<a id="classansys-dpf-timefreqsupport-1a87c577de73b5ba2260cf3f940ac43068"></a>

### Function numberOfSets

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::numberOfSets() const

```

**Returns**:

Number of time frequency sets.

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a6b3cc037c0283450ac0234dadeddd1b6"></a>

### Function numberOfSteps

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::numberOfSteps() const

```

**Returns**:

Number of steps.

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a4333cdbfac1c49f802a9c33a18970ed5"></a>

### Function numberOfSubStepsByStepIndex

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepIndex(dp_int stepIndex) const

```

**Returns**:

Number of sub steps for a given step index (0 based).

**Parameters**:

- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **stepIndex**

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a190d202d30643f5ea398555b5dbea12b"></a>

### Function numberOfSubStepsByStepId

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepId(dp_int stepId) const

```

**Returns**:

Number of sub steps for a given step id.

**Parameters**:

- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **stepId**

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a018ae91fba33d3a61360c659a3fa49c8"></a>

### Function getSetIndexByStepIndexAndSubStep

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::getSetIndexByStepIndexAndSubStep(dp_int step, dp_int sub_step) const

```

**Returns**:

set index (0 based) at a given step index and substep index.

**Parameters**:

- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **step**
- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **sub\_step**

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a85a5cf293b3c72cdfa0668450aba6673"></a>

### Function getImaginaryFreqByStep

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_double ansys::dpf::TimeFreqSupport::getImaginaryFreqByStep(dp_index step, dp_index sub_step) const

```

**Returns**:

imaginary frequency at a given step index and substep indices.

**Parameters**:

- [dp\_index](namespaceansys-dpf.md#namespaceansys-dpf-1a417548d1b705a9ba54ba9429afe68920) **step**: \[in\] step index (0 based).
- [dp\_index](namespaceansys-dpf.md#namespaceansys-dpf-1a417548d1b705a9ba54ba9429afe68920) **sub\_step**: \[in\] sub\_step index (0 based).

**Return type**: [dp\_double](namespaceansys-dpf.md#namespaceansys-dpf-1acb480013bfed185b5e34a0bdcb0e3790)

<a id="classansys-dpf-timefreqsupport-1abb6ca8360c5db93383e00db82cfcfa3f"></a>

### Function getTimeFreqByStep

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_double ansys::dpf::TimeFreqSupport::getTimeFreqByStep(dp_index step, dp_index sub_step) const

```

**Returns**:

time frequency at a given step index and substep indices.

**Parameters**:

- [dp\_index](namespaceansys-dpf.md#namespaceansys-dpf-1a417548d1b705a9ba54ba9429afe68920) **step**: \[in\] step index (0 based).
- [dp\_index](namespaceansys-dpf.md#namespaceansys-dpf-1a417548d1b705a9ba54ba9429afe68920) **sub\_step**: \[in\] sub\_step index (0 based).

**Return type**: [dp\_double](namespaceansys-dpf.md#namespaceansys-dpf-1acb480013bfed185b5e34a0bdcb0e3790)

<a id="classansys-dpf-timefreqsupport-1afaa513e5f4410b3a5f2fee984f41065c"></a>

### Function getImaginaryFreqSetIndexByValue

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::getImaginaryFreqSetIndexByValue(dp_double frequency) const

```

**Returns**:

set index (0 based) for given imaginary frequency.

**Parameters**:

- [dp\_double](namespaceansys-dpf.md#namespaceansys-dpf-1acb480013bfed185b5e34a0bdcb0e3790) **frequency**

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a85e297af28a24a226cff64338b1a6326"></a>

### Function getSetIndexByTimeFreq

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::getSetIndexByTimeFreq(dp_double frequency) const

```

**Returns**:

set index (0 based) for given time frequency.

**Parameters**:

- [dp\_double](namespaceansys-dpf.md#namespaceansys-dpf-1acb480013bfed185b5e34a0bdcb0e3790) **frequency**

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1a9596196456260be8d2899952dff29c64"></a>

### Function getStepAndSubStep

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
std::pair< dp_id, dp_index > ansys::dpf::TimeFreqSupport::getStepAndSubStep(int cumulative_index) const

```

**Returns**:

step index and substep at a given set index (0 based).

**Parameters**:

- int **cumulative\_index**

**Return type**: std::pair&lt; [dp\_id](namespaceansys-dpf.md#namespaceansys-dpf-1ab4574c9af3f2bb8011da7d1f4c8da20e), [dp\_index](namespaceansys-dpf.md#namespaceansys-dpf-1a417548d1b705a9ba54ba9429afe68920) &gt;

<a id="classansys-dpf-timefreqsupport-1aa0cf046a80d328f966892abe85308f01"></a>

### Function frequencies

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
Field ansys::dpf::TimeFreqSupport::frequencies() const

```

**Returns**:

[Field](classansys-dpf-field.md#classansys-dpf-field) associated with time frequency.

**Return type**: Field

<a id="classansys-dpf-timefreqsupport-1a21319848f5f197398148551cbb74d4a0"></a>

### Function imaginaryFrequencies

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
Field ansys::dpf::TimeFreqSupport::imaginaryFrequencies() const

```

**Returns**:

[Field](classansys-dpf-field.md#classansys-dpf-field) associated with imaginary part of time frequency.

**Return type**: Field

<a id="classansys-dpf-timefreqsupport-1aa2e1dacc70c07e6d6ba401748e3d822e"></a>

### Function rpms

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
Field ansys::dpf::TimeFreqSupport::rpms() const

```

**Returns**:

RPMS associated with time frequency.

**Return type**: Field

<a id="classansys-dpf-timefreqsupport-1a101268a027373331f52244f52eb8b0d1"></a>

### Function harmonicIndeces

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
Field ansys::dpf::TimeFreqSupport::harmonicIndeces(dp_int stage=0) const

```

**Returns**:

Harmonic indices associated with time frequency.

**Parameters**:

- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **stage** = 0

**Return type**: Field

<a id="classansys-dpf-timefreqsupport-1ae138ce323b476464e3e114750eb5d686"></a>

### Function timeFrequenciesSubstepIds

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
PropertyField ansys::dpf::TimeFreqSupport::timeFrequenciesSubstepIds() const

```

**Returns**:

substep id associated with time frequency.

**Return type**: PropertyField

<a id="classansys-dpf-timefreqsupport-1a4428c07ba03b6cf3dc65279cf8f2c08f"></a>

### Function harmonicIndicesScoping

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
Scoping ansys::dpf::TimeFreqSupport::harmonicIndicesScoping() const

```

**Returns**:

[Scoping](classansys-dpf-scoping.md#classansys-dpf-scoping) containing all the stage numbers of the [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport).

**Return type**: [Scoping](classansys-dpf-scoping.md#classansys-dpf-scoping)

<a id="classansys-dpf-timefreqsupport-1aee5b3fa99be60b203563cf58f2a78321"></a>

### Function numberOfSingularSets

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_int ansys::dpf::TimeFreqSupport::numberOfSingularSets() const

```

**Returns**:

Number of unique time frequency entries.

**Return type**: [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

<a id="classansys-dpf-timefreqsupport-1aa01a23bf27be8e42ce3ec1da5e0ddcbe"></a>

### Function setTimeFrequencies

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
void ansys::dpf::TimeFreqSupport::setTimeFrequencies(Field field)

```

Set time frequency from given field.

**Parameters**:

- Field **field**: \[in\] [Field](classansys-dpf-field.md#classansys-dpf-field) from which to set time frequency.

**Return type**: void

<a id="classansys-dpf-timefreqsupport-1a934891bcade52745e6e80b7bf74193cf"></a>

### Function setImaginaryFrequencies

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
void ansys::dpf::TimeFreqSupport::setImaginaryFrequencies(Field field)

```

Set imaginary part of time frequency from given field.

**Parameters**:

- Field **field**: \[in\] [Field](classansys-dpf-field.md#classansys-dpf-field) from which to set imaginary part of time frequency.

**Return type**: void

<a id="classansys-dpf-timefreqsupport-1a855a9819d41665a1d9177fd8f67fa3f1"></a>

### Function setRpms

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
void ansys::dpf::TimeFreqSupport::setRpms(Field field)

```

Set rpms of time frequency support from given field.

**Parameters**:

- Field **field**: \[in\] [Field](classansys-dpf-field.md#classansys-dpf-field) from which to set imaginary part of time frequency.

**Return type**: void

<a id="classansys-dpf-timefreqsupport-1a233c06f8d1967b7254dcf96df613e359"></a>

### Function setHarmonicIndices

![](https://img.shields.io/badge/-public-brightgreen "public")

```cpp
void ansys::dpf::TimeFreqSupport::setHarmonicIndices(Field field, dp_int stage=0)

```

Set harmonic indices of time frequency support from given field for a specified stage.

**Parameters**:

- Field **field**: \[in\] [Field](classansys-dpf-field.md#classansys-dpf-field) from which to set imaginary part of time frequency.
- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **stage** = 0 : \[in\] Optional stage number (default is 0).

**Return type**: void

<a id="classansys-dpf-timefreqsupport-1ab4822e8cee3be5c03badce0e4cea3991"></a>

### Function boundingCumulativeIndecesOfTimeFreq

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
std::pair< dp_int, dp_int > ansys::dpf::TimeFreqSupport::boundingCumulativeIndecesOfTimeFreq(double time_freq, int loadstep=0) const

```

**Returns**:

Bounding indices for given time time frequency and load step.

**Parameters**:

- double **time\_freq**: \[in\] Time frequency for which to find bounding indices.
- int **loadstep** = 0 : \[in\] Optional load step.

**Return type**: std::pair&lt; [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0), [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) &gt;

<a id="classansys-dpf-timefreqsupport-1a15d6bc620aadd070c1bb027a075ce0cd"></a>

### Function timeFreq

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
dp_double ansys::dpf::TimeFreqSupport::timeFreq(dp_int cumul_index, dp_int complex_id=0) const

```

**Returns**:

Time/Frequency for given index.

**Parameters**:

- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **cumul\_index**: \[in\] Index for which to get time frequency.
- [dp\_int](namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **complex\_id** = 0 : \[in\] Optional non-zero indicates to get imaginary part of time frequency.

**Return type**: [dp\_double](namespaceansys-dpf.md#namespaceansys-dpf-1acb480013bfed185b5e34a0bdcb0e3790)

<a id="classansys-dpf-timefreqsupport-1a3addff6333f65b2ea810d7033315ac1c"></a>

### Function deep\_copy

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
TimeFreqSupport ansys::dpf::TimeFreqSupport::deep_copy(ansys::dpf::Client const *const client=nullptr) const

```

Create a new [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport) on a server by copying all the data of this [TimeFreqSupport](classansys-dpf-timefreqsupport.md#classansys-dpf-timefreqsupport).

**Parameters**:

- [ansys::dpf::Client](classansys-dpf-client.md#classansys-dpf-client) const \*const **client** = nullptr : \[in\] [Client](classansys-dpf-client.md#classansys-dpf-client) instance designating the IP, port and protocol to use.

**Return type**: TimeFreqSupport

## Public static functions

<a id="classansys-dpf-timefreqsupport-1a7e75bb0b6e75fce04a882b70f9a48c17"></a>

### Function emptyTimeFreqSupport

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
static TimeFreqSupport ansys::dpf::TimeFreqSupport::emptyTimeFreqSupport()

```

**Return type**: TimeFreqSupport