INitial commit of CAC code
This commit is contained in:
commit
c8be709be9
66 changed files with 16539 additions and 0 deletions
31
docs/Commands/minimize.md
Normal file
31
docs/Commands/minimize.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
# minimize
|
||||
|
||||
```sh
|
||||
minimize ftol etol max_iter
|
||||
```
|
||||
|
||||
## Inputs
|
||||
|
||||
`ftol` - force tolerance
|
||||
|
||||
`etol` - energy tolerance
|
||||
|
||||
`max_iter` - maximum number of iterations to calculate before exiting.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
minimize 10d-10 10d-10 10000
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
The minimize command is used to perform energy minimization on the CAC model.
|
||||
The minimization method is chosen by the [min_style](./min_style.md) command.
|
||||
Minimization is considered to be complete under the following conditions:
|
||||
|
||||
1. \( \frac{(E_i - E_{i-1})}{E_i} < etol \), where \( i \) is the current iteration.
|
||||
2. No atom has a force component greater than `ftol`
|
||||
3. The number of iterations is greater than `max_iter`
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue