A command class to create an object in the simulation.
Definition command_create.hpp:20
CommandCreate(nlohmann::json const &info, Simulation *sim)
Constructs a new CommandCreate object with the given information and simulation object.
Definition command_create.cpp:8
void Execute() override
Creates the object in the simulation.
Definition command_create.cpp:11
A base class for commands that can modify a simulation based on provided JSON information.
Definition command.hpp:21
Simulation * sim
A pointer to the simulation object.
Definition command.hpp:27
nlohmann::json info
The information associated with the command.
Definition command.hpp:24
Class for managing a DEM simulation.
Definition simulation.hpp:21
Definition bond_entry.hpp:7