NetDEM v1.0
Loading...
Searching...
No Matches
bond_entry.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "bond_geometries.hpp"
4#include "contact_forces.hpp"
5#include "contact_model.hpp"
6
7namespace netdem {
8
9class ContactPP;
10class ContactPW;
11
16class BondEntry {
17public:
22
27
35
43 void UpdateForces(ContactPP *const cnt, double dt);
44
52 void UpdateForces(ContactPW *const cnt, double dt);
53
61 void UpdateLocalForces(ContactPP *const cnt, double dt);
62
70 void UpdateLocalForces(ContactPW *const cnt, double dt);
71
75 void UpdateGlobalForces();
76};
77
78} // namespace netdem
The BondEntry class represents a collection of contact geometries and forces for one bond.
Definition bond_entry.hpp:16
void UpdateGlobalForces()
Updates the global contact forces associated with this bond entry.
Definition bond_entry.cpp:25
void UpdateLocalForces(ContactPP *const cnt, double dt)
Updates the local contact forces based on pairwise particle contact interactions.
Definition bond_entry.cpp:17
void UpdateForces(ContactPP *const cnt, double dt)
Updates the contact forces based on pairwise particle contact interactions.
Definition bond_entry.cpp:7
ContactModel * cnt_model
Pointer to the contact model used to calculate forces.
Definition bond_entry.hpp:34
ContactForces cnt_forces
The contact forces associated with this bond entry.
Definition bond_entry.hpp:26
BondGeometries cnt_geoms
The contact geometries associated with this bond entry.
Definition bond_entry.hpp:21
The BondGeometries class represents the geometrical properties of a bond.
Definition bond_geometries.hpp:11
A class representing the contact forces and moments arising from a contact interaction.
Definition contact_forces.hpp:18
An abstract base class for contact models.
Definition contact_model.hpp:25
A class representing a contact between two particles.
Definition contact_pp.hpp:20
A class representing a contact between a particle and a wall.
Definition contact_pw.hpp:22
Definition bond_entry.hpp:7