NetDEM
v1.0
Loading...
Searching...
No Matches
breakage_analysis.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
dem_fragment.hpp
"
4
#include "
modifier.hpp
"
5
#include "
particle_group.hpp
"
6
7
namespace
netdem
{
8
15
class
BreakageAnalysis
:
public
ParticleGroup
{
16
public
:
17
double
strength
{1.0e3},
min_breakable_size
{1.0},
min_ignore_size
{0.1};
18
22
BreakageAnalysis
();
23
24
Modifier
*
Clone
()
const override
;
25
26
void
Init
(Simulation *
sim
)
override
;
27
28
bool
CheckBreakage
(Particle *p_ptr);
29
30
VecXT<DEMFragment>
ExecuteBreakage
(Particle *p_ptr);
31
32
void
Execute
()
override
;
33
34
void
Update
()
override
;
35
};
36
37
}
// namespace netdem
netdem::BreakageAnalysis
A modifier class for performing breakage analysis on particles.
Definition
breakage_analysis.hpp:15
netdem::BreakageAnalysis::Init
void Init(Simulation *sim) override
Initializes the Modifier instance.
Definition
breakage_analysis.cpp:20
netdem::BreakageAnalysis::CheckBreakage
bool CheckBreakage(Particle *p_ptr)
Definition
breakage_analysis.cpp:22
netdem::BreakageAnalysis::Clone
Modifier * Clone() const override
Clones the current Modifier instance.
Definition
breakage_analysis.cpp:16
netdem::BreakageAnalysis::Update
void Update() override
Updates the Modifier instance.
Definition
breakage_analysis.cpp:284
netdem::BreakageAnalysis::ExecuteBreakage
VecXT< DEMFragment > ExecuteBreakage(Particle *p_ptr)
Definition
breakage_analysis.cpp:48
netdem::BreakageAnalysis::BreakageAnalysis
BreakageAnalysis()
Default constructor.
Definition
breakage_analysis.cpp:11
netdem::BreakageAnalysis::min_ignore_size
double min_ignore_size
Definition
breakage_analysis.hpp:17
netdem::BreakageAnalysis::Execute
void Execute() override
Executes the Modifier instance.
Definition
breakage_analysis.cpp:211
netdem::BreakageAnalysis::strength
double strength
Definition
breakage_analysis.hpp:17
netdem::BreakageAnalysis::min_breakable_size
double min_breakable_size
Definition
breakage_analysis.hpp:17
netdem::Modifier::Modifier
Modifier()
Default constructor for Modifier class.
Definition
modifier.cpp:7
netdem::Modifier::sim
Simulation * sim
Definition
modifier.hpp:23
netdem::ParticleGroup
A class used to group particles in a DEM simulation.
Definition
particle_group.hpp:16
dem_fragment.hpp
modifier.hpp
netdem
Definition
bond_entry.hpp:7
netdem::VecXT
std::vector< T > VecXT
Definition
utils_macros.hpp:31
particle_group.hpp
netdem
src
modifier
breakage_analysis.hpp
Generated by
1.12.0