Skip to main content
#include <rocky_timestep_api.h> Inherited by IRockyAdhesiveDistanceData, and IRockyTimestepData.

Public Member Functions

Detailed Description

IRockyInteractionCalculationsData gives access to data and methods needed for calculations related to materials, material interactions and particle groups, during the setup phase of a module. IRockyInteractionCalculationsData is a non-instantiable class, only derived classes can be used through Rocky API.

Member Function Documentation

get_geometry_material_index()

Returns The internal index in Rocky that identifies a material. Parameters

get_material()

Returns An IRockyMaterial object that gives access to the property values associated to a given material. Parameters

get_material_interaction()

Returns An IRockyMaterialInteraction object that gives access to the property values associated to a given material interaction. Parameters

get_material_interaction_index()

Returns The internal index in Rocky that identifies a material interaction. Parameters

get_number_geometry_materials()

Returns The total number of different materials associated to the geometries or boundaries in a project.

get_number_particle_groups()

Returns The total number of particle groups defined in the project. A particle group is a category of particles with the same shape and material.

get_particle_material_index()

Returns The index that uniquely identifies internally in Rocky the material associated with a particle group. Parameters

get_particle_max_sieve_size()

Returns The sieve size of the largest particle in a particle group. Zero is returned if no particles belonging to the particle group are actually injected into the simulation. Parameters

get_particle_min_mass()

Returns The mass of the smallest particle in a particle group. Zero is returned if no particles belonging to the particle group are actually injected into the simulation. Parameters

get_particle_min_sieve_size()

Returns The sieve size of the smallest particle in a particle group. Zero is returned if no particles belonging to the particle group are actually injected into the simulation. Parameters