NetDEM v1.0
Loading...
Searching...
No Matches
bond_solver_pw.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "contact_pw.hpp"
4#include "particle.hpp"
5#include "wall.hpp"
6
7namespace netdem {
8
17public:
21 Particle *particle{nullptr};
22
26 Wall *wall{nullptr};
27
32
40 BondSolverPW(Particle *const p, Wall *const w);
41
48 void ResolveInit(ContactPW *const cnt, double timestep);
49
56 void ResolveUpdate(ContactPW *const cnt, double timestep);
57
66 void ResolveInit(BondGeometries *const cnt_geoms, Vec3d const &bond_pos,
67 Vec3d const &bond_dir_n, double bond_radius);
68
75 void ResolveUpdate(BondGeometries *const cnt_geoms, double timestep);
76
83 void Init(Particle *const p, Wall *const w);
84};
85
86} // namespace netdem
The BondGeometries class represents the geometrical properties of a bond.
Definition bond_geometries.hpp:11
A class for solving point-wall bonds between a particle and a wall.
Definition bond_solver_pw.hpp:16
void ResolveUpdate(ContactPW *const cnt, double timestep)
Definition bond_solver_pw.cpp:20
void Init(Particle *const p, Wall *const w)
Definition bond_solver_pw.cpp:13
void ResolveInit(ContactPW *const cnt, double timestep)
Definition bond_solver_pw.cpp:18
Particle * particle
Definition bond_solver_pw.hpp:21
BondSolverPW()
Definition bond_solver_pw.cpp:9
Wall * wall
Definition bond_solver_pw.hpp:26
A class representing a contact between a particle and a wall.
Definition contact_pw.hpp:22
Definition particle.hpp:26
A class representing a wall object in a physics simulation.
Definition wall.hpp:32
Definition bond_entry.hpp:7
std::array< double, 3 > Vec3d
Definition utils_macros.hpp:18