(git:6344619)
Loading...
Searching...
No Matches
cg_utils Module Reference

Utilities for Geometry optimization using Conjugate Gradients. More...

Functions/Subroutines

recursive subroutine, public cg_linmin (gopt_env, xvec, xi, g, opt_energy, output_unit, gopt_param, globenv)
 Main driver for line minimization routines for CG.
subroutine, public get_conjugate_direction (gopt_env, fletcher_reeves, g, xi, h)
 Computes the Conjugate direction for the next search.

Detailed Description

Utilities for Geometry optimization using Conjugate Gradients.

Author
Teodoro Laino [teo] 10.2005

Function/Subroutine Documentation

◆ cg_linmin()

recursive subroutine, public cg_utils::cg_linmin ( type(gopt_f_type), pointer gopt_env,
real(kind=dp), dimension(:), pointer xvec,
real(kind=dp), dimension(:), pointer xi,
real(kind=dp), dimension(:), pointer g,
real(kind=dp), intent(inout) opt_energy,
integer output_unit,
type(gopt_param_type), pointer gopt_param,
type(global_environment_type), pointer globenv )

Main driver for line minimization routines for CG.

Parameters
gopt_env...
xvec...
xi...
g...
opt_energy...
output_unit...
gopt_param...
globenv...
History
10.2005 created [tlaino]
Author
Teodoro Laino

Definition at line 57 of file cg_utils.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_conjugate_direction()

subroutine, public cg_utils::get_conjugate_direction ( type(gopt_f_type), pointer gopt_env,
logical, intent(in) fletcher_reeves,
real(kind=dp), dimension(:), pointer g,
real(kind=dp), dimension(:), pointer xi,
real(kind=dp), dimension(:), pointer h )

Computes the Conjugate direction for the next search.

Parameters
gopt_env...
Fletcher_Reeves...
gcontains the theta of the previous step.. (norm 1.0 vector)
xicontains the -theta of the present step.. (norm 1.0 vector)
hcontains the search direction of the previous step (must be orthogonal to nvec of the previous step (nvec_old))
Info for DIMER method
History
10.2005 created [tlaino]
Author
Teodoro Laino

Definition at line 995 of file cg_utils.F.

Here is the call graph for this function:
Here is the caller graph for this function: