NetDEM v1.0
Loading...
Searching...
No Matches
netdem::Modifier Class Reference

An interface class used to modify a DEM simulation. More...

#include <modifier.hpp>

Inheritance diagram for netdem::Modifier:
netdem::DataDumper netdem::ExternalForce netdem::Gravity netdem::MembraneWall netdem::ParticleGroup netdem::ParticleMotionControl netdem::UnbalancedForceRatioEvaluator netdem::WallGroup

Public Member Functions

 Modifier ()
 Default constructor for Modifier class.
 
virtual ModifierClone () const
 Clones the current Modifier instance.
 
virtual void Init (Simulation *sim)
 Initializes the Modifier instance.
 
virtual void Enable ()
 Enables the Modifier instance.
 
virtual void Disable ()
 Disables the Modifier instance.
 
virtual void Execute ()
 Executes the Modifier instance.
 
virtual void Update ()
 Updates the Modifier instance.
 
virtual ~Modifier ()
 Destructor for Modifier class.
 

Public Attributes

std::string label {"default"}
 
DEMSolver::CyclePoint cycle_point {DEMSolver::CyclePoint::pre}
 
Simulationsim {nullptr}
 
Scenescene {nullptr}
 
bool update_with_scene {false}
 
bool enable_logging {true}
 

Detailed Description

An interface class used to modify a DEM simulation.

The Modifier class allows for the addition of various features to a DEM simulation, such as the effects of gravity, data dumping, and scene rendering.

Constructor & Destructor Documentation

◆ Modifier()

netdem::Modifier::Modifier ( )

Default constructor for Modifier class.

◆ ~Modifier()

netdem::Modifier::~Modifier ( )
virtual

Destructor for Modifier class.

Member Function Documentation

◆ Clone()

◆ Disable()

void netdem::Modifier::Disable ( )
virtual

Disables the Modifier instance.

◆ Enable()

void netdem::Modifier::Enable ( )
virtual

Enables the Modifier instance.

◆ Execute()

◆ Init()

◆ Update()

Member Data Documentation

◆ cycle_point

DEMSolver::CyclePoint netdem::Modifier::cycle_point {DEMSolver::CyclePoint::pre}

◆ enable_logging

bool netdem::Modifier::enable_logging {true}

◆ label

◆ scene

Scene* netdem::Modifier::scene {nullptr}

◆ sim

Simulation* netdem::Modifier::sim {nullptr}

◆ update_with_scene

bool netdem::Modifier::update_with_scene {false}

The documentation for this class was generated from the following files: