Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
PLMD::function::Bessel Class Reference
Inheritance diagram for PLMD::function::Bessel:
Inheritance graph
[legend]

Public Member Functions

bool allComponentsRequired (const std::vector< Value * > &args, const std::vector< ActionWithVector * > &actions)
 
void calc (const ActionWithArguments *action, const std::vector< double > &args, std::vector< double > &vals, Matrix< double > &derivatives) const override
 
bool derivativesImplemented () override
 Override this function if you have not implemented the derivatives. More...
 
virtual bool doWithTasks () const
 
virtual unsigned getArgStart () const
 
virtual std::vector< Value * > getArgumentsToCheck (const std::vector< Value * > &args)
 
virtual std::vector< std::string > getComponentsPerLabel () const
 
virtual bool getDerivativeZeroIfValueIsZero () const
 
virtual std::string getGraphInfo (const std::string &lab) const
 
void read (ActionWithArguments *action) override
 
void registerKeywords (Keywords &keys) override
 
virtual void setPeriodicityForOutputs (ActionWithValue *action)
 
virtual void setPrefactor (ActionWithArguments *action, const double pref)
 
virtual void setup (ActionWithValue *action)
 
virtual bool zeroRank () const
 

Protected Member Functions

template<class T >
void parse (Action *action, const std::string &key, T &t)
 Parse a keyword from the input as a value. More...
 
void parseFlag (Action *action, const std::string &key, bool &t)
 Parse a keyword from the input as a flag. More...
 
template<class T >
void parseVector (Action *action, const std::string &key, std::vector< T > &t)
 Parse a keyword from the input as a vector. More...
 

Protected Attributes

bool noderiv = false
 Are we using derivatives. More...
 

Private Member Functions

double chbevl (double x, std::vector< double > &array) const
 
void fill_coefficients ()
 

Private Attributes

unsigned order
 

Static Private Attributes

static std::vector< double > A
 
static std::vector< double > B
 

Member Function Documentation

◆ allComponentsRequired()

bool PLMD::function::FunctionTemplateBase::allComponentsRequired ( const std::vector< Value * > &  args,
const std::vector< ActionWithVector * > &  actions 
)
inlineinherited

◆ calc()

void PLMD::function::Bessel::calc ( const ActionWithArguments action,
const std::vector< double > &  args,
std::vector< double > &  vals,
Matrix< double > &  derivatives 
) const
overridevirtual

◆ chbevl()

double PLMD::function::Bessel::chbevl ( double  x,
std::vector< double > &  array 
) const
private

◆ derivativesImplemented()

bool PLMD::function::Bessel::derivativesImplemented ( )
inlineoverridevirtual

Override this function if you have not implemented the derivatives.

Reimplemented from PLMD::function::FunctionTemplateBase.

◆ doWithTasks()

virtual bool PLMD::function::FunctionTemplateBase::doWithTasks ( ) const
inlinevirtualinherited

◆ fill_coefficients()

void PLMD::function::Bessel::fill_coefficients ( )
private

◆ getArgStart()

virtual unsigned PLMD::function::FunctionTemplateBase::getArgStart ( ) const
inlinevirtualinherited

◆ getArgumentsToCheck()

std::vector< Value * > PLMD::function::FunctionTemplateBase::getArgumentsToCheck ( const std::vector< Value * > &  args)
inlinevirtualinherited

Reimplemented in PLMD::function::Custom.

◆ getComponentsPerLabel()

std::vector< std::string > PLMD::function::FunctionTemplateBase::getComponentsPerLabel ( ) const
inlinevirtualinherited

◆ getDerivativeZeroIfValueIsZero()

virtual bool PLMD::function::FunctionTemplateBase::getDerivativeZeroIfValueIsZero ( ) const
inlinevirtualinherited

◆ getGraphInfo()

std::string PLMD::function::FunctionTemplateBase::getGraphInfo ( const std::string &  lab) const
inlinevirtualinherited

Reimplemented in PLMD::function::Custom.

◆ parse()

template<class T >
void PLMD::function::FunctionTemplateBase::parse ( Action action,
const std::string &  key,
T &  t 
)
protectedinherited

Parse a keyword from the input as a value.

◆ parseFlag()

void PLMD::function::FunctionTemplateBase::parseFlag ( Action action,
const std::string &  key,
bool &  t 
)
inlineprotectedinherited

Parse a keyword from the input as a flag.

◆ parseVector()

template<class T >
void PLMD::function::FunctionTemplateBase::parseVector ( Action action,
const std::string &  key,
std::vector< T > &  t 
)
protectedinherited

Parse a keyword from the input as a vector.

◆ read()

void PLMD::function::Bessel::read ( ActionWithArguments action)
overridevirtual

◆ registerKeywords()

void PLMD::function::Bessel::registerKeywords ( Keywords keys)
overridevirtual

◆ setPeriodicityForOutputs()

void PLMD::function::FunctionTemplateBase::setPeriodicityForOutputs ( ActionWithValue action)
inlinevirtualinherited

◆ setPrefactor()

virtual void PLMD::function::FunctionTemplateBase::setPrefactor ( ActionWithArguments action,
const double  pref 
)
inlinevirtualinherited

Reimplemented in PLMD::function::Sum.

◆ setup()

void PLMD::function::FunctionTemplateBase::setup ( ActionWithValue action)
inlinevirtualinherited

◆ zeroRank()

virtual bool PLMD::function::FunctionTemplateBase::zeroRank ( ) const
inlinevirtualinherited

Member Data Documentation

◆ A

std::vector< double > PLMD::function::Bessel::A
staticprivate

◆ B

std::vector< double > PLMD::function::Bessel::B
staticprivate

◆ noderiv

bool PLMD::function::FunctionTemplateBase::noderiv = false
protectedinherited

Are we using derivatives.

◆ order

unsigned PLMD::function::Bessel::order
private

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