HG-MD
1
|
Stores the history parameter needed for a plastic force.
More...
#include <CDeltaMax.h>
Public Member Functions | |
CDeltaMax () | |
constructors | |
CDeltaMax (Mdouble delta_, int pParticle_, int pWall_, Mdouble time_) | |
CDeltaMax (const CDeltaMax &ts) | |
copy constructor | |
void | print (std::ostream &os) |
outputs tangential spring | |
Public Attributes | |
Mdouble | delta |
The maximum overlap on which the repellant spring strength is based. | |
int | pParticle |
A pointer to the particle in contact; NULL if the contact is with a wall (The other particle is the particle in which CDeltaMax is located) | |
int | pWall |
A pointer to the wall in contact; NULL if the contact is with a particle (The other particle is the particle in which CDeltaMax is located) | |
Mdouble | time |
stores the last time the history parameter was read (if it was not read during the last timestep, the contact is old and will be deleted) | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CDeltaMax &p) |
writes spring | |
std::istream & | operator>> (std::istream &is, CDeltaMax &p) |
reads spring |
Stores the history parameter needed for a plastic force.
CDeltaMax::CDeltaMax | ( | ) | [inline] |
CDeltaMax::CDeltaMax | ( | Mdouble | delta_, |
int | pParticle_, | ||
int | pWall_, | ||
Mdouble | time_ | ||
) | [inline] |
CDeltaMax::CDeltaMax | ( | const CDeltaMax & | ts | ) | [inline] |
void CDeltaMax::print | ( | std::ostream & | os | ) | [inline] |
std::ostream& operator<< | ( | std::ostream & | os, |
const CDeltaMax & | p | ||
) | [friend] |
std::istream& operator>> | ( | std::istream & | is, |
CDeltaMax & | p | ||
) | [friend] |
The maximum overlap on which the repellant spring strength is based.
Referenced by CDeltaMax().
A pointer to the particle in contact; NULL if the contact is with a wall (The other particle is the particle in which CDeltaMax is located)
Referenced by CDeltaMax().
int CDeltaMax::pWall |
A pointer to the wall in contact; NULL if the contact is with a particle (The other particle is the particle in which CDeltaMax is located)
Referenced by CDeltaMax().
stores the last time the history parameter was read (if it was not read during the last timestep, the contact is old and will be deleted)
Referenced by CDeltaMax(), and CDeltaMaxs::check_spring_time::operator()().