com1DFA.particleInitialisation

functions for initialising particle distribution

Functions

createReleaseBuffer

add a buffer around release polygons to get boundary particles

getIniPosition

Redistribute particles so that SPH force reduces with fixed particles as boundaries

resetMassPerParticle

recompute mass of particles according to their location with respect to relRaster