mapp.dmd.min_cg

class mapp.dmd.min_cg(e_tol=1.0e-8,H_dof=[[False],[False,False],[False,False,False]],affine=False,max_dx=1.0,max_dalpha=0.1,ls=mapp.dmd.ls_bt())

CG minimization algorithm

Parameters:

e_tol : double

Energy tolerance criterion for stopping minimization

H_dof : symm<bool[dim][dim]>

Unitcell degrees of freedom during minimization, here dim is the dimension of simulation

affine : bool

If set to True atomic displacements would be affine

max_dx : double

Maximum displacement of any atom in one step of minimization

max_dalpha : double

Maximum change in alpha component of any atom in one step of minimization

ls : mapp.ls

Line search method

Notes

Cojugate Gradient (CG) algorithm for minimization.

Attributes

H_dof (symm<bool[dim][dim]>) unitcell DOFs
affine (bool) affine transformation switch
e_tol (double) tolerance
export (mapp.dmd.export) export object
ls (mapp.ls) line search algorithm
max_dalpha (double) mximum alpha change
max_dx (double) mximum displacemant
ntally (int) thermodynamic tallying period

Methods

refine(atoms,max_nsteps) Execute minimization
run(atoms,max_nsteps) Execute minimization