Public Member Functions | Private Attributes | List of all members
PLMD::pamm::PammObject Class Reference

#include <PammObject.h>

Public Member Functions

 PammObject ()
 
 PammObject (const PammObject &)
 
void evaluate (const std::vector< double > &invar, std::vector< double > &outvals, std::vector< std::vector< double > > &der) const
 
std::vector< double > getKernelCenter (const unsigned &kno) const
 
std::vector< double > getKernelSupport (const unsigned &kno) const
 
unsigned getNumberOfKernels () const
 
PammObjectoperator= (const PammObject &po)
 GB: I fixed this (should return PammObject&, it was returning PammObject. More...
 
void setup (const std::string &filename, const double &reg, const std::vector< std::string > &valnames, const std::vector< bool > &pbcin, const std::vector< std::string > &imin, const std::vector< std::string > &imax, std::string &errorstr)
 Setup the Pamm object. More...
 

Private Attributes

std::vector< std::unique_ptr< KernelFunctions > > kernels
 List of kernel functions involved. More...
 
std::vector< std::string > max
 
std::vector< std::string > min
 The domain of the function. More...
 
std::vector< bool > pbc
 Is the domain periodic. More...
 
double regulariser
 Regularisation parameter to use. More...
 

Constructor & Destructor Documentation

◆ PammObject() [1/2]

PLMD::pamm::PammObject::PammObject ( )

◆ PammObject() [2/2]

PLMD::pamm::PammObject::PammObject ( const PammObject in)

Member Function Documentation

◆ evaluate()

void PLMD::pamm::PammObject::evaluate ( const std::vector< double > &  invar,
std::vector< double > &  outvals,
std::vector< std::vector< double > > &  der 
) const

◆ getKernelCenter()

std::vector< double > PLMD::pamm::PammObject::getKernelCenter ( const unsigned &  kno) const
inline

◆ getKernelSupport()

std::vector< double > PLMD::pamm::PammObject::getKernelSupport ( const unsigned &  kno) const
inline

◆ getNumberOfKernels()

unsigned PLMD::pamm::PammObject::getNumberOfKernels ( ) const
inline

◆ operator=()

PammObject& PLMD::pamm::PammObject::operator= ( const PammObject po)
inline

GB: I fixed this (should return PammObject&, it was returning PammObject.

◆ setup()

void PLMD::pamm::PammObject::setup ( const std::string &  filename,
const double &  reg,
const std::vector< std::string > &  valnames,
const std::vector< bool > &  pbcin,
const std::vector< std::string > &  imin,
const std::vector< std::string > &  imax,
std::string &  errorstr 
)

Setup the Pamm object.

Member Data Documentation

◆ kernels

std::vector<std::unique_ptr<KernelFunctions> > PLMD::pamm::PammObject::kernels
private

List of kernel functions involved.

◆ max

std::vector<std::string> PLMD::pamm::PammObject::max
private

◆ min

std::vector<std::string> PLMD::pamm::PammObject::min
private

The domain of the function.

◆ pbc

std::vector<bool> PLMD::pamm::PammObject::pbc
private

Is the domain periodic.

◆ regulariser

double PLMD::pamm::PammObject::regulariser
private

Regularisation parameter to use.


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