![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
#include <Particle.hpp>

Public Member Functions | |
| Particle (const Geom::Point &, double radius) | |
| Particle () | |
| virtual | ~Particle () |
| void | set_mass (double) |
| double | get_mass () const |
| double | get_bounding_radius () const |
| size_t | neighbour_number () const |
| std::vector< Interaction > & | get_interaction () |
| void | clear_interaction () |
| void | add_interaction (Particle &part) |
| template<class Kernel > | |
| void | update_density () |
| void | update_pressure (const double gazStiffness, const double gazdensity) |
| template<class Kernel > | |
| void | apply_pressure_force () |
| template<class Kernel > | |
| void | apply_viscous_force () |
| virtual std::string | info () const |
| virtual void | draw () |
| virtual std::ostream & | write_ascii (std::ostream &out) const |
| virtual std::istream & | read_ascii (std::istream &in) |
Public Member Functions inherited from GranOO3::Physic::Node | |
| Node (const Geom::Vector &position) | |
| Node (const Geom::Point &position) | |
| Node () | |
| virtual | ~Node () |
| void | clear_force () |
| void | clear_torque () |
| const Geom::Frame & | local_frame () const |
| void | incremental_move (const Geom::Vector &vec) |
| void | incremental_unmove (const Geom::Vector &vec) |
| void | update_position_from_displacement () |
| void | update_displacement_from_position () |
| void | set_displacement (const Geom::Vector &) |
| void | clear_displacement () |
| void | set_displacement_x (const double &) |
| void | set_displacement_y (const double &) |
| void | set_displacement_z (const double &) |
| void | set_position (const Geom::Vector &) |
| void | set_position_x (const double &) |
| void | set_position_y (const double &) |
| void | set_position_z (const double &) |
| void | set_center (const Geom::Point &) |
| void | update_initial_parameter_to_current_parameter () |
| void | update_from_fem () |
| void | update_from_dem () |
| void | add_interaction (Node &) |
| void | erase_interaction (Node &) |
| bool | interact_with (const Node &) const |
| bool | interact_with (const Ground &) const |
| bool | interact_with (const FEM::Surface &) const |
| void | apply_force (const Geom::Vector &) |
| void | apply_torque (const Geom::Vector &) |
| void | set_quaternion_velocity_from_angular_velocity (const Geom::Vector &angularVelocity) |
| void | set_quaternion_acceleration_from_angular_acceleration (const Geom::Vector &angularAcceleration, const Geom::Vector &angularVelocity) |
| void | update_angular_velocity () |
| virtual void | clear_kinematic () |
| Geom::Vector | get_linear_velocity_at (const Geom::Point &) const |
| void | make_equal_to (const Node &) |
| virtual std::ostream & | export_to_povray (std::ostream &out) const |
Public Member Functions inherited from GranOO3::Core::Base | |
| virtual | ~Base () |
| size_t | numID () const |
| size_t | uID () const |
| void | set_numID (size_t val) |
| void | clear_numID () |
| Physic::Material & | get_mat () const |
| void | set_mat (Physic::Material *) |
| Base & | item () |
| const Base & | item () const |
| bool | is_same (const Base &) const |
| template<class T > | |
| T & | cast_to () |
| template<class T > | |
| const T & | cast_to () const |
| template<class T > | |
| bool | is () const |
| virtual bool | is (size_t) const |
| virtual const std::string & | get_ID () const |
| virtual Base & | clone () |
| template<class T > | |
| T & | clone_to () |
| Signal< Base & > & | deleted_signal () |
Public Member Functions inherited from GranOO3::Core::Null | |
| Null () | |
| virtual | ~Null () |
Public Member Functions inherited from GranOO3::Core::Drawable | |
| Drawable () | |
| virtual | ~Drawable () |
| virtual void | draw_edge () |
| virtual void | init_default_color () |
| virtual std::ostream & | get_info (std::ostream &os) const |
| virtual const Color & | default_color () const |
| Color & | get_color () |
| const Color & | get_color () const |
| virtual void | set_color (const Color &) |
| virtual void | set_alpha (float alpha) |
| void | apply_color () const |
| void | apply_edge_color () const |
| void | apply_default_color () |
| void | apply_selected_color () |
| void | set_line_width (float) |
| float | get_line_width () const |
| float & | get_line_width () |
| void | apply_line_width () const |
| bool | is_visible () const |
| void | set_visible (bool) |
| void | paint () |
| void | paint_edge () |
| unsigned int | get_item_glkey () const |
Public Member Functions inherited from GranOO3::Core::Register< Base > | |
| Register () | |
| virtual | ~Register () |
| void | erase_from_all_setof () |
| bool | belong_to_setof (const std::string &setOfId) const |
| bool | belong_to_setof (const SetOf< Base > &set) const |
| std::list< SetOf< Base > * > & | get_setof_list () |
| unsigned long long int | get_numeric_ID () const |
Public Member Functions inherited from GranOO3::Core::PropClass< Node > | |
| PropClass () | |
| virtual | ~PropClass () |
| T & | new_object () |
| T & | get () |
| const T & | get () const |
| bool | prop_exist () const |
| void | add_prop (Core::Prop< Node > *) |
| void | remove_prop (Core::Prop< Node > *) |
| std::string | info () const |
Public Member Functions inherited from GranOO3::Core::Register< Node > | |
| Register () | |
| virtual | ~Register () |
| void | erase_from_all_setof () |
| bool | belong_to_setof (const std::string &setOfId) const |
| bool | belong_to_setof (const SetOf< Node > &set) const |
| std::list< SetOf< Node > * > & | get_setof_list () |
| unsigned long long int | get_numeric_ID () const |
Public Member Functions inherited from GranOO3::Core::PropClass< Particle > | |
| PropClass () | |
| virtual | ~PropClass () |
| T & | new_object () |
| T & | get () |
| const T & | get () const |
| bool | prop_exist () const |
| void | add_prop (Core::Prop< Particle > *) |
| void | remove_prop (Core::Prop< Particle > *) |
| std::string | info () const |
Public Member Functions inherited from GranOO3::Core::Register< Particle > | |
| Register () | |
| virtual | ~Register () |
| void | erase_from_all_setof () |
| bool | belong_to_setof (const std::string &setOfId) const |
| bool | belong_to_setof (const SetOf< Particle > &set) const |
| std::list< SetOf< Particle > * > & | get_setof_list () |
| unsigned long long int | get_numeric_ID () const |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &, const unsigned int) |
Private Attributes | |
| double | _mass |
| double | _h |
| double | _radius |
| double | _density |
| double | _pressure |
| double | _viscosity |
| std::vector< Interaction > | interaction_ |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Static Public Member Functions inherited from GranOO3::Core::Base | |
| static Base & | get_by_numID (size_t) |
| static void | clear_all_numID () |
| static unsigned int | get_sub_class_number () |
Static Public Member Functions inherited from GranOO3::Core::Drawable | |
| static Drawable & | get_drawable_item_by_glkey (int) |
| static void | set_draw_precision (unsigned int p) |
| static void | increase_draw_precision () |
| static void | decrease_draw_precision () |
| static unsigned int | get_draw_precision () |
Static Public Attributes inherited from GranOO3::Core::Null | |
| static Null | null = Null() |
Protected Member Functions inherited from GranOO3::Core::Base | |
| Base () | |
Static Protected Member Functions inherited from GranOO3::Core::Base | |
| static unsigned int | affect_class_rank_ID () |
Protected Attributes inherited from GranOO3::Core::PropClass< Node > | |
| std::vector< Core::Prop< Node > * > | _prop |
Protected Attributes inherited from GranOO3::Core::PropClass< Particle > | |
| std::vector< Core::Prop< Particle > * > | _prop |
| GranOO3::SPH::Particle::Particle | ( | const Geom::Point & | p, |
| double | radius | ||
| ) |
| GranOO3::SPH::Particle::Particle | ( | ) |
|
virtual |
|
inline |
| void GranOO3::SPH::Particle::apply_pressure_force |
| void GranOO3::SPH::Particle::apply_viscous_force |
|
inline |
|
virtual |
Reimplemented from GranOO3::Physic::Node.
| double GranOO3::SPH::Particle::get_bounding_radius | ( | ) | const |
|
inline |
|
virtual |
Reimplemented from GranOO3::Physic::Node.
|
virtual |
Reimplemented from GranOO3::Physic::Node.
|
inline |
|
virtual |
Reimplemented from GranOO3::Physic::Node.
|
private |
| void GranOO3::SPH::Particle::set_mass | ( | double | m | ) |
| void GranOO3::SPH::Particle::update_density |
|
inline |
|
virtual |
Reimplemented from GranOO3::Physic::Node.
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |