Skip to content

Commit

Permalink
Deploying to main from @ AMReX-Codes/amrex@96db0a6 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Dec 6, 2024
1 parent eb0d229 commit ad2fbc6
Show file tree
Hide file tree
Showing 526 changed files with 67,260 additions and 61,600 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion amrex/docs_html/doxygen/AMReX__AmrLevel_8H_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@
<div class="ttc" id="aclassamrex_1_1DeriveList_html"><div class="ttname"><a href="classamrex_1_1DeriveList.html">amrex::DeriveList</a></div><div class="ttdoc">A list of DeriveRecs.</div><div class="ttdef"><b>Definition:</b> AMReX_Derive.H:364</div></div>
<div class="ttc" id="aclassamrex_1_1DescriptorList_html"><div class="ttname"><a href="classamrex_1_1DescriptorList.html">amrex::DescriptorList</a></div><div class="ttdef"><b>Definition:</b> AMReX_StateDescriptor.H:437</div></div>
<div class="ttc" id="aclassamrex_1_1DistributionMapping_html"><div class="ttname"><a href="classamrex_1_1DistributionMapping.html">amrex::DistributionMapping</a></div><div class="ttdoc">Calculates the distribution of FABs to MPI processes.</div><div class="ttdef"><b>Definition:</b> AMReX_DistributionMapping.H:41</div></div>
<div class="ttc" id="aclassamrex_1_1EBFArrayBoxFactory_html"><div class="ttname"><a href="classamrex_1_1EBFArrayBoxFactory.html">amrex::EBFArrayBoxFactory</a></div><div class="ttdef"><b>Definition:</b> AMReX_EBFabFactory.H:22</div></div>
<div class="ttc" id="aclassamrex_1_1EBFArrayBoxFactory_html"><div class="ttname"><a href="classamrex_1_1EBFArrayBoxFactory.html">amrex::EBFArrayBoxFactory</a></div><div class="ttdef"><b>Definition:</b> AMReX_EBFabFactory.H:24</div></div>
<div class="ttc" id="aclassamrex_1_1FArrayBox_html"><div class="ttname"><a href="classamrex_1_1FArrayBox.html">amrex::FArrayBox</a></div><div class="ttdoc">A Fortran Array of REALs.</div><div class="ttdef"><b>Definition:</b> AMReX_FArrayBox.H:229</div></div>
<div class="ttc" id="aclassamrex_1_1FabArrayBase_html_a92cef599b0ae34401a5463ec6fddc606"><div class="ttname"><a href="classamrex_1_1FabArrayBase.html#a92cef599b0ae34401a5463ec6fddc606">amrex::FabArrayBase::nGrow</a></div><div class="ttdeci">int nGrow(int direction=0) const noexcept</div><div class="ttdoc">Return the grow factor that defines the region of definition.</div><div class="ttdef"><b>Definition:</b> AMReX_FabArrayBase.H:77</div></div>
<div class="ttc" id="aclassamrex_1_1FabArrayBase_html_aec6647af0d0a9f2d760d502a8975d6f1"><div class="ttname"><a href="classamrex_1_1FabArrayBase.html#aec6647af0d0a9f2d760d502a8975d6f1">amrex::FabArrayBase::nComp</a></div><div class="ttdeci">int nComp() const noexcept</div><div class="ttdoc">Return number of variables (aka components) associated with each point.</div><div class="ttdef"><b>Definition:</b> AMReX_FabArrayBase.H:82</div></div>
Expand Down
21 changes: 11 additions & 10 deletions amrex/docs_html/doxygen/AMReX__EB2__GeometryShop_8H_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; {</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; problo = geom.ProbLoArray();</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; dx = geom.CellSizeArray();</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1BoxND.html">Box</a>&amp; bx = levelset.box();</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; a = levelset.array();</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1BoxND.html">Box</a>&amp; bx = <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.box();</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; a = <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.array();</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; blo = <a class="code" href="namespaceamrex.html#a71600c8a528e0f1863154e4cf0183cbc">amrex::lbound</a>(bounding_box);</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; bhi = <a class="code" href="namespaceamrex.html#a6ce6b4176121c2c23327903a8139af0c">amrex::ubound</a>(bounding_box);</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code" href="namespaceamrex_1_1SundialsUserFun.html#a7c64e1c30110b537ab4c7acbc9a3900a">f</a> = <a class="code" href="classamrex_1_1EB2_1_1GeometryShop.html#afdb3f4220acfb2353d91feed84482169">m_f</a>;</div>
Expand All @@ -418,18 +418,18 @@
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <a class="code" href="classamrex_1_1BoxND.html">Box</a> <span class="keyword">const</span>&amp; bounding_box) <span class="keyword">const</span> noexcept</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; {</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;<span class="preprocessor">#ifdef AMREX_USE_GPU</span></div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordflow">if</span> (!levelset.arena()-&gt;isHostAccessible()) {</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1BoxND.html">Box</a>&amp; bx = levelset.box();</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <a class="code" href="classamrex_1_1BaseFab.html">BaseFab&lt;Real&gt;</a> h_levelset(bx, levelset.nComp(), <a class="code" href="namespaceamrex.html#aba0258410952c3ccfe405a462ef2d887">The_Pinned_Arena</a>());</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.arena()-&gt;isHostAccessible()) {</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1BoxND.html">Box</a>&amp; bx = <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.box();</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <a class="code" href="classamrex_1_1BaseFab.html">BaseFab&lt;Real&gt;</a> h_levelset(bx, <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.nComp(), <a class="code" href="namespaceamrex.html#aba0258410952c3ccfe405a462ef2d887">The_Pinned_Arena</a>());</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; <a class="code" href="classamrex_1_1EB2_1_1GeometryShop.html#a99bd263dac37b6f756eced9182e49eb0">fillFab_Cpu</a>(h_levelset, geom, bounding_box);</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <a class="code" href="namespaceamrex_1_1Gpu.html#aacefe17a39734cb2475a36199ab1370b">Gpu::htod_memcpy_async</a>(levelset.dataPtr(), h_levelset.<a class="code" href="classamrex_1_1BaseFab.html#a5c99c1592a80ba46ab6faf9929773f8d">dataPtr</a>(),</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; levelset.nBytes(bx, levelset.nComp()));</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <a class="code" href="namespaceamrex_1_1Gpu.html#aacefe17a39734cb2475a36199ab1370b">Gpu::htod_memcpy_async</a>(<a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.dataPtr(), h_levelset.<a class="code" href="classamrex_1_1BaseFab.html#a5c99c1592a80ba46ab6faf9929773f8d">dataPtr</a>(),</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.nBytes(bx, <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.nComp()));</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <a class="code" href="namespaceamrex_1_1Gpu.html#a67a618504ee5fb94bd65a5d393e344b4">Gpu::streamSynchronize</a>();</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; }</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; {</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <a class="code" href="classamrex_1_1EB2_1_1GeometryShop.html#a99bd263dac37b6f756eced9182e49eb0">fillFab_Cpu</a>(levelset, geom, bounding_box);</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <a class="code" href="classamrex_1_1EB2_1_1GeometryShop.html#a99bd263dac37b6f756eced9182e49eb0">fillFab_Cpu</a>(<a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>, geom, bounding_box);</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; }</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; }</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; </div>
Expand All @@ -438,11 +438,11 @@
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; {</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; problo = geom.ProbLoArray();</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; dx = geom.CellSizeArray();</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1BoxND.html">Box</a>&amp; bx = levelset.box();</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1BoxND.html">Box</a>&amp; bx = <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.box();</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; blo = <a class="code" href="namespaceamrex.html#a71600c8a528e0f1863154e4cf0183cbc">amrex::lbound</a>(bounding_box);</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; bhi = <a class="code" href="namespaceamrex.html#a6ce6b4176121c2c23327903a8139af0c">amrex::ubound</a>(bounding_box);</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; a = levelset.array();</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; a = <a class="code" href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">levelset</a>.array();</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <a class="code" href="namespaceamrex.html#a11ae51dc854ba8fbb5f79bdaf11976df">amrex::LoopOnCpu</a>(bx, [&amp;] (<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j, <span class="keywordtype">int</span> k) noexcept</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; {</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; a(i,j,k) = <a class="code" href="classamrex_1_1EB2_1_1GeometryShop.html#afdb3f4220acfb2353d91feed84482169">m_f</a>(<a class="code" href="namespaceamrex.html#a9de48c04056551924746c42f9eda3c8f">RealArray</a>{<a class="code" href="AMReX__SPACE_8H.html#af5ea8082b66e48cdbea53d08cdfca9a0">AMREX_D_DECL</a>(problo[0]+<a class="code" href="namespaceamrex.html#ac7da8611787662eeb7b9e4a098ceac22">amrex::Clamp</a>(i,blo.x,bhi.x)*dx[0],</div>
Expand Down Expand Up @@ -714,6 +714,7 @@
<div class="ttc" id="anamespaceamrex_html_aba0258410952c3ccfe405a462ef2d887"><div class="ttname"><a href="namespaceamrex.html#aba0258410952c3ccfe405a462ef2d887">amrex::The_Pinned_Arena</a></div><div class="ttdeci">Arena * The_Pinned_Arena()</div><div class="ttdef"><b>Definition:</b> AMReX_Arena.cpp:649</div></div>
<div class="ttc" id="anamespaceamrex_html_ac7da8611787662eeb7b9e4a098ceac22"><div class="ttname"><a href="namespaceamrex.html#ac7da8611787662eeb7b9e4a098ceac22">amrex::Clamp</a></div><div class="ttdeci">AMREX_GPU_HOST_DEVICE constexpr AMREX_FORCE_INLINE const T &amp; Clamp(const T &amp;v, const T &amp;lo, const T &amp;hi)</div><div class="ttdef"><b>Definition:</b> AMReX_Algorithm.H:84</div></div>
<div class="ttc" id="anamespaceamrex_html_ae3d1414946b992f39ca41f135f12a0d1"><div class="ttname"><a href="namespaceamrex.html#ae3d1414946b992f39ca41f135f12a0d1">amrex::The_Arena</a></div><div class="ttdeci">Arena * The_Arena()</div><div class="ttdef"><b>Definition:</b> AMReX_Arena.cpp:609</div></div>
<div class="ttc" id="anamespaceamrex_html_aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e"><div class="ttname"><a href="namespaceamrex.html#aea45874f350ec5ab95a6918255ecdba7a0aca025084bb6b6cfc5574bee664851e">amrex::EBData_t::levelset</a></div><div class="ttdeci">@ levelset</div></div>
<div class="ttc" id="anamespaceamrex_html_afe930d74045516fece8591f173e57007"><div class="ttname"><a href="namespaceamrex.html#afe930d74045516fece8591f173e57007">amrex::Array</a></div><div class="ttdeci">std::array&lt; T, N &gt; Array</div><div class="ttdef"><b>Definition:</b> AMReX_Array.H:24</div></div>
<div class="ttc" id="astructamrex_1_1Array4_html"><div class="ttname"><a href="structamrex_1_1Array4.html">amrex::Array4</a></div><div class="ttdef"><b>Definition:</b> AMReX_Array4.H:61</div></div>
<div class="ttc" id="astructamrex_1_1Array4_html_a92996beac4532d45d7ac4be41b1ff439"><div class="ttname"><a href="structamrex_1_1Array4.html#a92996beac4532d45d7ac4be41b1ff439">amrex::Array4::dataPtr</a></div><div class="ttdeci">AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T * dataPtr() const noexcept</div><div class="ttdef"><b>Definition:</b> AMReX_Array4.H:238</div></div>
Expand Down
Loading

0 comments on commit ad2fbc6

Please sign in to comment.