Public Member Functions | Private Types | Private Attributes | List of all members
PLMD::gridtools::GridSearch< FCLASS > Class Template Reference

#include <GridSearch.h>

Public Member Functions

 GridSearch (const std::vector< double > &mmin, const std::vector< double > &mmax, const std::vector< unsigned > &ng, const std::vector< unsigned > &nfg, FCLASS *funcc)
 
bool minimise (std::vector< double > &p, engf_pointer myfunc)
 

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. More...
 

Private Attributes

FCLASS * myclass_func
 
std::unique_ptr< GridVesselmyfgrid
 
std::unique_ptr< GridVesselmygrid
 

Member Typedef Documentation

◆ engf_pointer

template<class FCLASS >
typedef double(FCLASS::* PLMD::gridtools::GridSearch< FCLASS >::engf_pointer) (const std::vector< double > &p, std::vector< double > &der)
private

This is the pointer to the member function in the energy calculating class that calculates the energy.

Constructor & Destructor Documentation

◆ GridSearch()

template<class FCLASS >
PLMD::gridtools::GridSearch< FCLASS >::GridSearch ( const std::vector< double > &  mmin,
const std::vector< double > &  mmax,
const std::vector< unsigned > &  ng,
const std::vector< unsigned > &  nfg,
FCLASS *  funcc 
)
inline

Member Function Documentation

◆ minimise()

template<class FCLASS >
bool PLMD::gridtools::GridSearch< FCLASS >::minimise ( std::vector< double > &  p,
engf_pointer  myfunc 
)

Member Data Documentation

◆ myclass_func

template<class FCLASS >
FCLASS* PLMD::gridtools::GridSearch< FCLASS >::myclass_func
private

◆ myfgrid

template<class FCLASS >
std::unique_ptr<GridVessel> PLMD::gridtools::GridSearch< FCLASS >::myfgrid
private

◆ mygrid

template<class FCLASS >
std::unique_ptr<GridVessel> PLMD::gridtools::GridSearch< FCLASS >::mygrid
private

The documentation for this class was generated from the following file: