<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.15.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DOLFIN: /build/dolfin-wwk1CC/dolfin-2019.2.0~legacy20240219.1c52e83/dolfin/generation/UnitSquareMesh.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DOLFIN
   </div>
   <div id="projectbrief">DOLFIN C++ interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.15.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>dolfin</b></li><li class="navelem"><b>generation</b></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">UnitSquareMesh.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// Copyright (C) 2005-2015 Anders Logg</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">//</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">// This file is part of DOLFIN.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">//</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">// DOLFIN is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">// it under the terms of the GNU Lesser General Public License as published by</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment">// (at your option) any later version.</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment">//</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">// DOLFIN is distributed in the hope that it will be useful,</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">// GNU Lesser General Public License for more details.</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">//</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">// You should have received a copy of the GNU Lesser General Public License</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">// along with DOLFIN. If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">//</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">// Modified by Mikael Mortensen, 2014</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">//</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment">// First added:  2005-12-02</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment">// Last changed: 2018-02-09</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifndef __UNIT_SQUARE_MESH_H</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#define __UNIT_SQUARE_MESH_H</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &lt;array&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &lt;dolfin/mesh/CellType.h&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#include &quot;RectangleMesh.h&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/de3/namespacedolfin.html">dolfin</a></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>{</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="foldopen" id="foldopen00042" data-start="{" data-end="};">
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html">   42</a></span>  <span class="keyword">class </span><a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a0cff260683cd6632fa569ddda6529a0d">UnitSquareMesh</a> : <span class="keyword">public</span> <a class="code hl_function" href="../../d9/d16/classdolfin_1_1RectangleMesh.html#ad8fdac48c44dbfb5b6ad5b06b679f06a">RectangleMesh</a></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>  {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>  <span class="keyword">public</span>:</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span></div>
<div class="foldopen" id="foldopen00062" data-start="{" data-end="}">
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7e71876786d9c9522bb5366a640e6956">   62</a></span>    <span class="keyword">static</span> <a class="code hl_class" href="../../da/dfc/classdolfin_1_1Mesh.html">Mesh</a> <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7e71876786d9c9522bb5366a640e6956">create</a>(std::array&lt;std::size_t, 2&gt; n,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>                       <a class="code hl_enumeration" href="../../d4/d11/classdolfin_1_1CellType.html#ae345f9005879fab4ac1a0440b7025c01">CellType::Type</a> cell_type,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>                       std::string diagonal=<span class="stringliteral">&quot;right&quot;</span>)</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    {</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>      <span class="keywordflow">return</span> <a class="code hl_function" href="../../d9/d16/classdolfin_1_1RectangleMesh.html#a00b63dce200897d4d280eaded5eea445">RectangleMesh::create</a>({{<a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(0.0, 0.0), <a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(1.0, 1.0)}}, n,</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>                                   cell_type, diagonal);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    }</div>
</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    <span class="comment">// Temporary - part of pybind11 transition and will be</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    <span class="comment">// removed. Avoid using.</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    <span class="keyword">static</span> <a class="code hl_class" href="../../da/dfc/classdolfin_1_1Mesh.html">Mesh</a> <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7e71876786d9c9522bb5366a640e6956">create</a>(std::size_t nx, std::size_t ny, <a class="code hl_enumeration" href="../../d4/d11/classdolfin_1_1CellType.html#ae345f9005879fab4ac1a0440b7025c01">CellType::Type</a> cell_type,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>                       std::string diagonal=<span class="stringliteral">&quot;right&quot;</span>)</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>    {</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>      <span class="keywordflow">return</span> <a class="code hl_function" href="../../d9/d16/classdolfin_1_1RectangleMesh.html#a00b63dce200897d4d280eaded5eea445">RectangleMesh::create</a>({{<a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(0.0, 0.0), <a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(1.0, 1.0)}}, {{nx, ny}},</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>                                   cell_type, diagonal);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    }</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <span class="comment">// Temporary - part of pybind11 transition and will be</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    <span class="comment">// removed. Avoid using.</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    <span class="keyword">static</span> <a class="code hl_function" href="../../da/dfc/classdolfin_1_1Mesh.html#a2af137f1571af89172b9c102302c416b">Mesh</a> <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7e71876786d9c9522bb5366a640e6956">create</a>(MPI_Comm comm, std::size_t nx, std::size_t ny,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>                       <a class="code hl_enumeration" href="../../d4/d11/classdolfin_1_1CellType.html#ae345f9005879fab4ac1a0440b7025c01">CellType::Type</a> cell_type,</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>                       std::string diagonal=<span class="stringliteral">&quot;right&quot;</span>)</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    {</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>      <span class="keywordflow">return</span> <a class="code hl_function" href="../../d9/d16/classdolfin_1_1RectangleMesh.html#a00b63dce200897d4d280eaded5eea445">RectangleMesh::create</a>(comm, {{Point(0.0, 0.0), Point(1.0, 1.0)}}, {{nx, ny}},</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>                                   cell_type, diagonal);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>    }</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span></div>
<div class="foldopen" id="foldopen00107" data-start="{" data-end="}">
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7692486f216d8b1bfc82587be14a3912">  107</a></span>    <span class="keyword">static</span> <a class="code hl_class" href="../../da/dfc/classdolfin_1_1Mesh.html">Mesh</a> <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7692486f216d8b1bfc82587be14a3912">create</a>(MPI_Comm comm, std::array&lt;std::size_t, 2&gt; n,</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>                       <a class="code hl_enumeration" href="../../d4/d11/classdolfin_1_1CellType.html#ae345f9005879fab4ac1a0440b7025c01">CellType::Type</a> cell_type,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>                       std::string diagonal=<span class="stringliteral">&quot;right&quot;</span>)</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    { <span class="keywordflow">return</span> <a class="code hl_function" href="../../d9/d16/classdolfin_1_1RectangleMesh.html#a00b63dce200897d4d280eaded5eea445">RectangleMesh::create</a>(comm, {{<a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(0.0, 0.0), <a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(1.0, 1.0)}}, n,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>                                   cell_type, diagonal); }</div>
</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span></div>
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a0cff260683cd6632fa569ddda6529a0d">  129</a></span>    <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a0cff260683cd6632fa569ddda6529a0d">UnitSquareMesh</a>(std::size_t nx, std::size_t ny, std::string diagonal=<span class="stringliteral">&quot;right&quot;</span>)</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>      : <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a0cff260683cd6632fa569ddda6529a0d">UnitSquareMesh</a>(MPI_COMM_WORLD, nx, ny, diagonal) {}</div>
</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span></div>
<div class="foldopen" id="foldopen00150" data-start="{" data-end="}">
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#ae670ce0f1eb79434066c045c37e7d569">  150</a></span>    <a class="code hl_function" href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#ae670ce0f1eb79434066c045c37e7d569">UnitSquareMesh</a>(MPI_Comm comm, std::size_t nx, std::size_t ny,</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>                   std::string diagonal=<span class="stringliteral">&quot;right&quot;</span>)</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>      : <a class="code hl_function" href="../../d9/d16/classdolfin_1_1RectangleMesh.html#ad8fdac48c44dbfb5b6ad5b06b679f06a">RectangleMesh</a>(comm, <a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(0.0, 0.0), <a class="code hl_class" href="../../d3/d1a/classdolfin_1_1Point.html">Point</a>(1.0, 1.0), nx, ny, diagonal) {}</div>
</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>  };</div>
</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>}</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassdolfin_1_1CellType_html_ae345f9005879fab4ac1a0440b7025c01"><div class="ttname"><a href="../../d4/d11/classdolfin_1_1CellType.html#ae345f9005879fab4ac1a0440b7025c01">dolfin::CellType::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">Enum for different cell types.</div><div class="ttdef"><b>Definition</b> CellType.h:51</div></div>
<div class="ttc" id="aclassdolfin_1_1Mesh_html"><div class="ttname"><a href="../../da/dfc/classdolfin_1_1Mesh.html">dolfin::Mesh</a></div><div class="ttdef"><b>Definition</b> Mesh.h:84</div></div>
<div class="ttc" id="aclassdolfin_1_1Mesh_html_a2af137f1571af89172b9c102302c416b"><div class="ttname"><a href="../../da/dfc/classdolfin_1_1Mesh.html#a2af137f1571af89172b9c102302c416b">dolfin::Mesh::Mesh</a></div><div class="ttdeci">Mesh()</div><div class="ttdoc">Create empty mesh.</div><div class="ttdef"><b>Definition</b> Mesh.cpp:59</div></div>
<div class="ttc" id="aclassdolfin_1_1Point_html"><div class="ttname"><a href="../../d3/d1a/classdolfin_1_1Point.html">dolfin::Point</a></div><div class="ttdef"><b>Definition</b> Point.h:41</div></div>
<div class="ttc" id="aclassdolfin_1_1RectangleMesh_html_a00b63dce200897d4d280eaded5eea445"><div class="ttname"><a href="../../d9/d16/classdolfin_1_1RectangleMesh.html#a00b63dce200897d4d280eaded5eea445">dolfin::RectangleMesh::create</a></div><div class="ttdeci">static Mesh create(const std::array&lt; Point, 2 &gt; &amp;p, std::array&lt; std::size_t, 2 &gt; n, CellType::Type cell_type, std::string diagonal=&quot;right&quot;)</div><div class="ttdef"><b>Definition</b> RectangleMesh.h:57</div></div>
<div class="ttc" id="aclassdolfin_1_1RectangleMesh_html_ad8fdac48c44dbfb5b6ad5b06b679f06a"><div class="ttname"><a href="../../d9/d16/classdolfin_1_1RectangleMesh.html#ad8fdac48c44dbfb5b6ad5b06b679f06a">dolfin::RectangleMesh::RectangleMesh</a></div><div class="ttdeci">RectangleMesh(const Point &amp;p0, const Point &amp;p1, std::size_t nx, std::size_t ny, std::string diagonal=&quot;right&quot;)</div><div class="ttdef"><b>Definition</b> RectangleMesh.cpp:30</div></div>
<div class="ttc" id="aclassdolfin_1_1UnitSquareMesh_html_a0cff260683cd6632fa569ddda6529a0d"><div class="ttname"><a href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a0cff260683cd6632fa569ddda6529a0d">dolfin::UnitSquareMesh::UnitSquareMesh</a></div><div class="ttdeci">UnitSquareMesh(std::size_t nx, std::size_t ny, std::string diagonal=&quot;right&quot;)</div><div class="ttdef"><b>Definition</b> UnitSquareMesh.h:129</div></div>
<div class="ttc" id="aclassdolfin_1_1UnitSquareMesh_html_a7692486f216d8b1bfc82587be14a3912"><div class="ttname"><a href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7692486f216d8b1bfc82587be14a3912">dolfin::UnitSquareMesh::create</a></div><div class="ttdeci">static Mesh create(MPI_Comm comm, std::array&lt; std::size_t, 2 &gt; n, CellType::Type cell_type, std::string diagonal=&quot;right&quot;)</div><div class="ttdef"><b>Definition</b> UnitSquareMesh.h:107</div></div>
<div class="ttc" id="aclassdolfin_1_1UnitSquareMesh_html_a7e71876786d9c9522bb5366a640e6956"><div class="ttname"><a href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#a7e71876786d9c9522bb5366a640e6956">dolfin::UnitSquareMesh::create</a></div><div class="ttdeci">static Mesh create(std::array&lt; std::size_t, 2 &gt; n, CellType::Type cell_type, std::string diagonal=&quot;right&quot;)</div><div class="ttdef"><b>Definition</b> UnitSquareMesh.h:62</div></div>
<div class="ttc" id="aclassdolfin_1_1UnitSquareMesh_html_ae670ce0f1eb79434066c045c37e7d569"><div class="ttname"><a href="../../de/dac/classdolfin_1_1UnitSquareMesh.html#ae670ce0f1eb79434066c045c37e7d569">dolfin::UnitSquareMesh::UnitSquareMesh</a></div><div class="ttdeci">UnitSquareMesh(MPI_Comm comm, std::size_t nx, std::size_t ny, std::string diagonal=&quot;right&quot;)</div><div class="ttdef"><b>Definition</b> UnitSquareMesh.h:150</div></div>
<div class="ttc" id="anamespacedolfin_html"><div class="ttname"><a href="../../df/de3/namespacedolfin.html">dolfin</a></div><div class="ttdef"><b>Definition</b> adapt.h:30</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
