    

 ## On this page

  

 

 # IRockyTimestepData Class Reference

 Last update: 17.07.2025 

`#include <<a class="el" href="rocky__timestep__api_8h_source.xhtml">rocky_timestep_api.h</a>>`

Inherits [IRockyInteractionCalculationsData](classIRockyInteractionCalculationsData.xhtml).

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

int [get\_loading\_n\_steps](classIRockyTimestepData.xhtml#a3a8aecd285747c87e9987fd439a14a3b) () const ![-](/sites/default/files/migrate-content/rocky_solver_sdk_2025_r1_1/closed.png) Public Member Functions inherited from [IRockyInteractionCalculationsData](classIRockyInteractionCalculationsData.xhtml)int [get\_number\_particle\_groups](classIRockyInteractionCalculationsData.xhtml#ab5fb8e3d498bfc78f116eec7b53b22b8) () const int [get\_particle\_material\_index](classIRockyInteractionCalculationsData.xhtml#a700a3993ce6c50786c1323e0b91a7c3a) (int group\_index) const double [get\_particle\_min\_sieve\_size](classIRockyInteractionCalculationsData.xhtml#a1ce09b00f677c903a2d25426f8447300) (int group\_index) const double [get\_particle\_max\_sieve\_size](classIRockyInteractionCalculationsData.xhtml#ac12016128279790932537b32c1c7410d) (int group\_index) const double [get\_particle\_min\_mass](classIRockyInteractionCalculationsData.xhtml#a641adbab81c6c430aa1b0eae6eff29f4) (int group\_index) const int [get\_number\_geometry\_materials](classIRockyInteractionCalculationsData.xhtml#a986da6321cca08d20d20dbd43962a74a) () const int [get\_geometry\_material\_index](classIRockyInteractionCalculationsData.xhtml#a05cb28a940233bc976b806a5893c639c) (int index) const [IRockyMaterial](structIRockyMaterial.xhtml) [get\_material](classIRockyInteractionCalculationsData.xhtml#a609eb08b9a568e07c35953bd616d9551) (int index) const int [get\_material\_interaction\_index](classIRockyInteractionCalculationsData.xhtml#a1cf7ad2b906aa2f033494b390522bbb3) (int home\_index, int near\_index) const [IRockyMaterialInteraction](structIRockyMaterialInteraction.xhtml) [get\_material\_interaction](classIRockyInteractionCalculationsData.xhtml#aeb94fd8ed1f75bd0523634285ad94e4d) (int home\_index, int near\_index) const <a id="details" name="details"></a>## Detailed Description

An `<a class="el" href="classIRockyTimestepData.xhtml">IRockyTimestepData</a>` object provides the data and methods needed to estimate a stable simulation timestep when a module implements a custom contact force model. The class `<a class="el" href="classIRockyTimestepData.xhtml">IRockyTimestepData</a>` inherits all public methods of the class `<a class="el" href="classIRockyInteractionCalculationsData.xhtml">IRockyInteractionCalculationsData</a>`.



## Member Function Documentation

<a id="a3a8aecd285747c87e9987fd439a14a3b" name="a3a8aecd285747c87e9987fd439a14a3b"></a>## [◆ ](#a3a8aecd285747c87e9987fd439a14a3b)get\_loading\_n\_steps()

 int IRockyTimestepData::get\_loading\_n\_steps  ( )  const

ReturnsThe 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.