MercuryDPM
0.10
|
Member variable of #Particle storing all tangential springs of particle PI with contacting particles PJ.
More...
#include <CTangentialSpring.h>
Classes | |
struct | check_spring_time |
Construction required for the erase/remove_if stuff. More... | |
Public Member Functions | |
std::vector< int > | to_be_erased (Mdouble time) |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}. More... | |
void | to_erase (Mdouble time) |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}. More... | |
CTangentialSpring * | select_particle_spring (int P, Mdouble time_, Mdouble dt) |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}. More... | |
CTangentialSpring * | create_new (int P, Mdouble time_, Mdouble dt) |
CTangentialSpring * | create_new (int P, Mdouble time_, Mdouble dt, CTangentialSpring &CTS) |
CTangentialSpring * | create_new_wall (int W, Mdouble time_, Mdouble dt) |
bool | has_particle_spring (int P, Mdouble time_) |
CTangentialSpring * | select_wall_spring (int W, Mdouble time_, Mdouble dt) |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}. More... | |
void | reset () |
Resets the tangential springs. More... | |
void | print (std::ostream &os, Mdouble time_) |
outputs all current active tangential springs More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CTangentialSprings &p) |
writes all springs More... | |
std::istream & | operator>> (std::istream &is, CTangentialSprings &p) |
reads all springs More... | |
Member variable of #Particle storing all tangential springs of particle PI with contacting particles PJ.
A tangential spring between PI and PJ can be stored in either particle depending on which particle is the first particle in MD::compute_internal_forces.
Geometrically, there can be no more than 13 possible contacts in 3D, so the vector size is limited.
Definition at line 137 of file CTangentialSpring.h.
|
inline |
Definition at line 179 of file CTangentialSpring.h.
Referenced by MD::getTangentialSpring().
|
inline |
Definition at line 186 of file CTangentialSpring.h.
|
inline |
Definition at line 195 of file CTangentialSpring.h.
Referenced by MD::getTangentialSpringWall().
Definition at line 203 of file CTangentialSpring.h.
|
inline |
outputs all current active tangential springs
Definition at line 246 of file CTangentialSpring.h.
|
inline |
Resets the tangential springs.
Definition at line 240 of file CTangentialSpring.h.
Referenced by TangentialSpringParticle::TangentialSpringParticle().
|
inline |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}.
Definition at line 163 of file CTangentialSpring.h.
Referenced by MD::computeShortRangeForceWithParticle(), and MD::getTangentialSpring().
|
inline |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}.
Definition at line 220 of file CTangentialSpring.h.
Referenced by MD::computeShortRangeForceWithWall(), and MD::getTangentialSpringWall().
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}.
Definition at line 147 of file CTangentialSpring.h.
|
inline |
Function selects the tangential spring vector for particle-particle interations (also removed not used springs}.
Definition at line 158 of file CTangentialSpring.h.
|
friend |
writes all springs
Definition at line 256 of file CTangentialSpring.h.
|
friend |
reads all springs
Definition at line 264 of file CTangentialSpring.h.