NDDEM
|
Contact properties class. More...
#include <ContactList.h>
Public Member Functions | |
cp () | |
Only for use when restarting. More... | |
cp (int ii, int jj, double ctlength, Action< d > *default_action) | |
New contact creation. More... | |
cp (const cp &v) | |
~cp () | |
Remove & clean contact. More... | |
cp & | operator= (const cp &c) |
Affect contact. More... | |
Action< d > & | getinfo () |
Returning stored information. More... | |
void | setinfo (Action< d > *a) |
Set information for contact force. More... | |
void | saveinfo (Action< d > &a) |
Save information regarding the contact forces for later write down. More... | |
template<class Archive > | |
void | save (Archive &ar) const |
template<class Archive > | |
void | load (Archive &ar) |
std::pair< vector< double >, vector< double > > | compute_branchvector (cv2d &X, Parameters< d > &P) |
Compute the location & branch vector of the contact. More... | |
Public Attributes | |
int | i |
Index of contacting particle. More... | |
int | j |
Index of second contacting particle or wall. If this is a wall contact, j=2*walldimension + (0 or 1 if it is the low wall or high wall) More... | |
double | contactlength |
Length of the contact. More... | |
uint32_t | ghost |
Contain ghost information about ghost contact, cf detailed description. More... | |
uint32_t | ghostdir |
Contain ghost information about ghost direction, cf detailed description. More... | |
std::vector< double > | tspr |
Vector of tangential contact history. More... | |
Action< d > * | infos |
stores contact information if contact storing is requires More... | |
bool | owninfos |
True if the contact contains stored information for dump retrieval. More... | |
bool | persisting |
True if the contact is still maintained for the current ts. More... | |
Contact properties class.
|
inline |
New contact creation.
|
inline |
Compute the location & branch vector of the contact.
Returning stored information.
Save information regarding the contact forces for later write down.
Contain ghost information about ghost contact, cf detailed description.
Contain ghost information about ghost direction, cf detailed description.
stores contact information if contact storing is requires
Index of second contacting particle or wall. If this is a wall contact, j=2*walldimension + (0 or 1 if it is the low wall or high wall)
True if the contact contains stored information for dump retrieval.
True if the contact is still maintained for the current ts.