#include <RootFindingBase.h>

Public Member Functions | |
| RootFindingBase (FCLASS *funcc) | |
| void | linesearch (const std::vector< double > &dir, std::vector< double > &p, engf_pointer myfunc) const |
| This is the line minimiser. | |
| void | lsearch (const std::vector< double > &dir, std::vector< double > &p, engfnc_pointer myfunc) const |
Private Types | |
| typedef double(FCLASS::* | engf_pointer) (const std::vector< double > &p, std::vector< double > &der) const |
| This is the pointer to the member function in the energy calculating class that calculates the energy. | |
| typedef double(FCLASS::* | engfnc_pointer) (const std::vector< double > &p, std::vector< double > &der) |
Private Member Functions | |
| void | doSearch (const std::vector< double > &dir, std::vector< double > &p, F1dim< FCLASS > &f1dim) const |
| This actually does the search for a root. | |
Private Attributes | |
| 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.
|
private |
|
inlineexplicit |
|
private |
This actually does the search for a root.
| void PLMD::RootFindingBase< FCLASS >::linesearch | ( | const std::vector< double > & | dir, |
| std::vector< double > & | p, | ||
| engf_pointer | myfunc ) const |
This is the line minimiser.
| void PLMD::RootFindingBase< FCLASS >::lsearch | ( | const std::vector< double > & | dir, |
| std::vector< double > & | p, | ||
| engfnc_pointer | myfunc ) const |
|
private |
The class that calculates the energy given a position.
Hosted by GitHub
|
1.17.0
|