Skip to content

Commit 5c477b0

Browse files
author
Fei Yang
committed
fix INPUT problem
1 parent 6312b1d commit 5c477b0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/advanced/input_files/input-main.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,15 +1463,18 @@ These variables are used to control the geometry relaxation.
14631463

14641464
### relax_method
14651465

1466-
- **Type**: String
1466+
- **Type**: Vector of string
14671467
- **Description**: The methods to do geometry optimization.
1468+
the first element:
14681469
- cg: using the conjugate gradient (CG) algorithm. Note that there are two implementations of the conjugate gradient (CG) method, see [relax_new](#relax_new).
1469-
- bfgs: using the Broyden–Fletcher–Goldfarb–Shanno (BFGS) algorithm.
1470-
- bfgs_trad: using the traditional Broyden–Fletcher–Goldfarb–Shanno (BFGS) algorithm.
1470+
- bfgs : using the Broyden–Fletcher–Goldfarb–Shanno (BFGS) algorithm.
14711471
- cg_bfgs: using the CG method for the initial steps, and switching to BFGS method when the force convergence is smaller than [relax_cg_thr](#relax_cg_thr).
14721472
- sd: using the steepest descent (SD) algorithm.
14731473
- fire: the Fast Inertial Relaxation Engine method (FIRE), a kind of molecular-dynamics-based relaxation algorithm, is implemented in the molecular dynamics (MD) module. The algorithm can be used by setting [calculation](#calculation) to `md` and [md_type](#md_type) to `fire`. Also ionic velocities should be set in this case. See [fire](../md.md#fire) for more details.
1474-
- **Default**: cg
1474+
1475+
the second element:
1476+
when the first element is bfgs, if the second parameter is 1, it indicates the use of the new BFGS algorithm; if the second parameter is not 1, it indicates the use of the old BFGS algorithm.
1477+
- **Default**: cg 1
14751478

14761479
### relax_new
14771480

0 commit comments

Comments
 (0)