com1DFA.debrisFunctions.addHydrographParticles
- addHydrographParticles(cfg, particles, inputSimLines, thickness, velocityMag, dem, zPartArray0)[source]
add new particles initialized by a hydrograph to particles that are in the flow already
- Parameters
cfg (configparser object) – configuration settings
particles (dict) – particles dictionary at t that are in the flow already
inputSimLines (dict) – dictionary with input data dictionaries (releaseLine, hydrographAreaLine,…)
thickness (float) – thickness of incoming hydrograph
velocityMag (float) – velocity of incoming hydrograph
dem (dict) – dictionary with info on DEM data
zPartArray0 (numpy array) – z - value of particles at timestep 0
- Returns
particles (dict) – particles dictionary at t including the hydrograph particles
zPartArray0 (dict) – dictionary containing z - value of particles at timestep 0