com1DFA.com1DFA.initializeParticles

initializeParticles(cfg, releaseLine, dem, inputSimLines='', logName='', relThField='')[source]

Initialize DFA simulation

Create particles and fields dictionary according to config parameters release raster and dem

Parameters
  • cfg (configparser) – configuration for DFA simulation

  • releaseLine (dict) – dictionary with info on release

  • dem (dict) – dictionary with dem information

  • inputSimLines (dictionary) – info on input files; real releaseline info required for iniStep

  • relThField (2D numpy array) – if the release depth is not uniform, give here the releaseRaster

Returns

  • particles (dict) – particles dictionary at initial time step

  • fields (dict) – fields dictionary at initial time step