Class IRockyTimestepData
Last update: 09.03.2026
#include <rocky_timestep_api.h>
An IRockyTimestepData 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 inherits all public methods of the class IRockyInteractionCalculationsData.
Inherits from:
Members
- get_geometry_material_index
- get_loading_n_steps
- get_material
- get_material_interaction
- get_material_interaction_index
- get_number_geometry_materials
- get_number_particle_groups
- get_particle_material_index
- get_particle_max_sieve_size
- get_particle_min_mass
- get_particle_min_sieve_size
Public functions
Function get_loading_n_steps
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.
Return type: int