NDDEM
Public Member Functions | Public Attributes | Private Attributes | List of all members
ContactListMesh< d > Class Template Reference

Handles lists of contacts with meshes. More...

#include <ContactList.h>

Public Member Functions

Action< d > * default_action ()
 Easy allocation of a default contact to initialise new contacts. More...
 
void reset ()
 Go to the contact list beginning. More...
 
void finalise ()
 
int insert (const cpm< d > &a)
 Insert a contact, maintaining sorting with increasing i, and removing missing contacts on traversal. More...
 
template<class Archive >
void serialize (Archive &ar)
 
bool check_mesh_dst_contact (Mesh< d > &mesh, cv1d &Xo, double r, cpm< d > &c)
 

Public Attributes

list< cpm< d > > v
 
int cid =0
 

Private Attributes

list< cpm< d > >::iterator it
 Iterator to the list to allow easy traversal, insertion & deletion while maintening ordering. More...
 
Action< ddef
 Default action. More...
 

Detailed Description

template<int d>
class ContactListMesh< d >

Handles lists of contacts with meshes.

Member Function Documentation

◆ check_mesh_dst_contact()

template<int d>
bool ContactListMesh< d >::check_mesh_dst_contact ( Mesh< d > &  mesh,
cv1d Xo,
double  r,
cpm< d > &  c 
)
inline

◆ default_action()

template<int d>
Action<d>* ContactListMesh< d >::default_action ( )
inline

Easy allocation of a default contact to initialise new contacts.

◆ finalise()

template<int d>
void ContactListMesh< d >::finalise ( )
inline

◆ reset()

template<int d>
void ContactListMesh< d >::reset ( )
inline

Go to the contact list beginning.

◆ serialize()

template<int d>
template<class Archive >
void ContactListMesh< d >::serialize ( Archive &  ar)
inline

Member Data Documentation

◆ cid

template<int d>
int ContactListMesh< d >::cid =0
Deprecated:
not used for anything anymore I think.

◆ def

template<int d>
Action<d> ContactListMesh< d >::def
private

Default action.

◆ it

template<int d>
list<cpm<d> >::iterator ContactListMesh< d >::it
private

Iterator to the list to allow easy traversal, insertion & deletion while maintening ordering.

◆ v

template<int d>
list<cpm<d> > ContactListMesh< d >::v

The documentation for this class was generated from the following file: