![]() |
NLMech
0.1.0
|
A class to apply displacement boundary condition. More...
#include <uLoading.h>


Public Member Functions | |
| void | apply (const double &time, std::vector< util::Point3 > *u, std::vector< util::Point3 > *v, fe::Mesh *mesh) |
| Applies displacement boundary condition. More... | |
| void | print (int nt=0, int lvl=0) const |
| Prints the information about the instance of the object. More... | |
| std::string | printStr (int nt=0, int lvl=0) const |
| Returns the string containing information about the instance of the object. More... | |
| ULoading (inp::LoadingDeck *deck, fe::Mesh *mesh) | |
| Constructor. More... | |
Public Member Functions inherited from loading::Loading | |
| Loading ()=default | |
| Constructor. | |
Additional Inherited Members | |
Data Fields inherited from loading::Loading | |
| std::vector< inp::BCData > | d_bcData |
| List of displacement bcs. | |
| std::vector< std::vector< size_t > > | d_bcNodes |
| List of nodal ids on which bc is to be applied. | |
A class to apply displacement boundary condition.
| loading::ULoading::ULoading | ( | inp::LoadingDeck * | deck, |
| fe::Mesh * | mesh | ||
| ) |
Constructor.
| deck | Input deck which contains user-specified information |
| mesh | Mesh object |

| void loading::ULoading::apply | ( | const double & | time, |
| std::vector< util::Point3 > * | u, | ||
| std::vector< util::Point3 > * | v, | ||
| fe::Mesh * | mesh | ||
| ) |
Applies displacement boundary condition.
| time | Current time |
| u | Vector nodal displacements |
| v | Vector nodal velocities |
| mesh | Mesh object |

|
inline |
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) |

| std::string loading::ULoading::printStr | ( | int | nt = 0, |
| int | lvl = 0 |
||
| ) | const |
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) |
Referenced by print().

