Public Member Functions | |
TypeInfo ("contactSearch") | |
contactSearch (const dictionary &dict, const box &extDomain, const particles &prtcl, const geometry &geom, Timers &timers) | |
virtual | ~contactSearch ()=default |
create_vCtor (contactSearch, dictionary,(const dictionary &dict, const box &domain, const particles &prtcl, const geometry &geom, Timers &timers),(dict, domain, prtcl, geom, timers)) | |
bool | performedSearch () const |
bool | performedSearchBoundary () const |
bool | performSearch (uint32 iter, bool force=false) const |
bool | enterBroadSearch (const timeInfo &ti, bool force=false) const |
virtual bool | enterBroadSearchBoundary (const timeInfo &ti, bool force=false) const =0 |
uint32 | updateInterval () const |
const dictionary & | dict () const |
const box & | extendedDomainBox () const |
const particles & | Particles () const |
const pointStructure & | pStruct () const |
const geometry & | Geometry () const |
Timer & | ppTimer () |
Timer & | bTimer () |
bool | broadSearch (const timeInfo &ti, csPairContainerType &ppPairs, csPairContainerType &pwPairs, bool force=false) |
bool | boundaryBroadSearch (uint32 bndryIndex, const timeInfo &ti, csPairContainerType &ppPairs, csPairContainerType &pwPairs, bool force=false) |
virtual real | sizeRatio () const =0 |
virtual real | cellExtent () const =0 |
Static Public Member Functions | |
static uniquePtr< contactSearch > | create (const dictionary &dict, const box &extDomain, const particles &prtcl, const geometry &geom, Timers &timers) |
Private Member Functions | |
virtual bool | BroadSearch (const timeInfo &ti, csPairContainerType &ppPairs, csPairContainerType &pwPairs, bool force)=0 |
virtual bool | BoundaryBroadSearch (uint32 bndryIndex, const timeInfo &ti, csPairContainerType &ppPairs, csPairContainerType &pwPairs, bool force=false)=0 |
Private Attributes | |
const box & | extendedDomainBox_ |
uint32 | updateInterval_ = 1 |
update interval in terms of iteration numebr More... | |
uint32 | lastUpdated_ = 0 |
last iteration number which contact search has been performed More... | |
bool | performedSearch_ = false |
performed search? More... | |
bool | performedSearchBoundary_ = false |
performed search in boundaries More... | |
const particles & | particles_ |
const ref to particles More... | |
const geometry & | geometry_ |
const ref to geometry More... | |
Timer | bTimer_ |
Timer | ppTimer_ |
dictionary | dict_ |
Definition at line 42 of file contactSearch.hpp.
contactSearch | ( | const dictionary & | dict, |
const box & | extDomain, | ||
const particles & | prtcl, | ||
const geometry & | geom, | ||
Timers & | timers | ||
) |
Definition at line 26 of file contactSearch.cpp.
|
virtualdefault |
|
privatepure virtual |
Implemented in ContactSearch< searchMethod >.
|
privatepure virtual |
Implemented in ContactSearch< searchMethod >.
TypeInfo | ( | "contactSearch" | ) |
create_vCtor | ( | contactSearch | , |
dictionary | , | ||
(const dictionary &dict, const box &domain, const particles &prtcl, const geometry &geom, Timers &timers) | , | ||
(dict, domain, prtcl, geom, timers) | |||
) |
|
inline |
Definition at line 118 of file contactSearch.hpp.
References contactSearch::performedSearch_.
|
inline |
Definition at line 124 of file contactSearch.hpp.
References contactSearch::performedSearchBoundary_.
|
inline |
Definition at line 130 of file contactSearch.hpp.
References contactSearch::lastUpdated_, and contactSearch::updateInterval_.
Referenced by contactSearch::enterBroadSearch().
|
inline |
Definition at line 139 of file contactSearch.hpp.
References timeInfo::iter(), and contactSearch::performSearch().
Referenced by ContactSearch< searchMethod >::enterBroadSearchBoundary().
|
pure virtual |
Implemented in ContactSearch< searchMethod >.
|
inline |
Definition at line 148 of file contactSearch.hpp.
References contactSearch::updateInterval_.
|
inline |
Definition at line 154 of file contactSearch.hpp.
References contactSearch::dict_.
Referenced by ContactSearch< searchMethod >::ContactSearch().
|
inline |
Definition at line 160 of file contactSearch.hpp.
References contactSearch::extendedDomainBox_.
Referenced by ContactSearch< searchMethod >::ContactSearch().
|
inline |
Definition at line 166 of file contactSearch.hpp.
References contactSearch::particles_.
Referenced by ContactSearch< searchMethod >::BroadSearch(), and ContactSearch< searchMethod >::ContactSearch().
const pFlow::pointStructure & pStruct | ( | ) | const |
Definition at line 43 of file contactSearch.cpp.
|
inline |
Definition at line 174 of file contactSearch.hpp.
References contactSearch::geometry_.
Referenced by ContactSearch< searchMethod >::ContactSearch().
|
inline |
Definition at line 180 of file contactSearch.hpp.
References contactSearch::ppTimer_.
|
inline |
Definition at line 186 of file contactSearch.hpp.
References contactSearch::bTimer_.
bool broadSearch | ( | const timeInfo & | ti, |
csPairContainerType & | ppPairs, | ||
csPairContainerType & | pwPairs, | ||
bool | force = false |
||
) |
Definition at line 49 of file contactSearch.cpp.
References fatalErrorInFunction.
bool boundaryBroadSearch | ( | uint32 | bndryIndex, |
const timeInfo & | ti, | ||
csPairContainerType & | ppPairs, | ||
csPairContainerType & | pwPairs, | ||
bool | force = false |
||
) |
Definition at line 82 of file contactSearch.cpp.
|
pure virtual |
Implemented in ContactSearch< searchMethod >.
|
pure virtual |
Implemented in ContactSearch< searchMethod >.
|
static |
Definition at line 118 of file contactSearch.cpp.
References pFlow::angleBracketsNames(), pFlow::endl(), fatalError, fatalExit, dictionary::getVal(), Green_Text, pFlow::pOutput, pFlow::printKeys(), and iOstream::space().
|
private |
Definition at line 46 of file contactSearch.hpp.
Referenced by contactSearch::extendedDomainBox().
|
private |
update interval in terms of iteration numebr
Definition at line 49 of file contactSearch.hpp.
Referenced by contactSearch::performSearch(), and contactSearch::updateInterval().
|
private |
last iteration number which contact search has been performed
Definition at line 52 of file contactSearch.hpp.
Referenced by contactSearch::performSearch().
|
private |
performed search?
Definition at line 55 of file contactSearch.hpp.
Referenced by contactSearch::performedSearch().
|
private |
performed search in boundaries
Definition at line 58 of file contactSearch.hpp.
Referenced by contactSearch::performedSearchBoundary().
|
private |
const ref to particles
Definition at line 61 of file contactSearch.hpp.
Referenced by contactSearch::Particles().
|
private |
const ref to geometry
Definition at line 64 of file contactSearch.hpp.
Referenced by contactSearch::Geometry().
|
private |
Definition at line 66 of file contactSearch.hpp.
Referenced by contactSearch::bTimer().
|
private |
Definition at line 68 of file contactSearch.hpp.
Referenced by contactSearch::ppTimer().
|
private |
Definition at line 70 of file contactSearch.hpp.
Referenced by contactSearch::dict().