#include <ConjugateGradient.h>

Public Member Functions | |
| ConjugateGradient (FCLASS *funcc) | |
| double | linemin (const std::vector< double > &dir, std::vector< double > &p, engf_pointer myfunc) |
| This is the line minimiser. | |
| void | minimise (const double &ftol, std::vector< double > &p, engf_pointer myfunc) |
Protected Member Functions | |
| double | calcDerivatives (const std::vector< double > &p, std::vector< double > &der, engf_pointer myfunc) |
| This calculates the derivatives at a point. | |
Private Types | |
| typedef double(FCLASS::* | engf_pointer) (const std::vector< double > &p, std::vector< double > &der) |
| This is the pointer to the member function in the energy calculating class that calculates the energy. | |
Private Attributes | |
| const double | EPS |
| const unsigned | ITMAX |
| FCLASS * | myclass_func |
| The class that calculates the energy given a position. | |
|
private |
This is the pointer to the member function in the energy calculating class that calculates the energy.
|
inlineexplicit |
|
protectedinherited |
This calculates the derivatives at a point.
|
inherited |
This is the line minimiser.
| void PLMD::ConjugateGradient< FCLASS >::minimise | ( | const double & | ftol, |
| std::vector< double > & | p, | ||
| engf_pointer | myfunc ) |
|
private |
|
private |
|
privateinherited |
The class that calculates the energy given a position.
Hosted by GitHub
|
1.17.0
|