(git:3add494)
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. More...
 
subroutine, public get_conjugate_direction (gopt_env, Fletcher_Reeves, g, xi, h)
 Computes the Conjugate direction for the next search. More...
 

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 91 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 1064 of file cg_utils.F.

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