NetDEM v1.0
Loading...
Searching...
No Matches
netdem::BondEntry Class Reference

The BondEntry class represents a collection of contact geometries and forces for one bond. More...

#include <bond_entry.hpp>

Public Member Functions

void UpdateForces (ContactPP *const cnt, double dt)
 Updates the contact forces based on pairwise particle contact interactions.
 
void UpdateForces (ContactPW *const cnt, double dt)
 Updates the contact forces based on particle-wall contact interactions.
 
void UpdateLocalForces (ContactPP *const cnt, double dt)
 Updates the local contact forces based on pairwise particle contact interactions.
 
void UpdateLocalForces (ContactPW *const cnt, double dt)
 Updates the local contact forces based on particle-wall contact interactions.
 
void UpdateGlobalForces ()
 Updates the global contact forces associated with this bond entry.
 

Public Attributes

BondGeometries cnt_geoms
 The contact geometries associated with this bond entry.
 
ContactForces cnt_forces
 The contact forces associated with this bond entry.
 
ContactModelcnt_model {nullptr}
 Pointer to the contact model used to calculate forces.
 

Detailed Description

The BondEntry class represents a collection of contact geometries and forces for one bond.

Member Function Documentation

◆ UpdateForces() [1/2]

void BondEntry::UpdateForces ( ContactPP *const cnt,
double dt )

Updates the contact forces based on pairwise particle contact interactions.

Parameters
cntPointer to the pairwise particle contact object.
dtTimestep of the simulation.

◆ UpdateForces() [2/2]

void BondEntry::UpdateForces ( ContactPW *const cnt,
double dt )

Updates the contact forces based on particle-wall contact interactions.

Parameters
cntPointer to the particle-wall contact object.
dtTimestep of the simulation.

◆ UpdateGlobalForces()

void BondEntry::UpdateGlobalForces ( )

Updates the global contact forces associated with this bond entry.

◆ UpdateLocalForces() [1/2]

void BondEntry::UpdateLocalForces ( ContactPP *const cnt,
double dt )

Updates the local contact forces based on pairwise particle contact interactions.

Parameters
cntPointer to the pairwise particle contact object.
dtTimestep of the simulation.

◆ UpdateLocalForces() [2/2]

void BondEntry::UpdateLocalForces ( ContactPW *const cnt,
double dt )

Updates the local contact forces based on particle-wall contact interactions.

Parameters
cntPointer to the particle-wall contact object.
dtTimestep of the simulation.

Member Data Documentation

◆ cnt_forces

ContactForces netdem::BondEntry::cnt_forces

The contact forces associated with this bond entry.

◆ cnt_geoms

BondGeometries netdem::BondEntry::cnt_geoms

The contact geometries associated with this bond entry.

◆ cnt_model

ContactModel* netdem::BondEntry::cnt_model {nullptr}

Pointer to the contact model used to calculate forces.

This pointer is maintained in each individual contact entry for potential extension.


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