NetDEM v1.0
Loading...
Searching...
No Matches
particle_stress_evaluator.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "modifier.hpp"
4#include "particle.hpp"
5#include "particle_group.hpp"
6#include <cstdarg>
7
8namespace netdem {
9
17public:
22
30 Mat3d GetStress(Particle *const p);
31
37 Modifier *Clone() const override;
38
45 void Execute() override;
46
55 void Execute(const VecXT<Particle *> &p_list);
56
63 void Update() override;
64};
65
66} // namespace netdem
An interface class used to modify a DEM simulation.
Definition modifier.hpp:18
A class used to group particles in a DEM simulation.
Definition particle_group.hpp:16
Definition particle.hpp:26
A class used to evaluate the stress of particles in a DEM simulation.
Definition particle_stress_evaluator.hpp:16
void Update() override
Updates the ParticleStressEvaluator instance.
Definition particle_stress_evaluator.cpp:154
void Execute() override
Executes the ParticleStressEvaluator instance.
Definition particle_stress_evaluator.cpp:60
Mat3d GetStress(Particle *const p)
Calculates the stress for a specific particle.
Definition particle_stress_evaluator.cpp:17
Modifier * Clone() const override
Clones the current ParticleStressEvaluator instance.
Definition particle_stress_evaluator.cpp:56
ParticleStressEvaluator()
Default constructor for ParticleStressEvaluator class.
Definition particle_stress_evaluator.cpp:11
Definition bond_entry.hpp:7
std::array< std::array< double, 3 >, 3 > Mat3d
Definition utils_macros.hpp:22
std::vector< T > VecXT
Definition utils_macros.hpp:31