SPHinXsys  alpha version
particle_generator Directory Reference

Files

file  base_particle_generator.cpp
 
file  base_particle_generator.h [code]
 This is the base class of particle generator, which generates particles with given positions and volumes. The direct generator simply generate particle with given position and volume.
 
file  particle_generator_lattice.cpp
 
file  particle_generator_lattice.h [code]
 This is the base class of particle generator, which generates particles with given positions and volumes. The direct generator simply generate particle with given position and volume. The lattice generator generate at lattice position by check whether the poision is contained by a SPH body.