PoreAna 0.2
  • API
  • Sample
  • Density
  • Diffusion (Bin)
  • Diffusion (MC)
  • Further Properties
  • Site
    • Page
        • MC._update_movewidth_mc
          • MC._update_movewidth_mc()
    • MC._update_movewidth_mc
      • MC._update_movewidth_mc()
    Source

    MC._update_movewidth_mc¶

    MC._update_movewidth_mc(imc, radial=False)¶

    This function sets a new MC move width after a define number of MC steps \(n_\text{MC,update}\). The new step width is estimate with

    \[\Delta_\text{MC} = \exp \left ( 0.1 \cdot \frac{n_\text{accept}}{n_\text{MC,update}} \right)\]
    Parameters:
    imcinteger

    Current number of MC steps

    do_radialbool

    True to calculate the radial diffusion

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.