Tutorials
Basic run
Run a demo example.
ndsimulator examples/2d-md.yaml
The yaml file can be found on the github repo or as shown below. We will explain the arguments one by one in the following section.
root: ./reference run_name: committor_gamma_0.1 ndim: 2 mass: 1.0 potential: Mueller2d x0: - 21.0 - 17.0 method: committor n_basins: 2 criteria: - - - 20 - 25 - - 30 - 35 - - - 38 - 50 - - 2 - 10 integration: langevin gamma: 0.1 temperature: 300 dt: 1.0 steps: 10000 dump: true dump_freq: 100 movie: false oneplot: true plot: true plot_boundary: - - 0.0 - 48.0 - - 0.0 - 40.0 plot_ebound: - -1.4 - 0.2 plot_freq: 100 plot_increment: - 1.0 - 1.0 verbose: debug
The result files are similar to an ordinary MD simulation, except that the run will terminate once one of the committing criteria is satisfied. The end of the log file will state which basin it has commit to
!! Commit to basin 0
If the committed basin id is -1, it means the simulation has not found any basins before the max number of steps is reached.
The simulation result is automatically visualized in the
oneplot.png
Tunning Parameters
`criteria`The committing criteria is not set arbiturary. One should do an unbiased MD simulation at each basin, and use the distribution to determine the committing criteria.
Since the position distribution is a function of temperature, the committing criteria shall also be a function of the temperature.
If the criteria is too strict, the simulation will waste a lot of time in the basin.
If the criteria is too loose, the ridge area will not be sampled sufficiently.
`steps`and`gamma`The ensemble is critical to the committor analysis. The committor function is a function of both position and velocities. With the same initial velocities, only stochastic methods can yield different results. Therefore,
`Langevin Dyanmics`is highligh recommended.But one should note that under-damped and over-damped dynamics can yield quite different committing behavior.