com1DFA.com1DFA.com1DFACore
- com1DFACore(cfg, avaDir, cuSimName, inputSimFiles, outDir, simHash='')[source]
Run main com1DFA model
This will compute a dense flow avalanche with the settings specified in cfg and the name cuSimName
- Parameters
cfg (configparser object) – configuration object for simulation to be performed
cuSimName (str) – name of simulation
inputSimFiles (dict) – dictionary with input files, release scenario chosen according to inputSimFiles[‘releaseScenario’]
avaDir (str or pathlib object) – path to avalanche directory
outDir (str or pathlib object) – path to Outputs
simHash (str) – unique sim ID
- Returns
reportDictList (list) – list of dictionaries that contain information on simulations that can be used for report generation
dem (dict) – dictionary with info on header and dem data
reportDict (dict) – dictionary that contains information on simulation that can be used for report generation
cfg (configparser object) – configuration object for simulation to be performed
infoDict[‘tCPU’] (dict) – info on cpu timing
particlesList (list) – list of particle dictionaries for all saving time steps