com1DFA.com1DFATools.getPartInitMethod

getPartInitMethod(cfg, csz, relThForPart)[source]

Get particle initialization parameters

Get the massPerPart and nPPK corresponding to the desired initialization method

Parameters
  • cfg (configparser) – configuration for DFA simulation

  • csz (float) – cell size

  • relThForPart (float) – relTh value

Returns

  • massPerPart (float) – mass per particle desired

  • nPPK (int) – number of particles per kernel radius desired