GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GranOO3::PlugIn::VelocityVerletStep2 Class Reference

#include <VelocityVerletStep2.hpp>

Inheritance diagram for GranOO3::PlugIn::VelocityVerletStep2:
Inheritance graph
[legend]

Public Member Functions

 VelocityVerletStep2 ()
 
 ~VelocityVerletStep2 ()
 
void parse_xml ()
 
void init ()
 
void run ()
 
void run_multi_thread_process (size_t startIndex, size_t stopIndex, size_t threadRank=-1)
 
- Public Member Functions inherited from GranOO3::Core::PlugInInterface< VelocityVerletStep2 >
virtual ~PlugInInterface ()
 
- Public Member Functions inherited from GranOO3::Core::PlugIn
 PlugIn (const std::string &id)
 
virtual ~PlugIn ()
 
const std::string & get_ID () const
 
void verbose ()
 
void run_and_init ()
 
void trigger_signal_run ()
 
double get_elapsed_time ()
 
int get_instance_number ()
 
void trigger_signal (const std::string &sigID)
 
virtual void read_xml_element (const TiXmlElement *el, bool verbose=false)
 
bool is_multi_thread () const
 
bool is_trigger () const
 
bool is_stop () const
 
void stop ()
 
void unstop ()
 
void set_tot_iter_number (unsigned int)
 
- Public Member Functions inherited from GranOO3::Core::MultiThreadedProcess
 MultiThreadedProcess (const std::string &id=std::string(""))
 
virtual ~MultiThreadedProcess ()
 
void init (size_t totalItemNumberToProcess, bool resetTimeAccumulator=true)
 
void run (size_t totalItemNumberToProcess)
 
size_t get_total_item_number_to_process () const
 
unsigned int get_total_number_of_thread () const
 

Private Member Functions

 DECLARE_STD_GRANOO_PLUGIN (VELOCITY-VERLET-STEP2)
 

Private Attributes

std::string _time_step_ID
 
std::string _set
 
bool _linear
 
bool _angular
 
double _beta_linear
 
double _beta_angular
 

Additional Inherited Members

- Static Public Member Functions inherited from GranOO3::Core::PlugInInterface< VelocityVerletStep2 >
static PlugInbuild ()
 
static VelocityVerletStep2 & get (unsigned int=0)
 
static bool exist (unsigned int rank=0)
 
static bool record (const std::string file, const std::string desc="")
 
- Static Public Member Functions inherited from GranOO3::Core::PlugIn
static PlugInget (const std::string &id, unsigned int rank=0)
 
static std::map< std::string, std::vector< PlugIn * > > get_all_plugin ()
 
static std::vector< PlugIn * > get_all_plugin_vector ()
 
static bool exist (const std::string &id, unsigned int rank=0)
 
static const std::string class_ID ()
 
- Static Public Member Functions inherited from GranOO3::Core::ObjectFactoryInterface< BaseClass, ChildClass >
static BaseClass * build ()
 
static bool record (const std::string &id, std::string file_name="", std::string desc="")
 
- Static Public Member Functions inherited from GranOO3::Core::ObjectFactory< BaseClass >
static void record (std::function< BaseClass *()>, const std::string &, const std::string file="", const std::string desc="")
 
static BaseClass * new_object (const std::string &)
 
static std::vector< std::string > get_ID ()
 
static std::map< const std::string, std::function< BaseClass *()> > & get_map ()
 
- Protected Member Functions inherited from GranOO3::Core::PlugInInterface< VelocityVerletStep2 >
 PlugInInterface ()
 
- Protected Member Functions inherited from GranOO3::Core::ObjectFactoryInterface< BaseClass, ChildClass >
 ObjectFactoryInterface ()
 
virtual ~ObjectFactoryInterface ()
 
- Protected Member Functions inherited from GranOO3::Core::ObjectFactory< BaseClass >
 ObjectFactory ()
 
virtual ~ObjectFactory ()
 
- Protected Attributes inherited from GranOO3::Core::PlugIn
std::vector< PlugIn * > _subplugin
 
PlugIn_current_subplugin
 
const std::string _ID
 
const std::string _description
 
PlugIn_parent
 
bool _init
 
bool _can_run
 
bool _verbose
 
unsigned int _current_iter_number
 
unsigned int _iter_number
 
double _total_time
 
bool _stop
 
unsigned int _every_iter
 
double _step_time
 
unsigned int _nb_outputs
 
Math::Expression_trigger_if_expr
 
Math::Expression_init_if_expr
 
std::chrono::microseconds _elapsed_time
 

Constructor & Destructor Documentation

◆ VelocityVerletStep2()

GranOO3::PlugIn::VelocityVerletStep2::VelocityVerletStep2 ( )

◆ ~VelocityVerletStep2()

GranOO3::PlugIn::VelocityVerletStep2::~VelocityVerletStep2 ( )

Member Function Documentation

◆ DECLARE_STD_GRANOO_PLUGIN()

GranOO3::PlugIn::VelocityVerletStep2::DECLARE_STD_GRANOO_PLUGIN ( VELOCITY-VERLET-  STEP2)
private

◆ init()

void GranOO3::PlugIn::VelocityVerletStep2::init ( )
virtual

Reimplemented from GranOO3::Core::PlugIn.

◆ parse_xml()

void GranOO3::PlugIn::VelocityVerletStep2::parse_xml ( )
virtual

◆ run()

void GranOO3::PlugIn::VelocityVerletStep2::run ( )
virtual

Reimplemented from GranOO3::Core::PlugIn.

◆ run_multi_thread_process()

void GranOO3::PlugIn::VelocityVerletStep2::run_multi_thread_process ( size_t  startIndex,
size_t  stopIndex,
size_t  threadRank = -1 
)
virtual

Member Data Documentation

◆ _angular

bool GranOO3::PlugIn::VelocityVerletStep2::_angular
private

◆ _beta_angular

double GranOO3::PlugIn::VelocityVerletStep2::_beta_angular
private

◆ _beta_linear

double GranOO3::PlugIn::VelocityVerletStep2::_beta_linear
private

◆ _linear

bool GranOO3::PlugIn::VelocityVerletStep2::_linear
private

◆ _set

std::string GranOO3::PlugIn::VelocityVerletStep2::_set
private

◆ _time_step_ID

std::string GranOO3::PlugIn::VelocityVerletStep2::_time_step_ID
private

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