> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IRockyTimestepData Class Reference

`#include <rocky_timestep_api.h>`

Inherits [IRockyInteractionCalculationsData](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md).

## Public Member Functions

| Type | Name |
| - | - |
| int | [get\_loading\_n\_steps](#a3a8aecd285747c87e9987fd439a14a3b) () const |

> [accordion] Public Member Functions inherited from IRockyInteractionCalculationsData
>
> Public Member Functions inherited from [IRockyInteractionCalculationsData](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md)
>
> | Type | Name |
> | - | - |
> | int | [get\_number\_particle\_groups](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#ab5fb8e3d498bfc78f116eec7b53b22b8) () const |
> | int | [get\_particle\_material\_index](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a700a3993ce6c50786c1323e0b91a7c3a) (int group\_index) const |
> | double | [get\_particle\_min\_sieve\_size](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a1ce09b00f677c903a2d25426f8447300) (int group\_index) const |
> | double | [get\_particle\_max\_sieve\_size](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#ac12016128279790932537b32c1c7410d) (int group\_index) const |
> | double | [get\_particle\_min\_mass](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a641adbab81c6c430aa1b0eae6eff29f4) (int group\_index) const |
> | int | [get\_number\_geometry\_materials](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a986da6321cca08d20d20dbd43962a74a) () const |
> | int | [get\_geometry\_material\_index](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a05cb28a940233bc976b806a5893c639c) (int index) const |
> | [IRockyMaterial](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyMaterial.md) | [get\_material](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a609eb08b9a568e07c35953bd616d9551) (int index) const |
> | int | [get\_material\_interaction\_index](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#a1cf7ad2b906aa2f033494b390522bbb3) (int home\_index, int near\_index) const |
> | [IRockyMaterialInteraction](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyMaterialInteraction.md) | [get\_material\_interaction](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData.md#aeb94fd8ed1f75bd0523634285ad94e4d) (int home\_index, int near\_index) const |

## Detailed Description

An [`IRockyTimestepData`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyTimestepData) object provides the data and methods needed to estimate a stable simulation timestep when a module implements a custom contact force model. The class [`IRockyTimestepData`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyTimestepData) inherits all public methods of the class [`IRockyInteractionCalculationsData`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/classIRockyInteractionCalculationsData).

## Member Function Documentation

### get\_loading\_n\_steps()

```cpp theme={null}
int IRockyTimestepData::get_loading_n_steps() const
```

**Returns**

The minimum number of timesteps that the loading period of the shortest collision in a simulation can have. This is a parameter whose value is specified through the Rocky UI.
