SPHinXsys
alpha version
|
computing displacement from current and initial particle position More...
#include <solid_particles_variable.h>
Inherits SPH::BaseDerivedVariable< Vecd >, and SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.
Public Member Functions | |
Displacement (SPHBody &sph_body) | |
void | update (size_t index_i, Real dt=0.0) |
Public Member Functions inherited from SPH::BaseDerivedVariable< Vecd > | |
BaseDerivedVariable (const SPHBody &sph_body, const std::string &variable_name) | |
Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
DataDelegateSimple (SPHBody &sph_body) | |
BodyType * | getBody () |
ParticlesType * | getParticles () |
MaterialType * | getMaterial () |
Protected Attributes | |
StdLargeVec< Vecd > & | pos_ |
StdLargeVec< Vecd > & | pos0_ |
Protected Attributes inherited from SPH::BaseDerivedVariable< Vecd > | |
StdLargeVec< Vecd > | derived_variable_ |
Protected Attributes inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
BodyType * | body_ |
ParticlesType * | particles_ |
MaterialType * | material_ |
StdLargeVec< size_t > & | sorted_id_ |
StdLargeVec< size_t > & | unsorted_id_ |
Additional Inherited Members | |
Public Types inherited from SPH::BaseDerivedVariable< Vecd > | |
using | DerivedVariableType = Vecd |
Public Attributes inherited from SPH::BaseDerivedVariable< Vecd > | |
std::string | variable_name_ |
computing displacement from current and initial particle position