Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
PLMD::function::Between Class Reference

#include <Between.h>

Inheritance diagram for PLMD::function::Between:
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
 
virtual bool derivativesImplemented ()
 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
 
bool getDerivativeZeroIfValueIsZero () const override
 
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 Attributes

HistogramBead hist
 

Member Function Documentation

◆ allComponentsRequired()

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

◆ calc()

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

◆ derivativesImplemented()

virtual bool PLMD::function::FunctionTemplateBase::derivativesImplemented ( )
inlinevirtualinherited

Override this function if you have not implemented the derivatives.

Reimplemented in PLMD::function::Bessel.

◆ doWithTasks()

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

◆ 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()

bool PLMD::function::Between::getDerivativeZeroIfValueIsZero ( ) const
inlineoverridevirtual

◆ 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::Between::read ( ActionWithArguments action)
overridevirtual

◆ registerKeywords()

void PLMD::function::Between::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

◆ hist

HistogramBead PLMD::function::Between::hist
private

◆ noderiv

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

Are we using derivatives.


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