com1DFA.com1DFA.initializeFields

initializeFields(cfg, dem, particles, releaseLine)[source]

Initialize fields and update particles flow thickness. Eventually build bond array if snowSlide is activated

Parameters
  • cfg (configparser) – configuration for DFA simulation

  • dem (dict) – dictionary with dem information

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

Returns

  • particles (dict) – particles dictionary at initial time step updated with the flow thickness

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

  • releaseLine (dict) – release line dictionary