GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Constant.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 // This program is free software: you can redistribute it and/or modify
19 // it under the terms of the GNU General Public License as published by
20 // the Free Software Foundation, either version 3 of the License, or
21 // (at your option) any later version.
22 //
23 // This program is distributed in the hope that it will be useful,
24 // but WITHOUT ANY WARRANTY; without even the implied warranty of
25 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 // GNU General Public License for more details.
27 //
28 // You should have received a copy of the GNU General Public License
29 // along with this program. If not, see <http://www.gnu.org/licenses/>.
30 
31 
32 #ifndef _GranOO_Geom_Constant_HPP_
33 #define _GranOO_Geom_Constant_HPP_
34 
35 
36 namespace GranOO3
37 {
38  namespace Geom
39  {
40  class Vector;
41  class Point;
42  class Quaternion;
43  class Tensor;
44  class Frame;
45 
46 
47  struct axis
48  {
49  static const Geom::Vector x;
50  static const Geom::Vector y;
51  static const Geom::Vector z;
52  };
53 
54  struct constant
55  {
56  static const double max;
57  static const double min;
58  static double epsilon;
59 
60  static const Geom::Vector min_vector;
61  static const Geom::Vector max_vector;
62 
63  };
64 
65  struct global
66  {
67  static const Geom::Point center;
69  static const Geom::Frame frame;
70  static const Geom::Tensor tensor;
71  };
72 
73  struct null
74  {
75  static const Geom::Vector vector;
76  static const Geom::Point center;
78  static const Geom::Tensor tensor;
79  static const Geom::Frame frame;
80  };
81 
82 
83 
84  }
85 }
86 
87 #endif
Definition: Frame.hpp:68
Definition: Point.hpp:62
Definition: Quaternion.hpp:54
Definition: Tensor.hpp:62
Definition: Vector.hpp:75
Definition: Common.hpp:198
Definition: Constant.hpp:48
static const Geom::Vector x
Definition: Constant.hpp:49
static const Geom::Vector z
Definition: Constant.hpp:51
static const Geom::Vector y
Definition: Constant.hpp:50
Definition: Constant.hpp:55
static const Geom::Vector max_vector
Definition: Constant.hpp:61
static const double min
Definition: Constant.hpp:57
static const Geom::Vector min_vector
Definition: Constant.hpp:60
static const double max
Definition: Constant.hpp:56
static double epsilon
Definition: Constant.hpp:58
Definition: Constant.hpp:66
static const Geom::Frame frame
Definition: Constant.hpp:69
static const Geom::Quaternion quaternion
Definition: Constant.hpp:68
static const Geom::Point center
Definition: Constant.hpp:67
static const Geom::Tensor tensor
Definition: Constant.hpp:70
Definition: Constant.hpp:74
static const Geom::Tensor tensor
Definition: Constant.hpp:78
static const Geom::Point center
Definition: Constant.hpp:76
static const Geom::Quaternion quaternion
Definition: Constant.hpp:77
static const Geom::Frame frame
Definition: Constant.hpp:79
static const Geom::Vector vector
Definition: Constant.hpp:75