|
NetDEM v1.0
|
A class representing a wall in contact with a particle. More...
#include <neigh_tuple.hpp>
Public Member Functions | |
| NeighWofP () | |
| Default constructor for the NeighWofP class. | |
| NeighWofP (Wall *const w, int id, ContactPW *const cnt) | |
| Constructor for the NeighWofP class that initializes the neighbor with a wall and its corresponding contact. | |
| NeighPofW * | GetNeighTuple () const |
| Get the neigh obj of the pair particle. | |
| ContactPW * | GetContact () const |
| Get the contact. | |
| void | SetContact (ContactPW *const cnt) |
| Set the contact. | |
Public Attributes | |
| Wall * | wall {nullptr} |
| A pointer to the neighboring wall. | |
| int | lookup_id {-1} |
| The index of this particle in the linked_particle_list of the neighboring wall. | |
Friends | |
| class | Particle |
| class | Wall |
| class | NeighPofW |
A class representing a wall in contact with a particle.
Contains information about the neighboring particle and the corresponding contact.
| NeighWofP::NeighWofP | ( | ) |
Default constructor for the NeighWofP class.
Constructor for the NeighWofP class that initializes the neighbor with a wall and its corresponding contact.
| w | A pointer to the neighboring wall. |
| id | The index of this particle in the linked_particle_list of the neighboring wall. |
| cnt | A pointer to the contact between this particle and the neighboring wall, if it exists. |
| ContactPW * NeighWofP::GetContact | ( | ) | const |
Get the contact.
| NeighPofW * NeighWofP::GetNeighTuple | ( | ) | const |
Get the neigh obj of the pair particle.
| void NeighWofP::SetContact | ( | ContactPW *const | cnt | ) |
Set the contact.
|
friend |
|
friend |
|
friend |
| int netdem::NeighWofP::lookup_id {-1} |
The index of this particle in the linked_particle_list of the neighboring wall.
| Wall* netdem::NeighWofP::wall {nullptr} |
A pointer to the neighboring wall.