NetDEM v1.0
Loading...
Searching...
No Matches
bond_solver_pp.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "contact_pp.hpp"
4#include "particle.hpp"
5
6namespace netdem {
7
16public:
21
26
31
38 BondSolverPP(Particle *const p1, Particle *const p2);
39
46 void ResolveInit(ContactPP *const cnt, double timestep);
47
54 void ResolveUpdate(ContactPP *const cnt, double timestep);
55
64 void ResolveInit(BondGeometries *const cnt_geoms, Vec3d const &bond_pos,
65 Vec3d const &bond_dir_n, double bond_radius);
66
73 void ResolveUpdate(BondGeometries *const cnt_geoms, double timestep);
74
81 void Init(Particle *const p1, Particle *const p2);
82};
83
84} // namespace netdem
The BondGeometries class represents the geometrical properties of a bond.
Definition bond_geometries.hpp:11
A class for solving point-point bonds between particles.
Definition bond_solver_pp.hpp:15
void Init(Particle *const p1, Particle *const p2)
Definition bond_solver_pp.cpp:15
void ResolveInit(ContactPP *const cnt, double timestep)
Definition bond_solver_pp.cpp:20
BondSolverPP()
Definition bond_solver_pp.cpp:9
Particle * particle_2
Definition bond_solver_pp.hpp:25
void ResolveUpdate(ContactPP *const cnt, double timestep)
Definition bond_solver_pp.cpp:22
Particle * particle_1
Definition bond_solver_pp.hpp:20
A class representing a contact between two particles.
Definition contact_pp.hpp:20
Definition particle.hpp:26
Definition bond_entry.hpp:7
std::array< double, 3 > Vec3d
Definition utils_macros.hpp:18