Skip to content

Commit

Permalink
Deploying to main from @ AMReX-Codes/amrex@ea4eb97 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Sep 30, 2024
1 parent 192dc2b commit 3c3ce2f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Binary file not shown.
10 changes: 5 additions & 5 deletions amrex/docs_html/doxygen/AMReX__MLCellLinOp_8H_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -2110,11 +2110,11 @@
<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> finest_level = this-&gt;NAMRLevels() - 1;</div>
<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160; <a class="code" href="classamrex_1_1MLCellLinOpT.html#a4cd7bb9cadbccdb52688ef33ddfd8d5c">RT</a> <a class="code" href="namespaceamrex.html#a9a4cb25adc75b070b5ab1cb6c24b4023">norm</a> = <a class="code" href="classamrex_1_1MLCellLinOpT.html#a4cd7bb9cadbccdb52688ef33ddfd8d5c">RT</a>(0.0);</div>
<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;<span class="preprocessor">#ifdef AMREX_USE_EB</span></div>
<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160; <span class="keywordflow">if</span> (! mf.isAllRegular()) {</div>
<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160; <span class="keywordflow">if</span> constexpr (!std::is_same&lt;MF,MultiFab&gt;()) {</div>
<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160; <a class="code" href="namespaceamrex.html#ad26f2328bf66aa9678347a6055a25431">amrex::Abort</a>(<span class="stringliteral">&quot;MLCellLinOpT with EB only works with MultiFab&quot;</span>);</div>
<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span> *factory = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classamrex_1_1EBFArrayBoxFactory.html">EBFArrayBoxFactory</a> const*<span class="keyword">&gt;</span>(this-&gt;Factory(amrlev));</div>
<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span> *factory = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classamrex_1_1EBFArrayBoxFactory.html">EBFArrayBoxFactory</a> const*<span class="keyword">&gt;</span>(this-&gt;Factory(amrlev));</div>
<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160; <span class="keywordflow">if</span> (factory &amp;&amp; !factory-&gt;isAllRegular()) {</div>
<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160; <span class="keywordflow">if</span> constexpr (!std::is_same&lt;MF,MultiFab&gt;()) {</div>
<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160; <a class="code" href="namespaceamrex.html#ad26f2328bf66aa9678347a6055a25431">amrex::Abort</a>(<span class="stringliteral">&quot;MLCellLinOpT with EB only works with MultiFab&quot;</span>);</div>
<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160; } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>&#160; <span class="keyword">const</span> <a class="code" href="classamrex_1_1MultiFab.html">MultiFab</a>&amp; vfrac = factory-&gt;getVolFrac();</div>
<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160; <span class="keywordflow">if</span> (amrlev == finest_level) {</div>
<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;<span class="preprocessor">#ifdef AMREX_USE_GPU</span></div>
Expand Down
10 changes: 5 additions & 5 deletions amrex/docs_xml/doxygen/AMReX__MLCellLinOp_8H.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4633,11 +4633,11 @@
<codeline lineno="2009"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>finest_level<sp/>=<sp/>this-&gt;NAMRLevels()<sp/>-<sp/>1;</highlight></codeline>
<codeline lineno="2010"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classamrex_1_1MLCellLinOpT_1a4cd7bb9cadbccdb52688ef33ddfd8d5c" kindref="member">RT</ref><sp/><ref refid="namespaceamrex_1a9a4cb25adc75b070b5ab1cb6c24b4023" kindref="member">norm</ref><sp/>=<sp/><ref refid="classamrex_1_1MLCellLinOpT_1a4cd7bb9cadbccdb52688ef33ddfd8d5c" kindref="member">RT</ref>(0.0);</highlight></codeline>
<codeline lineno="2011"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>AMREX_USE_EB</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2012"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!<sp/>mf.isAllRegular())<sp/>{</highlight></codeline>
<codeline lineno="2013"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>constexpr<sp/>(!std::is_same&lt;MF,MultiFab&gt;())<sp/>{</highlight></codeline>
<codeline lineno="2014"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceamrex_1ad26f2328bf66aa9678347a6055a25431" kindref="member">amrex::Abort</ref>(</highlight><highlight class="stringliteral">&quot;MLCellLinOpT<sp/>with<sp/>EB<sp/>only<sp/>works<sp/>with<sp/>MultiFab&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="2015"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="2016"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>*factory<sp/>=<sp/></highlight><highlight class="keyword">dynamic_cast&lt;</highlight><highlight class="normal"><ref refid="classamrex_1_1EBFArrayBoxFactory" kindref="compound">EBFArrayBoxFactory</ref><sp/>const*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(this-&gt;Factory(amrlev));</highlight></codeline>
<codeline lineno="2012"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">auto</highlight><highlight class="normal"><sp/>*factory<sp/>=<sp/></highlight><highlight class="keyword">dynamic_cast&lt;</highlight><highlight class="normal"><ref refid="classamrex_1_1EBFArrayBoxFactory" kindref="compound">EBFArrayBoxFactory</ref><sp/>const*</highlight><highlight class="keyword">&gt;</highlight><highlight class="normal">(this-&gt;Factory(amrlev));</highlight></codeline>
<codeline lineno="2013"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(factory<sp/>&amp;&amp;<sp/>!factory-&gt;isAllRegular())<sp/>{</highlight></codeline>
<codeline lineno="2014"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>constexpr<sp/>(!std::is_same&lt;MF,MultiFab&gt;())<sp/>{</highlight></codeline>
<codeline lineno="2015"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceamrex_1ad26f2328bf66aa9678347a6055a25431" kindref="member">amrex::Abort</ref>(</highlight><highlight class="stringliteral">&quot;MLCellLinOpT<sp/>with<sp/>EB<sp/>only<sp/>works<sp/>with<sp/>MultiFab&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="2016"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="2017"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classamrex_1_1MultiFab" kindref="compound">MultiFab</ref>&amp;<sp/>vfrac<sp/>=<sp/>factory-&gt;getVolFrac();</highlight></codeline>
<codeline lineno="2018"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(amrlev<sp/>==<sp/>finest_level)<sp/>{</highlight></codeline>
<codeline lineno="2019"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>AMREX_USE_GPU</highlight><highlight class="normal"></highlight></codeline>
Expand Down

0 comments on commit 3c3ce2f

Please sign in to comment.