www.cemf.ir
periodicBoundaryContactSearch.hpp
Go to the documentation of this file.
1 /*------------------------------- phasicFlow ---------------------------------
2  O C enter of
3  O O E ngineering and
4  O O M ultiscale modeling of
5  OOOOOOO F luid flow
6 ------------------------------------------------------------------------------
7  Copyright (C): www.cemf.ir
8  email: hamid.r.norouzi AT gmail.com
9 ------------------------------------------------------------------------------
10 Licence:
11  This file is part of phasicFlow code. It is a free software for simulating
12  granular and multiphase flows. You can redistribute it and/or modify it under
13  the terms of GNU General Public License v3 or any other later versions.
14 
15  phasicFlow is distributed to help others in their research in the field of
16  granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 -----------------------------------------------------------------------------*/
20 #ifndef __periodicBoundaryContactSearch_hpp__
21 #define __periodicBoundaryContactSearch_hpp__
22 
24 #include "box.hpp"
26 #include "pointFields.hpp"
28 
29 namespace pFlow
30 {
31 
32 
34  : public boundaryContactSearch
35 {
36 private:
38 
40 
42 
44 
46 
48 
50 
51  bool masterSearch_ = false;
52 
53  void setSearchBox();
54 
55 public:
56  TypeInfo("boundaryContactSearch<regular,periodic>")
57 
59  const dictionary &dict,
62 
63  ~periodicBoundaryContactSearch() override = default;
64 
65  add_vCtor(
68  boundaryBase);
69 
70  bool broadSearch(
71  uint32 iter,
72  real t,
73  real dt,
74  csPairContainerType &ppPairs,
75  csPairContainerType &pwPairs,
76  bool force = false) override;
77 };
78 
79 }
80 
81 #endif //__periodicBoundaryContactSearch_hpp__
pFlow::real
float real
Definition: builtinTypes.hpp:45
pFlow::periodicBoundaryContactSearch::thisIndex_
uint32 thisIndex_
Definition: periodicBoundaryContactSearch.hpp:41
wallBoundaryContactSearch.hpp
pFlow::periodicBoundaryContactSearch::diameter_
const realPointField_D & diameter_
Definition: periodicBoundaryContactSearch.hpp:49
pFlow::periodicBoundaryContactSearch::masterSearch_
bool masterSearch_
Definition: periodicBoundaryContactSearch.hpp:51
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
box.hpp
pointFields.hpp
pFlow::periodicBoundaryContactSearch::ppContactSearch_
uniquePtr< ppwBndryContactSearch > ppContactSearch_
Definition: periodicBoundaryContactSearch.hpp:45
boundaryContactSearch.hpp
pFlow::unsortedPairs
Definition: unsortedPairs.hpp:32
pFlow
Definition: demGeometry.hpp:27
pFlow::periodicBoundaryContactSearch::TypeInfo
TypeInfo("boundaryContactSearch<regular,periodic>") periodicBoundaryContactSearch(const dictionary &dict
pFlow::pointField
Definition: pointField.hpp:33
pFlow::periodicBoundaryContactSearch::pwContactSearch_
uniquePtr< wallBoundaryContactSearch > pwContactSearch_
Definition: periodicBoundaryContactSearch.hpp:47
ppwBndryContactSearch.hpp
pFlow::boundaryBase
Definition: boundaryBase.hpp:42
pFlow::periodicBoundaryContactSearch::setSearchBox
void setSearchBox()
Definition: periodicBoundaryContactSearch.cpp:28
pFlow::boundaryContactSearch
Definition: boundaryContactSearch.hpp:32
pFlow::contactSearch
Definition: contactSearch.hpp:42
pFlow::periodicBoundaryContactSearch::cSearch
const boundaryBase const contactSearch & cSearch
Definition: periodicBoundaryContactSearch.hpp:61
pFlow::periodicBoundaryContactSearch::mirrorIndex_
uint32 mirrorIndex_
Definition: periodicBoundaryContactSearch.hpp:43
pFlow::box
Definition: box.hpp:32
pFlow::uniquePtr
Definition: uniquePtr.hpp:42
pFlow::periodicBoundaryContactSearch::boundary
const boundaryBase & boundary
Definition: periodicBoundaryContactSearch.hpp:60
pFlow::periodicBoundaryContactSearch::add_vCtor
add_vCtor(boundaryContactSearch, periodicBoundaryContactSearch, boundaryBase)
pFlow::periodicBoundaryContactSearch::broadSearch
bool broadSearch(uint32 iter, real t, real dt, csPairContainerType &ppPairs, csPairContainerType &pwPairs, bool force=false) override
Definition: periodicBoundaryContactSearch.cpp:87
pFlow::periodicBoundaryContactSearch::searchBox_
box searchBox_
Definition: periodicBoundaryContactSearch.hpp:37
pFlow::triple< real >
pFlow::periodicBoundaryContactSearch
Definition: periodicBoundaryContactSearch.hpp:33
pFlow::periodicBoundaryContactSearch::transferVec_
realx3 transferVec_
Definition: periodicBoundaryContactSearch.hpp:39
pFlow::dictionary
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
Definition: dictionary.hpp:67