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

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

Public Member Functions

 NormalDirectionFromShapeAndOp (SPHBody &sph_body, const std::string &shape_name)
 
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

ShapeAndOp * shape_and_op_
 
Shapeshape_
 
const Real switch_sign_
 
StdLargeVec< Vecd > & pos_
 
StdLargeVec< Vecd > & n_
 
StdLargeVec< Vecd > & n0_
 
- 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_
 

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