67 std::string root_path{
"tmp/out/"};
70 bool excute_by_cycles{
true};
73 int cycle_interval{0}, cycle_previous{0};
76 double time_interval{0}, time_previous{0};
86 bool CheckIfToExecute();
A modifier class for performing breakage analysis on particles.
Definition breakage_analysis_pd.hpp:17
void SetExecuteByCycles(double interval)
Sets the cycle interval for executing the modifier.
Definition breakage_analysis_pd.cpp:29
PeriDigmDEMCoupler pd_dem_coupler
The PeriDigmDEMCoupler used to interface with a DEM simulation.
Definition breakage_analysis_pd.hpp:20
Modifier * Clone() const override
Clones the current Modifier instance.
Definition breakage_analysis_pd.cpp:34
BreakageAnalysisPD()
Default constructor.
Definition breakage_analysis_pd.cpp:11
void Update() override
Updates the Modifier instance.
Definition breakage_analysis_pd.cpp:134
void Init(Simulation *sim) override
Initializes the Modifier instance.
Definition breakage_analysis_pd.cpp:38
void SetRootPath(std::string const &root_path)
Sets the root output path for breakage analysis results.
Definition breakage_analysis_pd.cpp:18
void Execute() override
Executes the Modifier instance.
Definition breakage_analysis_pd.cpp:40
void SetExecuteByTime(double interval)
Sets the time interval for executing the modifier.
Definition breakage_analysis_pd.cpp:24
An interface class used to modify a DEM simulation.
Definition modifier.hpp:18
Simulation * sim
Definition modifier.hpp:23
A class used to group particles in a DEM simulation.
Definition particle_group.hpp:16
A class representing a coupling between a discrete element method (DEM) simulation and a peridynamic ...
Definition peridigm_dem_coupler.hpp:24
Class for managing a DEM simulation.
Definition simulation.hpp:21
Definition bond_entry.hpp:7