Octopus
geom_opt.F90 File Reference

Go to the source code of this file.

Modules

module  geom_opt_oct_m
 

Data Types

type  geom_opt_oct_m::geom_opt_t
 

Functions/Subroutines

subroutine, public geom_opt_oct_m::geom_opt_run (system, from_scratch)
 
subroutine geom_opt_oct_m::geom_opt_run_legacy (sys, fromscratch)
 
subroutine init_ (fromscratch)
 
subroutine end_ ()
 
subroutine geom_opt_oct_m::calc_point (size, coords, objective, getgrad, df)
 Note: you might think it would be better to change the arguments with '(size)' below to '(:)'. However, if you do that, then you will (portably) get a segmentation fault. More...
 
subroutine geom_opt_oct_m::calc_point_ng (size, coords, objective)
 Same as calc_point, but without the gradients. No intents here is unfortunately required because the same dummy function will be passed also to newuoa routines in opt_control, and there the interface has no intents. UPDATE: Because the newuoa routine have disappeared, probably this can be changed. More...
 
subroutine geom_opt_oct_m::write_iter_info (geom_iter, size, energy, maxdx, maxdf, coords)
 Output the information after each iteration of the geometry optimization. More...
 
subroutine geom_opt_oct_m::to_coords (gopt, coords)
 Transfer the data from the data structures to the work array (coords) More...
 
subroutine geom_opt_oct_m::to_grad (gopt, grad)
 Transfer data from the forces to the work array for the gradients (grad) More...
 
subroutine geom_opt_oct_m::from_coords (gopt, coords)
 Transfer the data from the work array (coords) to the actual data structures. More...
 
subroutine geom_opt_oct_m::write_iter_info_ng (geom_iter, size, energy, maxdx, coords)
 Same as write_iter_info, but without the gradients. More...
 
subroutine geom_opt_oct_m::symmetrize_lattice_vectors (g_opt, size, rlattice)
 Given a symmetric lattice vector, symmetrize another one. More...
 

Variables

type(geom_opt_t), save geom_opt_oct_m::g_opt
 
integer, parameter geom_opt_oct_m::minwhat_energy = 1
 
integer, parameter geom_opt_oct_m::minwhat_forces = 2
 
integer, parameter geom_opt_oct_m::go_ions = 1
 
integer, parameter geom_opt_oct_m::go_cell = 2
 
integer, parameter geom_opt_oct_m::go_volume = 4
 

Function/Subroutine Documentation

◆ init_()

subroutine geom_opt_run_legacy::init_ ( logical, intent(inout)  fromscratch)
private

Definition at line 353 of file geom_opt.F90.

◆ end_()

subroutine geom_opt_run_legacy::end_
private

Definition at line 803 of file geom_opt.F90.