<metaname="description"content="PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.">
<ahref="algorithmFunctions_8hpp.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*------------------------------- phasicFlow ---------------------------------</span></div>
<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> O C enter of</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> O O E ngineering and</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> O O M ultiscale modeling of</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> OOOOOOO F luid flow </span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> This file is part of phasicFlow code. It is a free software for simulating </span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> granular and multiphase flows. You can redistribute it and/or modify it under</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> the terms of GNU General Public License v3 or any other later versions. </span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> phasicFlow is distributed to help others in their research in the field of </span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<divclass="line"><aname="l00034"></a><spanclass="lineno"><aclass="line"href="structpFlow_1_1algorithms_1_1greater.html#afca043ab59c8cecec0be5b0c5837cf46"> 34</a></span> <spanclass="keywordtype">bool</span><aclass="code"href="structpFlow_1_1algorithms_1_1greater.html#afca043ab59c8cecec0be5b0c5837cf46">operator()</a>(<spanclass="keyword">const</span> T &lhs, <spanclass="keyword">const</span> T &rhs)<spanclass="keyword"> const </span>{</div>
<divclass="line"><aname="l00042"></a><spanclass="lineno"><aclass="line"href="structpFlow_1_1algorithms_1_1less.html#afca043ab59c8cecec0be5b0c5837cf46"> 42</a></span> <spanclass="keywordtype">bool</span><aclass="code"href="structpFlow_1_1algorithms_1_1less.html#afca043ab59c8cecec0be5b0c5837cf46">operator()</a>(<spanclass="keyword">const</span> T &lhs, <spanclass="keyword">const</span> T &rhs)<spanclass="keyword"> const </span>{</div>
<divclass="line"><aname="l00051"></a><spanclass="lineno"><aclass="line"href="structpFlow_1_1algorithms_1_1maximum.html#afca043ab59c8cecec0be5b0c5837cf46"> 51</a></span> <spanclass="keywordtype">bool</span><aclass="code"href="structpFlow_1_1algorithms_1_1maximum.html#afca043ab59c8cecec0be5b0c5837cf46">operator()</a>(<spanclass="keyword">const</span> T &lhs, <spanclass="keyword">const</span> T &rhs)<spanclass="keyword"> const </span>{</div>
<divclass="line"><aname="l00059"></a><spanclass="lineno"><aclass="line"href="structpFlow_1_1algorithms_1_1minimum.html#afca043ab59c8cecec0be5b0c5837cf46"> 59</a></span> <spanclass="keywordtype">bool</span><aclass="code"href="structpFlow_1_1algorithms_1_1minimum.html#afca043ab59c8cecec0be5b0c5837cf46">operator()</a>(<spanclass="keyword">const</span> T &lhs, <spanclass="keyword">const</span> T &rhs)<spanclass="keyword"> const </span>{</div>
<divclass="ttc"id="astructpFlow_1_1algorithms_1_1minimum_html_afca043ab59c8cecec0be5b0c5837cf46"><divclass="ttname"><ahref="structpFlow_1_1algorithms_1_1minimum.html#afca043ab59c8cecec0be5b0c5837cf46">pFlow::algorithms::minimum::operator()</a></div><divclass="ttdeci">INLINE_FUNCTION_HD bool operator()(const T &lhs, const T &rhs) const</div><divclass="ttdef"><b>Definition:</b><ahref="algorithmFunctions_8hpp_source.html#l00059">algorithmFunctions.hpp:59</a></div></div>
<divclass="ttc"id="astructpFlow_1_1algorithms_1_1maximum_html_afca043ab59c8cecec0be5b0c5837cf46"><divclass="ttname"><ahref="structpFlow_1_1algorithms_1_1maximum.html#afca043ab59c8cecec0be5b0c5837cf46">pFlow::algorithms::maximum::operator()</a></div><divclass="ttdeci">INLINE_FUNCTION_HD bool operator()(const T &lhs, const T &rhs) const</div><divclass="ttdef"><b>Definition:</b><ahref="algorithmFunctions_8hpp_source.html#l00051">algorithmFunctions.hpp:51</a></div></div>
<divclass="ttc"id="astructpFlow_1_1algorithms_1_1less_html_afca043ab59c8cecec0be5b0c5837cf46"><divclass="ttname"><ahref="structpFlow_1_1algorithms_1_1less.html#afca043ab59c8cecec0be5b0c5837cf46">pFlow::algorithms::less::operator()</a></div><divclass="ttdeci">INLINE_FUNCTION_HD bool operator()(const T &lhs, const T &rhs) const</div><divclass="ttdef"><b>Definition:</b><ahref="algorithmFunctions_8hpp_source.html#l00042">algorithmFunctions.hpp:42</a></div></div>
<divclass="ttc"id="astructpFlow_1_1algorithms_1_1greater_html_afca043ab59c8cecec0be5b0c5837cf46"><divclass="ttname"><ahref="structpFlow_1_1algorithms_1_1greater.html#afca043ab59c8cecec0be5b0c5837cf46">pFlow::algorithms::greater::operator()</a></div><divclass="ttdeci">INLINE_FUNCTION_HD bool operator()(const T &lhs, const T &rhs) const</div><divclass="ttdef"><b>Definition:</b><ahref="algorithmFunctions_8hpp_source.html#l00034">algorithmFunctions.hpp:34</a></div></div>
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->