Usage
fire(r, force, restraint, m = 1, dt = 0.1, maxmove = 100, dtmax = 1,
Nmin = 5, finc = 1.1, fdec = 0.5, astart = 0.1, fa = 0.99,
a = 0.1, nstep = 100, tol = 1e-05, verbose = FALSE)
Arguments
r
Initial locations of particles
restraint
Restraint function
maxmove
Maximum distance to move in any time step
Nmin
Number of steps after which to start increasing dt
finc
Fractional increase in dt per time step
fdec
Fractional decrease in dt after a stop
astart
Starting value of a after a stop
fa
Fraction of a to retain after each step
nstep
Maxiumum number of steps
tol
Tolerance - if RMS force is below this value, stop and
report convergence
verbose
If TRUE report progress verbosely