fire | R Documentation |
This is an implementation of the FIRE algorithm for structural relaxation put forward by Bitzek et al. (2006)
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,
report = message
)
r |
Initial locations of particles |
force |
Force function |
restraint |
Restraint function |
m |
Masses of points |
dt |
Initial time step |
maxmove |
Maximum distance to move in any time step |
dtmax |
Maximum time step |
Nmin |
Number of steps after which to start increasing |
finc |
Fractional increase in |
fdec |
Fractional decrease in |
astart |
Starting value of |
fa |
Fraction of |
a |
Initial value of |
nstep |
Maximum number of steps |
tol |
Tolerance - if RMS force is below this value, stop and report convergence |
verbose |
If |
report |
Function to report progress when |
List containing x
, the positions of the points,
conv
, which is 0 if convergence as occurred and 1 otherwise,
and frms
, the root mean square of the forces on the
particles.
David Sterratt
Bitzek, E., Koskinen, P., Gähler, F., Moseler, M., and Gumbsch, P. (2006). Structural relaxation made simple. Phys. Rev. Lett., 97:170201.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.