Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 4, 2023
1 parent 17f953c commit 86c441d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@
<div itemprop="articleBody">

<h1>Source code for compass.landice.tests.circular_shelf.decomposition_test</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">compass.validate</span> <span class="kn">import</span> <span class="n">compare_variables</span>
<span class="kn">from</span> <span class="nn">compass.testcase</span> <span class="kn">import</span> <span class="n">TestCase</span>
<span></span><span class="kn">from</span> <span class="nn">compass.landice.tests.circular_shelf.run_model</span> <span class="kn">import</span> <span class="n">RunModel</span>
<span class="kn">from</span> <span class="nn">compass.landice.tests.circular_shelf.setup_mesh</span> <span class="kn">import</span> <span class="n">SetupMesh</span>
<span class="kn">from</span> <span class="nn">compass.landice.tests.circular_shelf.run_model</span> <span class="kn">import</span> <span class="n">RunModel</span>
<span class="kn">from</span> <span class="nn">compass.landice.tests.circular_shelf.visualize</span> <span class="kn">import</span> <span class="n">Visualize</span>
<span class="kn">from</span> <span class="nn">compass.testcase</span> <span class="kn">import</span> <span class="n">TestCase</span>
<span class="kn">from</span> <span class="nn">compass.validate</span> <span class="kn">import</span> <span class="n">compare_variables</span>


<div class="viewcode-block" id="DecompositionTest"><a class="viewcode-back" href="../../../../../developers_guide/landice/generated/compass.landice.tests.circular_shelf.decomposition_test.DecompositionTest.html#compass.landice.tests.circular_shelf.decomposition_test.DecompositionTest">[docs]</a><span class="k">class</span> <span class="nc">DecompositionTest</span><span class="p">(</span><span class="n">TestCase</span><span class="p">):</span>
Expand Down Expand Up @@ -175,17 +175,17 @@ <h1>Source code for compass.landice.tests.circular_shelf.decomposition_test</h1>
<span class="n">compare_variables</span><span class="p">(</span><span class="n">test_case</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">variables</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;normalVelocity&#39;</span><span class="p">,</span> <span class="p">],</span>
<span class="n">filename1</span><span class="o">=</span><span class="s1">&#39;1proc_run/output.nc&#39;</span><span class="p">,</span>
<span class="n">filename2</span><span class="o">=</span><span class="s1">&#39;4proc_run/output.nc&#39;</span><span class="p">,</span>
<span class="n">l1_norm</span><span class="o">=</span><span class="mf">1.0e-12</span><span class="p">,</span> <span class="n">l2_norm</span><span class="o">=</span><span class="mf">1.0e-14</span><span class="p">,</span>
<span class="n">l1_norm</span><span class="o">=</span><span class="mf">1.0e-11</span><span class="p">,</span> <span class="n">l2_norm</span><span class="o">=</span><span class="mf">1.0e-13</span><span class="p">,</span>
<span class="n">linf_norm</span><span class="o">=</span><span class="mf">1.0e-15</span><span class="p">,</span> <span class="n">quiet</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
<span class="n">compare_variables</span><span class="p">(</span><span class="n">test_case</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">variables</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;uReconstructX&#39;</span><span class="p">,</span> <span class="p">],</span>
<span class="n">filename1</span><span class="o">=</span><span class="s1">&#39;1proc_run/output.nc&#39;</span><span class="p">,</span>
<span class="n">filename2</span><span class="o">=</span><span class="s1">&#39;4proc_run/output.nc&#39;</span><span class="p">,</span>
<span class="n">l1_norm</span><span class="o">=</span><span class="mf">1.0e-12</span><span class="p">,</span> <span class="n">l2_norm</span><span class="o">=</span><span class="mf">2.0e-14</span><span class="p">,</span>
<span class="n">l1_norm</span><span class="o">=</span><span class="mf">1.0e-11</span><span class="p">,</span> <span class="n">l2_norm</span><span class="o">=</span><span class="mf">1.0e-13</span><span class="p">,</span>
<span class="n">linf_norm</span><span class="o">=</span><span class="mf">1.0e-15</span><span class="p">,</span> <span class="n">quiet</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
<span class="n">compare_variables</span><span class="p">(</span><span class="n">test_case</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">variables</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;uReconstructY&#39;</span><span class="p">,</span> <span class="p">],</span>
<span class="n">filename1</span><span class="o">=</span><span class="s1">&#39;1proc_run/output.nc&#39;</span><span class="p">,</span>
<span class="n">filename2</span><span class="o">=</span><span class="s1">&#39;4proc_run/output.nc&#39;</span><span class="p">,</span>
<span class="n">l1_norm</span><span class="o">=</span><span class="mf">1.0e-12</span><span class="p">,</span> <span class="n">l2_norm</span><span class="o">=</span><span class="mf">2.0e-14</span><span class="p">,</span>
<span class="n">l1_norm</span><span class="o">=</span><span class="mf">1.0e-11</span><span class="p">,</span> <span class="n">l2_norm</span><span class="o">=</span><span class="mf">1.0e-13</span><span class="p">,</span>
<span class="n">linf_norm</span><span class="o">=</span><span class="mf">1.0e-15</span><span class="p">,</span> <span class="n">quiet</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span></div>
</pre></div>

Expand Down

0 comments on commit 86c441d

Please sign in to comment.