#include <rocky_sph_element_api.hpp>
Inherits IRockySPHElement.
Public Member Functions
Public Member Functions inherited from IRockySPHElement
Public Member Functions inherited from IRockySPHElement
Public Member Functions inherited from IRockySPHElement
Detailed Description
IRockySPHElementHost is the host counterpart of IRockySPHElement. Both share the same data, the main difference between them is that the data of IRockySPHElementHost resides within the host memory; therefore, it is used exclusively within initialization hooks, which are executed always in the host.
Member Function Documentation
get_acceleration()
get_density()
get_force()
get_linked_dem_particle()
IRockyParticleHost object representing the DEM particle linked to the SPH particle, if the latter is actually a DEM-coupled SPH element.
get_normal()
get_position()
get_pressure()
get_release_time()
get_scalars()
IRockySPHElementScalars object that gives access to all SPH element scalars variables defined in the project.
get_strain_rate_tensor()
SymmetricTensor<float> object that represents the strain rate tensor of the element. To get strain rate, please enable the Gradient Velocity Scalars by calling IRockySPHElementScalarsModel::enable_gradient_velocity() at setup hook.