![]() |
PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Collection of methods and database related to loading. More...
Data Structures | |
| class | ParticleFLoading |
| A class to apply force boundary condition. More... | |
| class | ParticleLoading |
| A base class to apply displacement and force boundary condition. More... | |
| class | ParticleULoading |
| A class to apply displacement boundary condition. More... | |
Functions | |
| void | applyIC (particle::BaseParticle *particle, const std::vector< inp::BCBaseDeck > &icVec) |
| Applies displacement initial condition. | |
| bool | needToProcessParticle (size_t id, const inp::BCBaseDeck &bc) |
| Function that checks if given particle with id = id needs to be processed within boundary condition data bc. | |
| bool | needToComputeDof (const util::Point &x, size_t id, const inp::BCBaseDeck &bc) |
| Function that checks if we need to do computation at a given point x within a particle with id = id. | |
Collection of methods and database related to loading.
This namespace provides methods and data members specific to application of displacement and force boundary condition and also initial condition.
| void loading::applyIC | ( | particle::BaseParticle * | particle, |
| const std::vector< inp::BCBaseDeck > & | icVec | ||
| ) |
Applies displacement initial condition.
| time | Current time |
| particle | Particle object pointer |
| icVec | Initial condition data |
Definition at line 17 of file particleIC.cpp.
References util::parallel::getNThreads(), and needToProcessParticle().
Referenced by PeriDEMModel::applyInitialCondition().
| bool loading::needToComputeDof | ( | const util::Point & | x, |
| size_t | id, | ||
| const inp::BCBaseDeck & | bc | ||
| ) |
Function that checks if we need to do computation at a given point x within a particle with id = id.
| x | Coordinates of a point within particle (reference coordinate) |
| id | Id of particle in all particle list |
| bc | Boundary condition data |
Definition at line 33 of file particleLoadingUtil.cpp.
References geom::GeomData::d_geom_p, inp::BCBaseDeck::d_isRegionActive, inp::BCBaseDeck::d_pList, inp::BCBaseDeck::d_pNotList, inp::BCBaseDeck::d_regionGeomData, inp::BCBaseDeck::d_selectionType, and util::methods::isInList().
Referenced by loading::ParticleFLoading::apply(), loading::ParticleULoading::apply(), and loading::ParticleULoading::setFixity().
| bool loading::needToProcessParticle | ( | size_t | id, |
| const inp::BCBaseDeck & | bc | ||
| ) |
Function that checks if given particle with id = id needs to be processed within boundary condition data bc.
| id | Id of particle in all particle list |
| bc | Boundary condition data |
Definition at line 14 of file particleLoadingUtil.cpp.
References inp::BCBaseDeck::d_pList, inp::BCBaseDeck::d_pNotList, inp::BCBaseDeck::d_selectionType, and util::methods::isInList().
Referenced by loading::ParticleFLoading::apply(), loading::ParticleULoading::apply(), applyIC(), and loading::ParticleULoading::setFixity().