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 Oct 25, 2023
1 parent 04767ae commit 85fd7a3
Show file tree
Hide file tree
Showing 62 changed files with 1,223 additions and 898 deletions.
29 changes: 17 additions & 12 deletions latest/_modules/compass/ocean/tests/drying_slope.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
<div itemprop="articleBody">

<h1>Source code for compass.ocean.tests.drying_slope</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">compass.ocean.tests.drying_slope.decomp</span> <span class="kn">import</span> <span class="n">Decomp</span>
<span></span><span class="kn">from</span> <span class="nn">compass.ocean.tests.drying_slope.convergence</span> <span class="kn">import</span> <span class="n">Convergence</span>
<span class="kn">from</span> <span class="nn">compass.ocean.tests.drying_slope.decomp</span> <span class="kn">import</span> <span class="n">Decomp</span>
<span class="kn">from</span> <span class="nn">compass.ocean.tests.drying_slope.default</span> <span class="kn">import</span> <span class="n">Default</span>
<span class="kn">from</span> <span class="nn">compass.ocean.tests.drying_slope.loglaw</span> <span class="kn">import</span> <span class="n">LogLaw</span>
<span class="kn">from</span> <span class="nn">compass.ocean.tests.drying_slope.ramp</span> <span class="kn">import</span> <span class="n">Ramp</span>
<span class="kn">from</span> <span class="nn">compass.testgroup</span> <span class="kn">import</span> <span class="n">TestGroup</span>


Expand All @@ -131,20 +131,25 @@ <h1>Source code for compass.ocean.tests.drying_slope</h1><div class="highlight">
<span class="sd"> &quot;&quot;&quot;</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">mpas_core</span><span class="o">=</span><span class="n">mpas_core</span><span class="p">,</span> <span class="n">name</span><span class="o">=</span><span class="s1">&#39;drying_slope&#39;</span><span class="p">)</span>

<span class="k">for</span> <span class="n">resolution</span> <span class="ow">in</span> <span class="p">[</span><span class="mf">0.25</span><span class="p">,</span> <span class="mf">1.</span><span class="p">]:</span>
<span class="k">for</span> <span class="n">method</span> <span class="ow">in</span> <span class="p">[</span><span class="s1">&#39;standard&#39;</span><span class="p">,</span> <span class="s1">&#39;ramp&#39;</span><span class="p">]:</span>
<span class="k">for</span> <span class="n">coord_type</span> <span class="ow">in</span> <span class="p">[</span><span class="s1">&#39;sigma&#39;</span><span class="p">,</span> <span class="s1">&#39;single_layer&#39;</span><span class="p">]:</span>
<span class="k">for</span> <span class="n">resolution</span> <span class="ow">in</span> <span class="p">[</span><span class="mf">0.25</span><span class="p">,</span> <span class="mf">1.</span><span class="p">]:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add_test_case</span><span class="p">(</span>
<span class="n">Default</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">resolution</span><span class="o">=</span><span class="n">resolution</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">,</span> <span class="n">method</span><span class="o">=</span><span class="n">method</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add_test_case</span><span class="p">(</span>
<span class="n">Decomp</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">resolution</span><span class="o">=</span><span class="n">resolution</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">,</span> <span class="n">method</span><span class="o">=</span><span class="n">method</span><span class="p">))</span>
<span class="k">for</span> <span class="n">coord_type</span> <span class="ow">in</span> <span class="p">[</span><span class="s1">&#39;sigma&#39;</span><span class="p">]:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add_test_case</span><span class="p">(</span>
<span class="n">Default</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">resolution</span><span class="o">=</span><span class="n">resolution</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add_test_case</span><span class="p">(</span>
<span class="n">Decomp</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">resolution</span><span class="o">=</span><span class="n">resolution</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add_test_case</span><span class="p">(</span>
<span class="n">Ramp</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">resolution</span><span class="o">=</span><span class="n">resolution</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">))</span>
<span class="n">Convergence</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">,</span>
<span class="n">method</span><span class="o">=</span><span class="n">method</span><span class="p">))</span>
<span class="k">for</span> <span class="n">coord_type</span> <span class="ow">in</span> <span class="p">[</span><span class="s1">&#39;sigma&#39;</span><span class="p">,</span> <span class="s1">&#39;single_layer&#39;</span><span class="p">]:</span>
<span class="k">for</span> <span class="n">resolution</span> <span class="ow">in</span> <span class="p">[</span><span class="mf">0.25</span><span class="p">,</span> <span class="mf">1.</span><span class="p">]:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">add_test_case</span><span class="p">(</span>
<span class="n">LogLaw</span><span class="p">(</span><span class="n">test_group</span><span class="o">=</span><span class="bp">self</span><span class="p">,</span> <span class="n">resolution</span><span class="o">=</span><span class="n">resolution</span><span class="p">,</span>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">))</span></div></div>
<span class="n">coord_type</span><span class="o">=</span><span class="n">coord_type</span><span class="p">,</span> <span class="n">method</span><span class="o">=</span><span class="s1">&#39;standard&#39;</span><span class="p">))</span></div></div>
</pre></div>

</div>
Expand Down
Loading

0 comments on commit 85fd7a3

Please sign in to comment.