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

constrain particles by constraining particles to mid-surface. Note that level_set_refinement_ratio should be smaller than particle_spacing_ref_ / (0.05 * thickness_) because if level_set_refinement_ratio > particle_spacing_ref_ / (0.05 * thickness_), there will be no level set field. More...

#include <relax_dynamics.h>

Inherits SPH::PartDynamicsByCell, and SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >.

Public Member Functions

 ShellMidSurfaceBounding (SPHBody &body, NearShapeSurface &body_part, BaseBodyRelationInner &inner_relation, Real thickness, Real level_set_refinement_ratio)
 
- Public Member Functions inherited from SPH::PartDynamicsByCell
 PartDynamicsByCell (SPHBody &sph_body, BodyPartByCell &body_part)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >
 DataDelegateInner (BaseBodyRelationInner &body_inner_relation)
 

Protected Member Functions

virtual void Update (size_t index_i, Real dt=0.0) override
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

StdLargeVec< Vecd > & pos_
 
Real constrained_distance_
 
LevelSetShapelevel_set_shape_
 
Real particle_spacing_ref_
 
Real thickness_
 
Real level_set_refinement_ratio_
 
- Protected Attributes inherited from SPH::PartDynamicsByCell
CellListsbody_part_cells_
 
ParticleFunctor functor_update_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- Protected Attributes inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >
ParticleConfigurationinner_configuration_
 

Additional Inherited Members

- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 

Detailed Description

constrain particles by constraining particles to mid-surface. Note that level_set_refinement_ratio should be smaller than particle_spacing_ref_ / (0.05 * thickness_) because if level_set_refinement_ratio > particle_spacing_ref_ / (0.05 * thickness_), there will be no level set field.


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