PageRenderTime 24ms CodeModel.GetById 34ms RepoModel.GetById 0ms app.codeStats 0ms

/gallery/gallery/geoclaw/examples/tsunami/radial-ocean-island-fgmax/README.html

https://github.com/clawpack/clawpack.github.com
HTML | 188 lines | 177 code | 10 blank | 1 comment | 0 complexity | 8d368442ebd800c1e2f5701cf7d33625 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Radial ocean with an island and fgmax grids &#8212; Clawpack 5.8.x documentation</title>
  6. <link rel="stylesheet" href="../../../../../_static/flasky.css" type="text/css" />
  7. <link rel="stylesheet" href="../../../../../_static/pygments.css" type="text/css" />
  8. <link rel="stylesheet" href="../../../../../_static/base.css" type="text/css" />
  9. <link rel="stylesheet" href="../../../../../_static/layout.css" type="text/css" />
  10. <link rel="stylesheet" type="text/css" href="../../../../../_static/graphviz.css" />
  11. <script id="documentation_options" data-url_root="../../../../../" src="../../../../../_static/documentation_options.js"></script>
  12. <script src="../../../../../_static/jquery.js"></script>
  13. <script src="../../../../../_static/underscore.js"></script>
  14. <script src="../../../../../_static/doctools.js"></script>
  15. <script src="../../../../../_static/language_data.js"></script>
  16. <script async="async" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  17. <link rel="shortcut icon" href="../../../../../_static/clawicon.ico"/>
  18. <link rel="index" title="Index" href="../../../../../genindex.html" />
  19. <link rel="search" title="Search" href="../../../../../search.html" />
  20. </head><body>
  21. <div id="main-wrapper" class="sphinx">
  22. <div id="header-wrapper">
  23. <section id="header">
  24. <!-- <h1><a href="http://clawpack.org/">Clawpack</a></h1> -->
  25. <h1><a href="http://clawpack.org/">Clawpack-5</a></h1>
  26. <nav>
  27. <ul>
  28. <li>
  29. <a href="http://clawpack.org/contents.html">Docs</a>
  30. </li>
  31. <li>
  32. <a href="http://clawpack.org/installing.html">Install</a>
  33. </li>
  34. <li>
  35. <a class="" href="../../../../../index.html">Gallery</a>
  36. </li>
  37. <li>
  38. <a href="http://clawpack.org/about.html">Citation</a>
  39. </li>
  40. <li>
  41. <a class="active" href="http://github.com/clawpack">Github</a>
  42. </li>
  43. <li>
  44. <a href="http://clawpack.org/community.html">Community</a>
  45. </li>
  46. <li>
  47. <a href="http://clawpack.org/developers.html">Contribute</a>
  48. </li>
  49. </ul>
  50. </nav>
  51. </section>
  52. <div class="decoration"></div>
  53. </div>
  54. <div class="related" role="navigation" aria-label="related navigation">
  55. <h3>Navigation</h3>
  56. <ul>
  57. <li class="right" style="margin-right: 10px">
  58. <a href="../../../../../genindex.html" title="General Index"
  59. accesskey="I">index</a></li>
  60. <li class="right" >
  61. <a href="../../../../../py-modindex.html" title="Python Module Index"
  62. >modules</a> |</li>
  63. <li class="nav-item nav-item-0"><a href="../../../../../index.html">Clawpack 5.8.x documentation</a> &#187;</li>
  64. </ul>
  65. </div>
  66. <div class="document">
  67. <div class="documentwrapper">
  68. <div class="bodywrapper">
  69. <div class="body" role="main">
  70. <div class="section" id="radial-ocean-with-an-island-and-fgmax-grids">
  71. <span id="geoclaw-examples-tsunami-radial-ocean-island-fgmax"></span><h1>Radial ocean with an island and fgmax grids<a class="headerlink" href="#radial-ocean-with-an-island-and-fgmax-grids" title="Permalink to this headline"></a></h1>
  72. <p>The topography is a synthetic radially symmetric ocean with a continental
  73. shelf. An island is added at one location on the shelf.</p>
  74. <p>The topography was adapted from a test problem in this paper:</p>
  75. <blockquote>
  76. <div><p>M. J. Berger, D. L. George, R. J. LeVeque, and K. T. Mandli,
  77. The GeoClaw software for depth-averaged flows with adaptive refinement
  78. Advances in Water Resources 34 (2011), pp. 1195-1206.
  79. <a class="reference external" href="http://faculty.washington.edu/rjl/pubs/awr10/index.html">[link]</a></p>
  80. </div></blockquote>
  81. <p>To create the input data:</p>
  82. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">make</span> <span class="n">data</span>
  83. <span class="n">make</span> <span class="nb">input</span>
  84. </pre></div>
  85. </div>
  86. <p>Running <cite>make input</cite> executes <cite>make_input_files.py</cite>, or you can instead run
  87. the notebook <cite>make_input_files.ipynb</cite>,
  88. from which the <cite>make_input_files.py</cite> script was generated using <cite>nbconvert</cite>.</p>
  89. <p>See sample output in the gallery version linked below.</p>
  90. <p>After running the code, e.g. by:</p>
  91. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">make</span> <span class="o">.</span><span class="n">output</span>
  92. </pre></div>
  93. </div>
  94. <p>you can make the additional fgmax plots via:</p>
  95. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">make</span> <span class="n">fgmax_plots</span>
  96. </pre></div>
  97. </div>
  98. <p>creates the fgmax plots by running <cite>process_fgmax.py</cite>.
  99. Instead, you can run the notebook <cite>process_fgmax.ipynb</cite>,
  100. from which the <cite>process_fgmax.py</cite> script was generated using <cite>nbconvert</cite>.</p>
  101. <p>See sample output in the gallery version linked below.</p>
  102. <p>Finally</p>
  103. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">make</span> <span class="n">plots</span>
  104. </pre></div>
  105. </div>
  106. <p>creates the usual plots and also adds links to the plot index for the fgmax
  107. plots. (This can be done before or after creating the fgmax plots.)</p>
  108. <p>You can do everything with:</p>
  109. <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">make</span> <span class="nb">all</span>
  110. </pre></div>
  111. </div>
  112. <p><strong>Rendered versions of the Jupyter notebooks</strong> for this example can
  113. be viewed from the <a class="reference external" href="http://www.clawpack.org/gallery/_static/geoclaw/examples/tsunami/radial-ocean-island-fgmax/README.html">Clawpack gallery version of this file.</a></p>
  114. <div class="section" id="version">
  115. <h2>Version<a class="headerlink" href="#version" title="Permalink to this headline"></a></h2>
  116. <ul class="simple">
  117. <li><p>New in Version 5.7.0.</p></li>
  118. <li><p>Some Python issues fixed in Version 5.7.1.</p></li>
  119. <li><p>The results changed very slightly in v5.8.0 due to changes in the
  120. transverse Riemann solver.</p></li>
  121. </ul>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  128. <div class="sphinxsidebarwrapper">
  129. <p><a href="http://clawpack.org/">
  130. <img class="logo" src= "../../../../../_static/clawlogo.jpg" alt="Logo"/>
  131. </a>
  132. <h2>Version 5.8.x</h2>
  133. </p>
  134. <h3><a href="../../../../../index.html">Table of Contents</a></h3>
  135. <ul>
  136. <li><a class="reference internal" href="#">Radial ocean with an island and fgmax grids</a><ul>
  137. <li><a class="reference internal" href="#version">Version</a></li>
  138. </ul>
  139. </li>
  140. </ul>
  141. <h3>Related Topics</h3>
  142. <ul>
  143. <li><a href="../../../../../index.html">Documentation overview</a><ul>
  144. </ul></li>
  145. </ul>
  146. <h3>This Page</h3>
  147. <ul class="this-page-menu">
  148. <li><a href="../../../../../_sources/gallery/geoclaw/examples/tsunami/radial-ocean-island-fgmax/README.rst.txt"
  149. rel="nofollow">Show Source</a></li>
  150. </ul>
  151. <div id="searchbox" style="display: none" role="search">
  152. <h3 id="searchlabel">Quick search</h3>
  153. <div class="searchformwrapper">
  154. <form class="search" action="../../../../../search.html" method="get">
  155. <input type="text" name="q" aria-labelledby="searchlabel" />
  156. <input type="submit" value="Go" />
  157. </form>
  158. </div>
  159. </div>
  160. <script>$('#searchbox').show(0);</script>
  161. </div>
  162. </div>
  163. <div class="clearer"></div>
  164. </div>
  165. <div class="footer">
  166. &copy; Copyright CC-BY 2020, The Clawpack Development Team.
  167. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
  168. </div>
  169. <script>
  170. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  171. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  172. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  173. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  174. ga('create', 'UA-44811544-1', 'auto');
  175. ga('send', 'pageview');
  176. </script>
  177. </body>
  178. </html>