- 1.7
- 1.6
- 1.5
- Beta
- Examples (for 1.6a)
- Misc
Change parameters for Monte Carlo-based calculations. Energy values should be given in the current working unit of energy in the program.
Syntax:
void mcaccept( | move, | |
emax); |
string | move; |
double | emax; |
Sets the energy difference emax for the movetype move above which moves will be rejected.
For example:
mcaccept("translate", 0.0);requests that only translation moves that lower the overall energy will be accepted.
mcaccept("insert", 200.0);requests that insertion moves will be accepted provided the total energy does not rise more than 200.0 units.
Syntax:
void mcallow( | move, | |
allow); |
string | move; |
bool | allow; |
Indicates whether to allow moves of the specified type in Monte Carlo calculations.
For example:
mcallow("translate", FALSE);disallows translation moves in Monte Carlo calculations.
mcallow("rotate", "true");allows rotation moves in Monte Carlo calculations.
Syntax:
void mcmaxstep( | move, | |
mcmaxstep); |
string | move; |
double | mcmaxstep; |
Sets the maximal step size for the move type move.
For example:
mcmaxstep("translate", 5.0);sets the maximum translation displacement to 5 Å.
mcmaxstep("rotate", 30.0);sets the maximum rotation to 30 degrees.

