NetDEM v1.0
|
A class for solving point-wall bonds between a particle and a wall. More...
#include <bond_solver_pw.hpp>
Public Member Functions | |
BondSolverPW () | |
BondSolverPW (Particle *const p, Wall *const w) | |
void | ResolveInit (ContactPW *const cnt, double timestep) |
void | ResolveUpdate (ContactPW *const cnt, double timestep) |
void | ResolveInit (BondGeometries *const cnt_geoms, Vec3d const &bond_pos, Vec3d const &bond_dir_n, double bond_radius) |
void | ResolveUpdate (BondGeometries *const cnt_geoms, double timestep) |
void | Init (Particle *const p, Wall *const w) |
Public Attributes | |
Particle * | particle {nullptr} |
Wall * | wall {nullptr} |
A class for solving point-wall bonds between a particle and a wall.
This class performs initialization and updates for point-wall contacts associated with a particle connected to a wall by a bond. It can also perform initialization and updates for bonds that are not associated with a contact.
BondSolverPW::BondSolverPW | ( | ) |
Default constructor for the BondSolverPW
class.
Constructor for the BondSolverPW
class that initializes particles and walls.
p | A pointer to the particle. |
w | A pointer to the wall. |
Initializes the particle and wall associated with this bond.
p | A pointer to the particle. |
w | A pointer to the wall. |
void BondSolverPW::ResolveInit | ( | BondGeometries *const | cnt_geoms, |
Vec3d const & | bond_pos, | ||
Vec3d const & | bond_dir_n, | ||
double | bond_radius ) |
Initializes the solver for a bond that is not associated with a contact.
cnt_geoms | A pointer to the bond geometries. |
bond_pos | The position of the bond. |
bond_dir_n | The normal direction of the bond. |
bond_radius | The radius of the bond. |
void BondSolverPW::ResolveInit | ( | ContactPW *const | cnt, |
double | timestep ) |
Initializes the solver for a given point-wall contact.
cnt | A pointer to the point-wall contact. |
timestep | The simulation time step. |
void BondSolverPW::ResolveUpdate | ( | BondGeometries *const | cnt_geoms, |
double | timestep ) |
Updates the solver for a bond that is not associated with a contact.
cnt_geoms | A pointer to the bond geometries. |
timestep | The simulation time step. |
void BondSolverPW::ResolveUpdate | ( | ContactPW *const | cnt, |
double | timestep ) |
Updates the solver for a given point-wall contact.
cnt | A pointer to the point-wall contact. |
timestep | The simulation time step. |
Particle* netdem::BondSolverPW::particle {nullptr} |
A pointer to the particle associated with this bond.
Wall* netdem::BondSolverPW::wall {nullptr} |
A pointer to the wall associated with this bond.