#include <rocky_sph_model_api.hpp>
Public Member Functions
Detailed Description
IRockySPHModel includes some methods that provide basic information about the SPH model. The data associated to an IRockySPHModel object resides entirely on host memory, consequently, it can be accessed only within hooks executed host-side.
Member Function Documentation
get_element_mass()
get_fluid_density()
get_fluid_specific_heat()
get_fluid_thermal_conductivity()
get_fluid_viscosity()
get_initial_element_spacing()
get_kernel_type()
ESPHKernelType enum indicating the kernel type used in the SPH model. Currently there are 3 kernel types implemented in Rocky:ktCubic = 0ktQuintic = 1ktWendland = 2get_number_of_active_free_sph_elements()
get_number_of_active_linked_sph_elements()
get_number_of_active_sph_elements()
get_number_of_sph_elements()
get_smoothing_length()
get_speed_of_sound()
get_sph_element_scalars()
IRockySPHElementScalarsModel object, that allows users to add new SPH element scalars or activate SPH element scalars known to Rocky during the setup of a module. SPH element scalars are special variables attached to SPH elements that are able to store values per element that are preserved between time iterations.