18#ifndef POTENTIALFUNCTION_H
19#define POTENTIALFUNCTION_H
31 virtual void setParam(std::string filename);
33 virtual void SaveParam(
const std::string &filename);
35 virtual void SavePotTab(
const std::string &filename,
double step);
37 virtual void SavePotTab(
const std::string &filename,
double step,
double rmin,
virtual void SaveParam(const std::string &filename)
virtual void SavePotTab(const std::string &filename, double step)
Eigen::VectorXd & Params()
double getMinDist() const
void setCutOffDist(double cutoff)
double getParam(Index i) const
Index getParamSize() const
void setMinDist(double min)
virtual double CalculateD2F(Index i, Index j, double r) const =0
PotentialFunction(const std::string &name, Index nlam, double min, double max)
void setParam(Index i, double val)
virtual void setOptParam(Index i, double val)
void setParam(const Eigen::VectorXd ¶m)
virtual Index getOptParamSize() const
virtual ~PotentialFunction()=default
virtual double CalculateDF(Index i, double r) const =0
virtual double CalculateF(double r) const =0
virtual double getOptParam(Index i) const
virtual void setParam(std::string filename)
base class for all analysis tools