GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Lib
GranOO3
DEM
ContactDetection
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
32
#include "
GranOO3/Core/ObjectFactory.hpp
"
33
34
#include "
GranOO3/Core/NeedSetOf.hpp
"
35
#include "
GranOO3/DEM/ContactDetection.hpp
"
36
#include "
GranOO3/DEM/SupportShape.hpp
"
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
53
ContactDetection_Tool
();
54
virtual
~ContactDetection_Tool
();
55
56
//USEFULL
57
virtual
void
detect_contact
();
58
virtual
void
parse_xml
();
59
void
detect_contact_with
(
Tool
&);
60
61
private
:
62
ContactDetection_Tool
(
const
ContactDetection_Tool
&) =
delete
;
63
ContactDetection_Tool
&
operator=
(
const
ContactDetection_Tool
&) =
delete
;
64
65
protected
:
66
std::string
_toolID
;
67
};
68
}
69
}
70
71
72
#endif
ContactDetection.hpp
NeedSetOf.hpp
ObjectFactory.hpp
SupportShape.hpp
Tool.hpp
GranOO3::DEM::ContactDetection_Tool
A class for managing contact with discrete elements (obsolete and not documented)
Definition:
Tool.hpp:44
GranOO3::DEM::ContactDetection_Tool::~ContactDetection_Tool
virtual ~ContactDetection_Tool()
Definition:
Tool.cpp:74
GranOO3::DEM::ContactDetection_Tool::ContactDetection_Tool
ContactDetection_Tool()
Definition:
Tool.cpp:70
GranOO3::DEM::ContactDetection_Tool::_toolID
std::string _toolID
Definition:
Tool.hpp:66
GranOO3::DEM::ContactDetection_Tool::parse_xml
virtual void parse_xml()
Definition:
Tool.cpp:78
GranOO3::DEM::ContactDetection_Tool::ContactDetection_Tool
ContactDetection_Tool(const ContactDetection_Tool &)=delete
GranOO3::DEM::ContactDetection_Tool::operator=
ContactDetection_Tool & operator=(const ContactDetection_Tool &)=delete
GranOO3::DEM::ContactDetection_Tool::detect_contact
virtual void detect_contact()
Definition:
Tool.cpp:86
GranOO3::DEM::ContactDetection_Tool::detect_contact_with
void detect_contact_with(Tool &)
Definition:
Tool.cpp:100
GranOO3::DEM::ContactDetection
A class for managing contact with discrete elements (obsolete and not documented)
Definition:
ContactDetection.hpp:54
GranOO3::DEM::ContactDetection< DEM::Tool >::class_ID
static std::string class_ID()
Definition:
ContactDetection.hpp:57
GranOO3::DEM::Tool
a base class that represents a rigid body with various shape into a discrete element simulation
Definition:
Tool.hpp:52
GranOO3
Definition:
Common.hpp:198
Generated on Thu May 15 2025 01:00:19 for GranOO by
1.9.1