![]() |
PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
A class to apply displacement boundary condition. More...
#include <particleULoading.h>
Public Member Functions | |
| ParticleULoading (std::vector< inp::BCBaseDeck > &bc_data) | |
| Constructor. | |
| void | setFixity (particle::BaseParticle *particle) |
| Sets fixity mask. | |
| void | apply (const double &time, particle::BaseParticle *particle) |
| Applies displacement boundary condition. | |
Public Member Functions inherited from loading::ParticleLoading | |
| ParticleLoading ()=default | |
| Constructor. | |
Data Fields | |
| std::vector< bool > | d_pZeroDisplacementApplied |
| Flag to indicate whether particles are fixed. | |
Additional Inherited Members | |
Protected Attributes inherited from loading::ParticleLoading | |
| std::vector< inp::BCBaseDeck > | d_bcData |
| List of displacement bcs. | |
A class to apply displacement boundary condition.
Definition at line 35 of file particleULoading.h.
| loading::ParticleULoading::ParticleULoading | ( | std::vector< inp::BCBaseDeck > & | bc_data | ) |
Constructor.
| bc_data | Boundary condition data |
Definition at line 18 of file particleULoading.cpp.
References loading::ParticleLoading::d_bcData, and d_pZeroDisplacementApplied.
| void loading::ParticleULoading::apply | ( | const double & | time, |
| particle::BaseParticle * | particle | ||
| ) |
Applies displacement boundary condition.
| time | Current time |
| particle | Particle object pointer |
Definition at line 51 of file particleULoading.cpp.
References util::derRotate2D(), util::hatFunction(), loading::needToComputeDof(), loading::needToProcessParticle(), and util::rotate2D().
| void loading::ParticleULoading::setFixity | ( | particle::BaseParticle * | particle | ) |
Sets fixity mask.
| particle | Particle object pointer |
Definition at line 26 of file particleULoading.cpp.
References loading::needToComputeDof(), and loading::needToProcessParticle().
| std::vector<bool> loading::ParticleULoading::d_pZeroDisplacementApplied |
Flag to indicate whether particles are fixed.
Definition at line 58 of file particleULoading.h.
Referenced by ParticleULoading().