![]() |
NLMech
0.1.0
|
A class to implement Gaussian influence function. More...
#include <influenceFn.h>


Public Member Functions | |
| GaussianInfluenceFn (const std::vector< double > ¶ms, const size_t &dim) | |
| Constructor. More... | |
| double | getInfFn (const double &r) const override |
| Returns the value of influence function. More... | |
| double | getMoment (const size_t &i) const override |
| Returns the moment of influence function. More... | |
| void | print () const override |
| Prints the information about the instance of the object. | |
| void | print (int nt, int lvl) const override |
| Prints the information about the instance of the object. More... | |
| std::string | printStr (int nt, int lvl) const override |
| Returns the string containing information about the instance of the object. More... | |
Public Member Functions inherited from material::pd::BaseInfluenceFn | |
| BaseInfluenceFn ()=default | |
| Constructor. | |
Private Attributes | |
| double | d_alpha |
| Constants. | |
| double | d_beta |
| Constants. | |
A class to implement Gaussian influence function.
|
inline |
Constructor.
| params | List of parameters |
| dim | Dimension |
|
inlineoverridevirtual |
Returns the value of influence function.
| r | Reference (initial) bond length |
Implements material::pd::BaseInfluenceFn.
|
inlineoverridevirtual |
Returns the moment of influence function.
If
is the influence function for
then
moment is given by
| i | ith moment |
Implements material::pd::BaseInfluenceFn.
Referenced by printStr().

|
inlineoverridevirtual |
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 from material::pd::BaseInfluenceFn.

|
inlineoverridevirtual |
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 from material::pd::BaseInfluenceFn.
Referenced by print().

