Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
PLMD::refdist::Difference Class Reference
Inheritance diagram for PLMD::refdist::Difference:
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
 
virtual bool getDerivativeZeroIfValueIsZero () const
 
virtual std::string getGraphInfo (const std::string &lab) const
 
void read (ActionWithArguments *action) override
 
void registerKeywords (Keywords &keys) override
 
void setPeriodicityForOutputs (ActionWithValue *action) override
 
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

std::string max0
 
std::string min0
 
bool periodic
 

Member Function Documentation

◆ allComponentsRequired()

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

◆ calc()

void PLMD::refdist::Difference::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()

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::refdist::Difference::read ( ActionWithArguments action)
overridevirtual

◆ registerKeywords()

void PLMD::refdist::Difference::registerKeywords ( Keywords keys)
overridevirtual

◆ setPeriodicityForOutputs()

void PLMD::refdist::Difference::setPeriodicityForOutputs ( ActionWithValue action)
overridevirtual

◆ 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

◆ max0

std::string PLMD::refdist::Difference::max0
private

◆ min0

std::string PLMD::refdist::Difference::min0
private

◆ noderiv

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

Are we using derivatives.

◆ periodic

bool PLMD::refdist::Difference::periodic
private

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