![]() |
NLMech
0.1.0
|
A base class for computing influence function. More...
#include <influenceFn.h>


Public Member Functions | |
| BaseInfluenceFn ()=default | |
| Constructor. | |
| virtual double | getInfFn (const double &r) const =0 |
| Returns the value of influence function. More... | |
| virtual double | getMoment (const size_t &i) const =0 |
| Returns the moment of influence function. More... | |
| virtual void | print () const |
| Prints the information about the instance of the object. | |
| virtual void | print (int nt, int lvl) const |
| Prints the information about the instance of the object. More... | |
| virtual std::string | printStr (int nt, int lvl) const |
| Returns the string containing information about the instance of the object. More... | |
A base class for computing influence function.
|
pure virtual |
Returns the value of influence function.
| r | Reference (initial) bond length |
Implemented in material::pd::GaussianInfluenceFn, material::pd::LinearInfluenceFn, and material::pd::ConstInfluenceFn.
|
pure virtual |
Returns the moment of influence function.
If
is the influence function for
then
moment is given by
| i | ith moment |
Implemented in material::pd::GaussianInfluenceFn, material::pd::LinearInfluenceFn, and material::pd::ConstInfluenceFn.
Referenced by material::pd::RNPBond::RNPBond().

|
inlinevirtual |
Prints the information about the instance of the object.
| nt | Number of tabs to append before each line of string |
| lvl | Level of information sought (higher level means more information) |
Reimplemented in material::pd::GaussianInfluenceFn, material::pd::LinearInfluenceFn, and material::pd::ConstInfluenceFn.

|
inlinevirtual |
Returns the string containing information about the instance of the object.
| nt | Number of tabs to append before each line of string |
| lvl | Level of information sought (higher level means more information) |
Reimplemented in material::pd::GaussianInfluenceFn, material::pd::LinearInfluenceFn, and material::pd::ConstInfluenceFn.
Referenced by print().

