|  | GranOO
    3.0
    A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method | 
#include <NodeInteraction.hpp>

| Public Member Functions | |
| NodeInteraction (Node &de1, Node &de2, bool build_node_interaction) | |
| virtual | ~NodeInteraction () | 
| bool | contact_interaction () const | 
| void | apply_force () | 
| void | clear_force () | 
| Geom::Vector & | force_on (const Node &) | 
| const Geom::Vector & | force_on (const Node &) const | 
| void | swap (Node &from, Node &to) | 
| virtual std::ostream & | write_ascii (std::ostream &out) const | 
| void | add_label_force (const std::string &label, const Geom::Vector &f1, const Geom::Vector &f2) | 
|  Public Member Functions inherited from GranOO3::Core::Base | |
| virtual | ~Base () | 
| virtual std::string | info () const | 
| 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 () | 
| virtual std::istream & | read_ascii (std::istream &in) | 
| virtual std::ostream & | export_to_povray (std::ostream &out) const | 
| 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 () | 
| 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::Register< NodeInteraction > | |
| Register () | |
| virtual | ~Register () | 
| void | erase_from_all_setof () | 
| bool | belong_to_setof (const std::string &setOfId) const | 
| bool | belong_to_setof (const SetOf< NodeInteraction > &set) const | 
| std::list< SetOf< NodeInteraction > * > & | get_setof_list () | 
| unsigned long long int | get_numeric_ID () const | 
| Protected Attributes | |
| const bool | _contact_interaction | 
| Node * | _node1 | 
| Node * | _node2 | 
| Geom::Vector | _force_on1 | 
| Geom::Vector | _force_on2 | 
| Private Member Functions | |
| NodeInteraction ()=delete | |
| NodeInteraction (const NodeInteraction &frame)=delete | |
| NodeInteraction & | operator= (const NodeInteraction &)=delete | 
| template<class Archive > | |
| void | serialize (Archive &, const unsigned int) | 
| Private Attributes | |
| std::map< std::string, Geom::Vector > | _energy_balance_force1 | 
| std::map< std::string, Geom::Vector > | _energy_balance_force2 | 
| 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 () | 
| GranOO3::Physic::NodeInteraction::NodeInteraction | ( | Node & | de1, | 
| Node & | de2, | ||
| bool | build_node_interaction | ||
| ) | 
| 
 | virtual | 
| 
 | privatedelete | 
| 
 | privatedelete | 
| void GranOO3::Physic::NodeInteraction::add_label_force | ( | const std::string & | label, | 
| const Geom::Vector & | f1, | ||
| const Geom::Vector & | f2 | ||
| ) | 
| void GranOO3::Physic::NodeInteraction::apply_force | ( | ) | 
| void GranOO3::Physic::NodeInteraction::clear_force | ( | ) | 
| bool GranOO3::Physic::NodeInteraction::contact_interaction | ( | ) | const | 
| Geom::Vector & GranOO3::Physic::NodeInteraction::force_on | ( | const Node & | p | ) | 
| const Geom::Vector & GranOO3::Physic::NodeInteraction::force_on | ( | const Node & | p | ) | const | 
| 
 | privatedelete | 
| 
 | private | 
| 
 | virtual | 
Reimplemented from GranOO3::Core::Base.
| 
 | friend | 
| 
 | protected | 
| 
 | private | 
| 
 | private | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected |