![]() |
PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Functions | |
| template<typename Predicate > | |
| std::size_t | breakBondsIf (geometry::Fracture &fracture, const std::vector< util::Point > &xRef, const std::vector< std::vector< std::size_t > > &neighbors, const std::vector< std::size_t > &nodeParticleId, std::size_t particleId, Predicate crosses) |
| std::size_t anonymous_namespace{prenotch.cpp}::breakBondsIf | ( | geometry::Fracture & | fracture, |
| const std::vector< util::Point > & | xRef, | ||
| const std::vector< std::vector< std::size_t > > & | neighbors, | ||
| const std::vector< std::size_t > & | nodeParticleId, | ||
| std::size_t | particleId, | ||
| Predicate | crosses | ||
| ) |
Breaks the bonds of one particle for which the predicate is true.
Definition at line 19 of file prenotch.cpp.
References geometry::Fracture::setBondState().