6#include <unordered_map>
20 enum SolveBy { cycles, time };
23 SolveBy solve_by{SolveBy::cycles};
25 int solve_cycle_interval{0};
26 double solve_time_interval{0};
28 int solve_cycle_previous{0};
29 double solve_time_previous{0};
34 using SaveBy = SolveBy;
36 SaveBy save_by{SaveBy::cycles};
38 int save_cycle_interval{0};
39 double save_time_interval{0};
41 int save_cycle_previous{0};
42 double save_time_previous{0};
52 std::string
root_path{
"tmp/out/deformation_analysis/"};
55 std::unordered_map<Particle *, std::pair<bool, DeformableParticle>>
120 void SolveDeformation();
162 std::string GetFEMResultFileName(
Particle *
const p_ptr);
171 bool CheckIfToExecute();
A class representing a deformable particle simulated using the Finite Element Method (FEM).
Definition deformable_particle.hpp:21
A Finite Element Method (FEM) simulator used for simulating the deformation of objects.
Definition fem_simulator.hpp:18
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
Definition particle.hpp:26
Class for managing a DEM simulation.
Definition simulation.hpp:21
Definition bond_entry.hpp:7
std::array< double, 3 > Vec3d
Definition utils_macros.hpp:18