GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
ConvertElementPairToFlatBond.hpp
Go to the documentation of this file.
1 // This file is part of GranOO, a workbench for DEM simulation.
2 //
3 // Author(s) : - Jean-luc CHARLES I2M-DuMAS/ENSAM Talence France
4 // <jean-luc.charles@ensam.eu>
5 // - Damien ANDRE SPCTS/ENS Ceramique industrielle, Limoges France
6 // <damien.andre@unilim.fr>
7 // - Jeremie GIRARDOT I2M-DuMAS/ENSAM Talence France
8 // <jeremie.girardot@ensam.eu>
9 // - Cedric Hubert LAMIH/UVHC Valenciennes France
10 // <cedric.hubert@univ-valenciennes.fr>
11 // - Ivan IORDANOFF I2M-DuMAS-MPI/ENSAM Talence France
12 // <ivan.iordanoff@ensam.eu>
13 //
14 // Copyright (C) 2008-2016 JL. CHARLES, D. ANDRE, I. IORDANOFF, J. GIRARDOT
15 //
16 //
17 //
18 //
19 //
20 // This program is free software: you can redistribute it and/or modify
21 // it under the terms of the GNU General Public License as published by
22 // the Free Software Foundation, either version 3 of the License, or
23 // (at your option) any later version.
24 //
25 // This program is distributed in the hope that it will be useful,
26 // but WITHOUT ANY WARRANTY; without even the implied warranty of
27 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 // GNU General Public License for more details.
29 //
30 // You should have received a copy of the GNU General Public License
31 // along with this program. If not, see <http://www.gnu.org/licenses/>.
32 
33 
34 #ifndef _libDEM_ProcessPlugIn_ConvertElementPairToFlatBond_hpp_
35 #define _libDEM_ProcessPlugIn_ConvertElementPairToFlatBond_hpp_
36 
37 
38 
39 #include "GranOO3/Core/PlugIn.hpp"
40 
41 #include "GranOO3/Core/Convert.hpp"
46 
47 namespace GranOO3
48 {
49  namespace PlugIn
50  {
51 
52 
54  {
55  DECLARE_STD_GRANOO_PLUGIN(CONVERT-ELEMENT-PAIR-TO-FLAT-BOND);
56 
57  public:
60 
61  public:
62  virtual void parse_xml();
63  virtual void run_conversion();
64 
66 
67  protected:
75  };
76 
77 
78 
79  }
80 }
81 
82 #endif
Definition: Pair.hpp:48
a special bond that must be used with Voronoi domain in order to model a perfect elastic media
Definition: FlatBond.hpp:60
Definition: ConvertElementPairToBond.hpp:49
Definition: ConvertElementPairToFlatBond.hpp:54
double _young_modulus
Definition: ConvertElementPairToFlatBond.hpp:69
DEM::FlatBond & instanciate(DEM::ElementPair &)
Definition: ConvertElementPairToFlatBond.cpp:157
bool _manage_crack_closure
Definition: ConvertElementPairToFlatBond.hpp:68
ConvertElementPairToFlatBond()
Definition: ConvertElementPairToFlatBond.cpp:100
virtual void run_conversion()
Definition: ConvertElementPairToFlatBond.cpp:145
virtual void parse_xml()
Definition: ConvertElementPairToFlatBond.cpp:118
double _maximum_tensile_stress
Definition: ConvertElementPairToFlatBond.hpp:72
double _maximum_compressive_stress
Definition: ConvertElementPairToFlatBond.hpp:73
virtual ~ConvertElementPairToFlatBond()
Definition: ConvertElementPairToFlatBond.cpp:112
double _poisson_ratio
Definition: ConvertElementPairToFlatBond.hpp:70
double _maximum_shear_stress
Definition: ConvertElementPairToFlatBond.hpp:74
double _friction_coeff
Definition: ConvertElementPairToFlatBond.hpp:71
DECLARE_STD_GRANOO_PLUGIN(CONVERT-ELEMENT-PAIR-TO-FLAT-BOND)
Definition: Common.hpp:198