CFDEMcoupling  2.4
 All Classes
global.H
1 /*---------------------------------------------------------------------------*\
2  CFDEMcoupling - Open Source CFD-DEM coupling
3 
4  CFDEMcoupling is part of the CFDEMproject
5  www.cfdem.com
6  Christoph Goniva, christoph.goniva@cfdem.com
7  Copyright 2009-2012 JKU Linz
8  Copyright 2012- DCS Computing GmbH, Linz
9 -------------------------------------------------------------------------------
10 License
11  This file is part of CFDEMcoupling.
12 
13  CFDEMcoupling is free software; you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by the
15  Free Software Foundation; either version 3 of the License, or (at your
16  option) any later version.
17 
18  CFDEMcoupling is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with CFDEMcoupling; if not, write to the Free Software Foundation,
25  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 
27 Description
28  This code is designed to realize coupled CFD-DEM simulations using LIGGGHTS
29  and OpenFOAM(R). Note: this code is not part of OpenFOAM(R) (see DISCLAIMER).
30 
31 Class
32  global
33 
34 SourceFiles
35  global.Cver
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef global_H
40 #define global_H
41 
42 #include "fvCFD.H"
43 #include "cfdemCloud.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class global Declaration
51 \*---------------------------------------------------------------------------*/
52 
53 class global
54 {
55 
56 protected:
57 
58  // Protected data
59  const dictionary& dict_;
60 
61  cfdemCloud& particleCloud_;
62 
63  const char* const CFDEMversion;
64 
65 
66  // Protected member functions
67 
68 public:
69 
70  //- Runtime type information
71  TypeName("global");
72 
73  // Declare runtime constructor selection table
74 
75  declareRunTimeSelectionTable
76  (
77  autoPtr,
78  global,
79  dictionary,
80  (
81  const dictionary& dict,
82  cfdemCloud& sm
83  ),
84  (dict,sm)
85  );
86 
87 
88  // Constructors
89 
90  //- Construct from components
91  global
92  (
93  const dictionary& dict,
94  cfdemCloud& sm
95  );
96 
97 
98  // Destructor
99 
100  virtual ~global();
101 
102 
103  // Selector
104 
105  static autoPtr<global> New
106  (
107  const dictionary& dict,
108  cfdemCloud& sm
109  );
110 
111  // Member Function
112 
113  void info();
114 
115  // Access
116 
117 };
118 
119 
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 
122 } // End namespace Foam
123 
124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125 
126 #endif
127 
128 // ************************************************************************* //
Definition: global.H:53
Definition: cfdemCloud.H:81