GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Tool.hpp
Go to the documentation of this file.
1 // This file is part of GranOO, a workbench for DEM simulation.
2 //
3 // Author(s) : - Damien Andre IRCER/UNILIM, Limoges France
4 // <damien.andre@unilim.fr>
5 // - Jean-luc Charles Arts et Metiers ParisTech, CNRS, I2M, Bordeaux France
6 // <jean-luc.charles@ensam.eu>
7 // - Jeremie Girardot Arts et Metiers ParisTech, CNRS, I2M, Bordeaux France
8 // <jeremie.girardot@ensam.eu>
9 // - Cedric Hubert LAMIH/UPHF, Valenciennes France
10 // <cedric.hubert@uphf.fr>
11 // - Ivan Iordanoff Arts et Metiers ParisTech, CNRS, I2M, Bordeaux France
12 // <ivan.iordanoff@ensam.eu>
13 //
14 // Copyright (C) 2008-2019 D. Andre, JL. Charles, J. Girardot, C. Hubert, I. Iordanoff
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 // This program is distributed in the hope that it will be useful,
21 // but WITHOUT ANY WARRANTY; without even the implied warranty of
22 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 // GNU General Public License for more details.
24 //
25 // You should have received a copy of the GNU General Public License
26 // along with this program. If not, see <http://www.gnu.org/licenses/>.
27 
28 
29 #ifndef _libDEM_ContactDetection_Tool_hpp_
30 #define _libDEM_ContactDetection_Tool_hpp_
31 
33 
37 #include "GranOO3/DEM/Tool.hpp"
38 
39 namespace GranOO3
40 {
41  namespace DEM
42  {
43  class ContactDetection_Tool : public ContactDetection<DEM::Tool>
44  {
45 
46  GRANOO_OBJECT_FACTORY(ContactDetection_Tool)
47 
48  public:
49  static std::string class_ID() {return "Tool";}
50 
51  public:
52  //CONSTRUCTORS & DESTRUCTORS
54  virtual ~ContactDetection_Tool();
55 
56  //USEFULL
57  virtual void detect_contact();
58  virtual void parse_xml();
60 
61  private:
64 
65  protected:
66  std::string _toolID;
67  };
68  }
69 }
70 
71 
72 #endif
A class for managing contact with discrete elements (obsolete and not documented)
Definition: Tool.hpp:44
virtual ~ContactDetection_Tool()
Definition: Tool.cpp:74
ContactDetection_Tool()
Definition: Tool.cpp:70
std::string _toolID
Definition: Tool.hpp:66
virtual void parse_xml()
Definition: Tool.cpp:78
ContactDetection_Tool(const ContactDetection_Tool &)=delete
ContactDetection_Tool & operator=(const ContactDetection_Tool &)=delete
virtual void detect_contact()
Definition: Tool.cpp:86
void detect_contact_with(Tool &)
Definition: Tool.cpp:100
A class for managing contact with discrete elements (obsolete and not documented)
Definition: ContactDetection.hpp:54
static std::string class_ID()
Definition: ContactDetection.hpp:57
a base class that represents a rigid body with various shape into a discrete element simulation
Definition: Tool.hpp:52
Definition: Common.hpp:198