-
Notifications
You must be signed in to change notification settings - Fork 7
/
amrclaw.html
268 lines (256 loc) · 15.3 KB
/
amrclaw.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<title>AMRClaw Description and Detailed Contents — Clawpack 5.11.x documentation</title>
<link rel="stylesheet" href="_static/base.css" type="text/css" />
<link rel="stylesheet" href="_static/layout.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/flasky.css" />
<link rel="stylesheet" type="text/css" href="_static/graphviz.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/sphinx_highlight.js"></script>
<link rel="shortcut icon" href="_static/clawicon.ico"/>
<link rel="author" title="About these documents" href="about.html" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="AMRClaw for 1d problems" href="amrclaw1d.html" />
<link rel="prev" title="Using the GPU version of Clawpack" href="gpu.html" />
</head><body>
<div id="main-wrapper" class="sphinx">
<div id="header-wrapper">
<section id="header">
<!-- <h1><a href="http://clawpack.org/">Clawpack</a></h1> -->
<h1><a href="http://clawpack.org/">Clawpack-5</a></h1>
<nav>
<ul>
<li>
<a href="contents.html">Docs</a>
</li>
<li>
<a href="installing.html">Install</a>
</li>
<li>
<a class="" href="http://clawpack.org/gallery/index.html">Gallery</a>
</li>
<li>
<a href="about.html">Citation</a>
</li>
<li>
<a class="active" href="http://github.com/clawpack">GitHub</a>
</li>
<li>
<a class="" href="community.html">Community</a>
</li>
<li>
<a class="" href="developers.html">Contribute</a>
</li>
</ul>
</nav>
</section>
<div class="decoration"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="amrclaw1d.html" title="AMRClaw for 1d problems"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="gpu.html" title="Using the GPU version of Clawpack"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="contents.html">Clawpack 5.11.x documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">AMRClaw Description and Detailed Contents</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="amrclaw-description-and-detailed-contents">
<span id="amrclaw"></span><h1>AMRClaw Description and Detailed Contents<a class="headerlink" href="#amrclaw-description-and-detailed-contents" title="Permalink to this heading">¶</a></h1>
<p>The AMRClaw version of Clawpack provides Adaptive Mesh Refinement (AMR)
capabilities in 2 and 3 space dimensions. (The two-dimensional code can
also be used for 1-dimensional problems, see <a class="reference internal" href="amrclaw1d.html#amrclaw-1d"><span class="std std-ref">AMRClaw for 1d problems</span></a>.)</p>
<p><strong>See also:</strong></p>
<ul class="simple">
<li><p><a class="reference internal" href="amr_algorithm.html#amr-algorithm"><span class="std std-ref">Adaptive mesh refinement (AMR) algorithms</span></a></p></li>
<li><p><a class="reference internal" href="refinement.html#refinement"><span class="std std-ref">AMR refinement criteria</span></a></p></li>
<li><p><a class="reference internal" href="amrclaw_doxygen.html#amrclaw-doxygen"><span class="std std-ref">Doxygen documentation of AMRClaw</span></a></p></li>
<li><p><a class="reference internal" href="amrclaw_flowcharts.html#amrclaw-flowcharts"><span class="std std-ref">AMRClaw Flowcharts</span></a></p></li>
</ul>
<p>Block-structured AMR is implemented, in which rectangular patches of the
grid at level <cite>L</cite> are refined to level <cite>L+1</cite>.
See <a class="reference internal" href="setrun_amrclaw.html#setrun-amrclaw"><span class="std std-ref">Specifying AMRClaw run-time parameters in setrun.py</span></a> for a list of the input parameters that can be
specified to help control how refinement is done.
The general algorithms are described in <a class="reference internal" href="biblio.html#bergerleveque98" id="id1"><span>[BergerLeVeque98]</span></a>.</p>
<p>See <a class="reference internal" href="ClawPlotItem.html#clawplotitem"><span class="std std-ref">ClawPlotItem</span></a> for a list of 2d plot types that can be used to
create a <cite>setplot</cite> function to control plotting of two-dimensional results.
Some of the attribute names start with the string <cite>amr_</cite>, indicating that a
list of different values can be specified for each AMR level.
See <a class="reference internal" href="plotting.html#plotting"><span class="std std-ref">Plotting with Visclaw</span></a> and <a class="reference internal" href="setplot.html#setplot"><span class="std std-ref">Using setplot.py to specify the desired plots</span></a> for more about plotting.</p>
<p>Python plotting tools for 3d are still under development. For now, the
Matlab tools from Clawpack 4.3 can still be used, see
<a class="reference internal" href="matlab_plotting.html#matlabplots"><span class="std std-ref">Plotting using Matlab</span></a>.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="amrclaw1d.html">AMRClaw for 1d problems</a><ul>
<li class="toctree-l2"><a class="reference internal" href="amrclaw1d.html#old-approach-deprecated">Old approach, deprecated:</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="setrun_amrclaw.html">Specifying AMRClaw run-time parameters in <cite>setrun.py</cite></a><ul>
<li class="toctree-l2"><a class="reference internal" href="setrun_amrclaw.html#input">Input</a></li>
<li class="toctree-l2"><a class="reference internal" href="setrun_amrclaw.html#output">Output</a></li>
<li class="toctree-l2"><a class="reference internal" href="setrun_amrclaw.html#run-time-parameters">Run-time parameters</a></li>
<li class="toctree-l2"><a class="reference internal" href="setrun_amrclaw.html#special-amr-parameters">Special AMR parameters</a></li>
<li class="toctree-l2"><a class="reference internal" href="setrun_amrclaw.html#debugging-flags-for-additional-printing">Debugging flags for additional printing</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="setrun_amrclaw_sample.html">Sample <cite>setrun.py</cite> module for AMRClaw</a></li>
<li class="toctree-l1"><a class="reference internal" href="amr_algorithm.html">Adaptive mesh refinement (AMR) algorithms</a><ul>
<li class="toctree-l2"><a class="reference internal" href="amr_algorithm.html#ghost-cells-and-boundary-conditions-for-amr">Ghost cells and boundary conditions for AMR</a></li>
<li class="toctree-l2"><a class="reference internal" href="amr_algorithm.html#choosing-and-initializing-finer-grids">Choosing and initializing finer grids</a></li>
<li class="toctree-l2"><a class="reference internal" href="amr_algorithm.html#flagging-cells-for-refinement">Flagging cells for refinement</a></li>
<li class="toctree-l2"><a class="reference internal" href="amr_algorithm.html#for-more-details">For more details</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="refinement.html">AMR refinement criteria</a><ul>
<li class="toctree-l2"><a class="reference internal" href="refinement.html#flagging-criteria">Flagging criteria</a><ul>
<li class="toctree-l3"><a class="reference internal" href="refinement.html#flag2refine">flag2refine</a></li>
<li class="toctree-l3"><a class="reference internal" href="refinement.html#richardson-extrapolation">Richardson extrapolation</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="refinement.html#specifying-amr-regions">Specifying AMR regions</a></li>
<li class="toctree-l2"><a class="reference internal" href="refinement.html#implementation">Implementation</a></li>
<li class="toctree-l2"><a class="reference internal" href="refinement.html#flagging-criteria-in-geoclaw">Flagging criteria in GeoClaw</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="flagregions.html">Specifying flagregions for adaptive refinement</a><ul>
<li class="toctree-l2"><a class="reference internal" href="flagregions.html#using-ruled-rectangles-as-flagregions">Using ruled rectangles as flagregions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ruled_rectangles.html">Ruled Rectangles</a><ul>
<li class="toctree-l2"><a class="reference internal" href="ruled_rectangles.html#contents">Contents</a></li>
<li class="toctree-l2"><a class="reference internal" href="ruled_rectangles.html#examples">Examples</a></li>
<li class="toctree-l2"><a class="reference internal" href="ruled_rectangles.html#relation-to-convex-polygons">Relation to convex polygons</a></li>
<li class="toctree-l2"><a class="reference internal" href="ruled_rectangles.html#other-attributes-and-methods">Other attributes and methods</a><ul>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#ds"><cite>ds</cite></a></li>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#slu"><cite>slu</cite></a></li>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#bounding-box"><cite>bounding_box</cite></a></li>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#mask-outside"><cite>mask_outside</cite></a></li>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#read-and-write-and-instantiating-from-a-file">read and write, and instantiating from a file</a></li>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#make-kml"><cite>make_kml</cite></a></li>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#a-geoclaw-amr-flag-region">A GeoClaw AMR flag region</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="ruled_rectangles.html#a-simple-rectangle">A simple rectangle</a></li>
<li class="toctree-l2"><a class="reference internal" href="ruled_rectangles.html#defining-a-ruled-rectangle-covering-selected-cells">Defining a Ruled Rectangle covering selected cells</a><ul>
<li class="toctree-l3"><a class="reference internal" href="ruled_rectangles.html#example-covering-the-continental-shelf">Example covering the continental shelf</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="adjoint.html">Guiding AMR with adjoint flagging</a><ul>
<li class="toctree-l2"><a class="reference internal" href="adjoint.html#using-adjoint-flagging-in-geoclaw">Using adjoint flagging in GeoClaw</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="gauges.html">Gauges</a><ul>
<li class="toctree-l2"><a class="reference internal" href="gauges.html#gauge-parameters-in-setrun">Gauge parameters in setrun</a></li>
<li class="toctree-l2"><a class="reference internal" href="gauges.html#plotting-tools">Plotting tools</a></li>
<li class="toctree-l2"><a class="reference internal" href="gauges.html#plotting-gauge-locations">Plotting gauge locations</a></li>
<li class="toctree-l2"><a class="reference internal" href="gauges.html#examples">Examples</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="amrclaw_doxygen.html">Doxygen documentation of AMRClaw</a></li>
<li class="toctree-l1"><a class="reference internal" href="amrclaw_flowcharts.html">AMRClaw Flowcharts</a></li>
</ul>
</div>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p><a href="http://clawpack.org/">
<img class="logo" src= "_static/clawlogo.jpg" alt="Logo"/>
</a>
<h2>Version 5.11.x</h2>
</p><h3>Related Topics</h3>
<ul>
<li><a href="contents.html">Documentation overview</a><ul>
<li>Previous: <a href="gpu.html" title="previous chapter">Using the GPU version of Clawpack</a></li>
<li>Next: <a href="amrclaw1d.html" title="next chapter">AMRClaw for 1d problems</a></li>
</ul></li>
</ul>
<div class="widget navlinks">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/amrclaw.rst.txt"
rel="nofollow"
target="_blank">Source .rst</a></li>
<li><a href="https://github.com/clawpack/doc/blob/dev/doc/amrclaw.rst"
rel="nofollow"
target="_blank">Source on GitHub</a></li>
<li><a href="https://github.com/clawpack/doc/commits/dev/doc/amrclaw.rst"
rel="nofollow"
target="_blank">History</a></li>
<li><a href="https://github.com/clawpack/doc/edit/dev/doc/amrclaw.rst"
rel="nofollow"
target="_blank">Suggest Edits</a></li>
<li><a href="https://github.com/clawpack/doc/issues/new/choose"
rel="nofollow"
target="_blank">Raise an Issue</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
<h4>Latest Version</h4>
<ul>
<li><a href="./dev/amrclaw.html">dev</a></li>
<li><a href="amrclaw.html">v5.11.x</a></li>
</ul>
<h4>Older Versions</h4>
<ul>
<li><a href="./v5.10.x/amrclaw.html">v5.10.x</a></li>
<li><a href="./v5.7.x/amrclaw.html">v5.7.x</a></li>
<li><a href="./v5.8.x/amrclaw.html">v5.8.x</a></li>
<li><a href="./v5.9.x/amrclaw.html">v5.9.x</a></li>
</ul>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
© Copyright CC-BY 2024, The Clawpack Development Team.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-44811544-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>