<metaname="description"content="PhasicFlow is an open-source parallel DEM package for simulating granular flow developed in C++ and can be exectued on both GPU (like cuda) and CPU.">
<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="headertitle">
<divclass="title">quadrupleMath.hpp</div></div>
</div><!--header-->
<divclass="contents">
<ahref="quadrupleMath_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="ttc"id="anamespacepFlow_html_aa4f7821ffd25a53850391823eccec62b"><divclass="ttname"><ahref="namespacepFlow.html#aa4f7821ffd25a53850391823eccec62b">pFlow::atan</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real atan(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00218">math.hpp:218</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a02b6302cdf317ac55b5a4e7d63293084"><divclass="ttname"><ahref="namespacepFlow.html#a02b6302cdf317ac55b5a4e7d63293084">pFlow::atan2</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real atan2(real y, real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00229">math.hpp:229</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_aee06615d390b4a0a3ac1589b07de88ef"><divclass="ttname"><ahref="namespacepFlow.html#aee06615d390b4a0a3ac1589b07de88ef">pFlow::atanh</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real atanh(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00286">math.hpp:286</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_ac16cb27d8952272fc2cdd82bd5cfc19e"><divclass="ttname"><ahref="namespacepFlow.html#ac16cb27d8952272fc2cdd82bd5cfc19e">pFlow::cos</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real cos(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00178">math.hpp:178</a></div></div>
<divclass="ttc"id="anamespacepFlow_1_1algorithms_1_1KOKKOS_html_a889052ad665d517d05832303a9bbc972"><divclass="ttname"><ahref="namespacepFlow_1_1algorithms_1_1KOKKOS.html#a889052ad665d517d05832303a9bbc972">pFlow::algorithms::KOKKOS::min</a></div><divclass="ttdeci">INLINE_FUNCTION_H Type min(const Type *first, int32 numElems)</div><divclass="ttdef"><b>Definition:</b><ahref="kokkosAlgorithms_8hpp_source.html#l00124">kokkosAlgorithms.hpp:124</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_aee6110d73360fe9b98a9a0b5d6517f5b"><divclass="ttname"><ahref="namespacepFlow.html#aee6110d73360fe9b98a9a0b5d6517f5b">pFlow::sin</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real sin(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00168">math.hpp:168</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a0689a3b3dc7f8abd1bcc37804c4b3e39"><divclass="ttname"><ahref="namespacepFlow.html#a0689a3b3dc7f8abd1bcc37804c4b3e39">pFlow::cosh</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real cosh(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00249">math.hpp:249</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a2089cd71470cbda97e23f3c2e219f9f7"><divclass="ttname"><ahref="namespacepFlow.html#a2089cd71470cbda97e23f3c2e219f9f7">pFlow::asin</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real asin(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00197">math.hpp:197</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a11dc25fe78058b75bb94660a16a9571f"><divclass="ttname"><ahref="namespacepFlow.html#a11dc25fe78058b75bb94660a16a9571f">pFlow::log10</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real log10(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00128">math.hpp:128</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_ab5c52c3f812c9d7bd8623a7c72eb9ce5"><divclass="ttname"><ahref="namespacepFlow.html#ab5c52c3f812c9d7bd8623a7c72eb9ce5">pFlow::log</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real log(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00119">math.hpp:119</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a0df4133c757db76238f71d9281af7e5a"><divclass="ttname"><ahref="namespacepFlow.html#a0df4133c757db76238f71d9281af7e5a">pFlow::tan</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real tan(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00188">math.hpp:188</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a2ee7d2cb0c44d7ad8abcccbc73160761"><divclass="ttname"><ahref="namespacepFlow.html#a2ee7d2cb0c44d7ad8abcccbc73160761">pFlow::sinh</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real sinh(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00239">math.hpp:239</a></div></div>
<divclass="ttc"id="anamespacepFlow_1_1algorithms_1_1KOKKOS_html_a6256cdfd2ba7f02ac8db8f55d05b3ef9"><divclass="ttname"><ahref="namespacepFlow_1_1algorithms_1_1KOKKOS.html#a6256cdfd2ba7f02ac8db8f55d05b3ef9">pFlow::algorithms::KOKKOS::max</a></div><divclass="ttdeci">INLINE_FUNCTION_H Type max(const Type *first, int32 numElems)</div><divclass="ttdef"><b>Definition:</b><ahref="kokkosAlgorithms_8hpp_source.html#l00104">kokkosAlgorithms.hpp:104</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a62ab5f54018a48f829abd2cca13d75b2"><divclass="ttname"><ahref="namespacepFlow.html#a62ab5f54018a48f829abd2cca13d75b2">pFlow::abs</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real abs(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00043">math.hpp:43</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a23fda25d850f7ff342c665e7f3bc97a4"><divclass="ttname"><ahref="namespacepFlow.html#a23fda25d850f7ff342c665e7f3bc97a4">pFlow::acos</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real acos(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00208">math.hpp:208</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a733d0766b5a543b796883d6551e33347"><divclass="ttname"><ahref="namespacepFlow.html#a733d0766b5a543b796883d6551e33347">pFlow::mod</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real mod(real x, real y)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00072">math.hpp:72</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a6e50eb5e13bb39470db0c9591b7f4921"><divclass="ttname"><ahref="namespacepFlow.html#a6e50eb5e13bb39470db0c9591b7f4921">pFlow::tanh</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real tanh(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00259">math.hpp:259</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a04309949af74c41abe6a8fb8cd47c179"><divclass="ttname"><ahref="namespacepFlow.html#a04309949af74c41abe6a8fb8cd47c179">pFlow::exp</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real exp(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00110">math.hpp:110</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_aa7ad99ac1d2662b2e5e71b2b6516e931"><divclass="ttname"><ahref="namespacepFlow.html#aa7ad99ac1d2662b2e5e71b2b6516e931">pFlow::asinh</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real asinh(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00268">math.hpp:268</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a31737f46fdcd2bf15821541a2cb601c3"><divclass="ttname"><ahref="namespacepFlow.html#a31737f46fdcd2bf15821541a2cb601c3">pFlow::acosh</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real acosh(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00277">math.hpp:277</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_aedf0e44e92e0f7a18c7c724daf0f52fa"><divclass="ttname"><ahref="namespacepFlow.html#aedf0e44e92e0f7a18c7c724daf0f52fa">pFlow::sqrt</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real sqrt(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00148">math.hpp:148</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a74f4ffdea40998d4f4ff0eab72342e2e"><divclass="ttname"><ahref="namespacepFlow.html#a74f4ffdea40998d4f4ff0eab72342e2e">pFlow::cbrt</a></div><divclass="ttdeci">INLINE_FUNCTION_HD real cbrt(real x)</div><divclass="ttdef"><b>Definition:</b><ahref="math_8hpp_source.html#l00158">math.hpp:158</a></div></div>