CFDEMcoupling  2.4
 All Classes
standardSearch.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  standardSearch
33 
34 SourceFiles
35  standardSearch.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef standardSearch_H
40 #define standardSearch_H
41 
42 #include "locateModel.H"
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class noDrag Declaration
51 \*---------------------------------------------------------------------------*/
52 
54 :
55  public locateModel
56 {
57 
58 public:
59 
60  //- Runtime type information
61  TypeName("standard");
62 
63 
64  // Constructors
65 
66  //- Construct from components
68  (
69  const dictionary& dict,
70  cfdemCloud& sm
71  );
72 
73  // Destructor
74 
75  ~standardSearch();
76 
77 
78  // Member Functions
79  label findCell
80  (
81  double** const& mask,
82  double**& positions,
83  double**& cellIDs,
84  int size
85  ) const;
86 
87  label findSingleCell
88  (
89  vector& position,
90  label& oldCellID
91  ) const;
92 };
93 
94 
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 
97 } // End namespace Foam
98 
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 
101 #endif
102 
103 // ************************************************************************* //
Definition: standardSearch.H:53
Definition: cfdemCloud.H:81
Definition: locateModel.H:53