Go to the documentation of this file.
22 #ifndef __ContactSearch_hpp__
23 #define __ContactSearch_hpp__
33 template<
class>
class BaseMethod,
34 template<
class>
class WallMapping
80 auto method =
dict().getVal<
word>(
"method");
81 auto wmMethod =
dict().getVal<
word>(
"wallMapping");
83 auto nbDict =
dict().subDict(method+
"Info");
86 this->
Particles().boundingSphereMinMax(minD, maxD);
88 const auto& position = this->
Particles().pointPosition().deviceVectorAll();
89 const auto& diam = this->
Particles().boundingSphere().deviceVectorAll();
91 particleContactSearch_ =
92 makeUnique<ParticleContactSearchType>
101 REPORT(2)<<
"Contact search algorithm for particle-particle is "<<
105 auto wmDict =
dict().subDict(wmMethod+
"Info");
110 const auto& wPoints = this->
Geometry().points().deviceVectorAll();
111 const auto& wVertices = this->
Geometry().vertices().deviceVectorAll();
114 makeUnique<WallMappingType>(
123 REPORT(2)<<
"Wall mapping algorithm for particle-wall is "<<
137 bool force =
false)
override
143 auto activeRange = this->
Particles().activeRange();
248 #endif //__ContactSearch_hpp__
const auto & Particles() const