IRockySPHElementInteraction is a code representation of a pair of neighbor SPH elements within the support region of each other, i.e. they have a force interaction between them. Within Rocky, this pair is usually called SPH element interaction.
Members
- add_acceleration
- add_force
- calculate_elements_distance
- calculate_elements_relative_velocity
- get_home_element
- get_home_element_velocity
- get_near_element
- get_near_element_velocity
Public functions
Function calculate_elements_distance
Function calculate_elements_relative_velocity
Function get_home_element_velocity
Function get_near_element_velocity
Function get_home_element
IRockySPHElement object representing the SPH element labeled as home in the SPH interaction.
Return type: ROCKY_FUNCTIONS IRockySPHElement
Function get_near_element
IRockySPHElement object representing the SPH element labeled as near in the SPH element interaction.
Return type: ROCKY_FUNCTIONS IRockySPHElement
Function add_force
- force: The force to be applied to the SPH elements, expressed in Cartesian coordinates.
- float3 force
Function add_acceleration
- acceleration: The acceleration to be added to the SPH elements, expressed in Cartesian coordinates.
- float3 acceleration