SPHinXsys  alpha version
Public Member Functions | Protected Attributes | List of all members
SPH::OffsetInitialPosition Class Reference

offset initial particle position More...

#include <solid_particles_variable.h>

Inherits SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.

Public Member Functions

 OffsetInitialPosition (SPHBody &sph_body, Vecd &offset)
 
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

Vecd offset_
 
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_
 

Detailed Description

offset initial particle position


The documentation for this class was generated from the following files: