com1DFA.com1DFA.initializeFields¶
- initializeFields(cfg, dem, particles)[source]¶
Initialize fields and update particles flow depth
- 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 depth
fields (dict) – fields dictionary at initial time step