SPHinXsys
alpha version
|
transformation on particle position and rotation More...
#include <solid_particles_variable.h>
Inherits SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.
Public Member Functions | |
TranslationAndRotation (SPHBody &sph_body, Transformd &transform) | |
void | update (size_t index_i, Real dt=0.0) |
Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
DataDelegateSimple (SPHBody &sph_body) | |
BodyType * | getBody () |
ParticlesType * | getParticles () |
MaterialType * | getMaterial () |
Protected Attributes | |
Transformd & | transform_ |
StdLargeVec< Vecd > & | pos_ |
StdLargeVec< Vecd > & | pos0_ |
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_ |
transformation on particle position and rotation