<a href="#pub-methods">Public Member Functions</a> |
<a href="#friends">Friends</a> |
<a href="classGooseFEM_1_1Mesh_1_1Quad4_1_1FineLayer-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">GooseFEM::Mesh::Quad4::FineLayer Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="namespaceGooseFEM_1_1Mesh.html" title="Generic mesh operations, and simple mesh definitions.">Mesh</a> with fine middle layer, and coarser elements towards the top and bottom.
<area href="classGooseFEM_1_1Mesh_1_1RegularBase.html" title="CRTP base class for regular meshes." alt="GooseFEM::Mesh::RegularBase< D >" shape="rect" coords="0,0,286,24"/>
<tr class="memdesc:a3b2bdf02b70c868cdb23c3f5356a96a5"><td class="mdescLeft"> </td><td class="mdescRight">Reconstruct class for given coordinates / connectivity. <br /></td></tr>
<tr class="memdesc:aaddbdc0d7ce565d7019033d4b55c1bee"><td class="mdescLeft"> </td><td class="mdescRight">Edge size in x-direction of a block, in units of <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>, per row of blocks. <br /></td></tr>
<tr class="memdesc:a004fed2dcfea351cad1e710366f68a74"><td class="mdescLeft"> </td><td class="mdescRight">Edge size in y-direction of a block, in units of <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>, per row of blocks. <br /></td></tr>
<tr class="memdesc:a95335852b4f9d758d96a3e2afb1b213b"><td class="mdescLeft"> </td><td class="mdescRight">Per row of blocks: <code>-1</code>: normal layer <code>0</code>: transition layer to match coarse and finer element on the previous/next row. <br /></td></tr>
<tr class="memdesc:ad2ed0b81ca6c30ae22ac1e7140016a5f"><td class="mdescLeft"> </td><td class="mdescRight">Number of elements per row of blocks. <br /></td></tr>
<tr class="memdesc:aca043d927666c8414ecf5f868743273b"><td class="mdescLeft"> </td><td class="mdescRight">Select region of elements from 'matrix' of element numbers. <br /></td></tr>
<tr class="memdesc:a37aee6dc14cb8b0159fe2c99d5da0a09"><td class="mdescLeft"> </td><td class="mdescRight">Select region of elements from 'matrix' of element numbers around an element: square box with edge-size <code>(2 * size + 1) * h</code>, around <code>element</code>. <br /></td></tr>
<tr class="memdesc:a334646df45c8318fe0319bc19ad6f93f"><td class="mdescLeft"> </td><td class="mdescRight">Select region of elements from 'matrix' of element numbers around an element: left/right from <code>element</code> (on the same layer). <br /></td></tr>
<tr class="memdesc:a172d40af2b128ee5dc4f131c07753467"><td class="mdescLeft"> </td><td class="mdescRight">Mapping to 'roll' periodically in the x-direction,. <br /></td></tr>
<tr class="memdesc:a404728e99a908d5133e4e5fbd1cde567 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the bottom edge (y = 0), in order of increasing x. <br /></td></tr>
<tr class="memdesc:a8cd6f0ec16e3e790b82d8b470a7921b7 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the top edge (y = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a2b1e724266a6ea6ad9c21dcf87f30c8f" title="Number of elements in y-direction == height of the mesh, in units of h,.">nely</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>), in order of increasing x. <br /></td></tr>
<tr class="memdesc:a34598fc9fb42a8fc49997d8a75d1cfab inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the left edge (x = 0), in order of increasing y. <br /></td></tr>
<tr class="memdesc:a61896124ab63ea38c0ef28ff663464c1 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the right edge (x = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9bbaff6778108ff92394e5f639bb64ee" title="Number of elements in x-direction == width of the mesh in units of h.">nelx</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>), in order of increasing y. <br /></td></tr>
<tr class="memdesc:ad2409e45825f7b739d0ad0c36ae36d6f inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the bottom edge (y = 0), without the corners (at x = 0 and x = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9bbaff6778108ff92394e5f639bb64ee" title="Number of elements in x-direction == width of the mesh in units of h.">nelx</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>). <br /></td></tr>
<tr class="memdesc:aff0cd240e3f4c2ca6e97ab1aeb19a502 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the top edge (y = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a2b1e724266a6ea6ad9c21dcf87f30c8f" title="Number of elements in y-direction == height of the mesh, in units of h,.">nely</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>), without the corners (at x = 0 and x = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9bbaff6778108ff92394e5f639bb64ee" title="Number of elements in x-direction == width of the mesh in units of h.">nelx</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>). <br /></td></tr>
<tr class="memdesc:ac6e020eafbf369b4a06d50abf6bcc35f inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the left edge (x = 0), without the corners (at y = 0 and y = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a2b1e724266a6ea6ad9c21dcf87f30c8f" title="Number of elements in y-direction == height of the mesh, in units of h,.">nely</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>). <br /></td></tr>
<tr class="memdesc:a444ad0fa817b83e2a1b703788644bc31 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">Nodes along the right edge (x = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9bbaff6778108ff92394e5f639bb64ee" title="Number of elements in x-direction == width of the mesh in units of h.">nelx</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>), without the corners (at y = 0 and y = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a2b1e724266a6ea6ad9c21dcf87f30c8f" title="Number of elements in y-direction == height of the mesh, in units of h,.">nely</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>). <br /></td></tr>
<tr class="memdesc:a94df80d41d90227052ac61ab621f4eb5 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">The bottom-right corner node (at x = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9bbaff6778108ff92394e5f639bb64ee" title="Number of elements in x-direction == width of the mesh in units of h.">nelx</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>, y = 0). <br /></td></tr>
<tr class="memdesc:a33edf64923d6150bc70ba1fa7b963d9a inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">The top-left corner node (at x = 0, y = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a2b1e724266a6ea6ad9c21dcf87f30c8f" title="Number of elements in y-direction == height of the mesh, in units of h,.">nely</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>). <br /></td></tr>
<tr class="memdesc:a2948bed2fe040e56bca528d3f7f409a5 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase2d"><td class="mdescLeft"> </td><td class="mdescRight">The top-right corner node (at x = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9bbaff6778108ff92394e5f639bb64ee" title="Number of elements in x-direction == width of the mesh in units of h.">nelx</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>, y = <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a2b1e724266a6ea6ad9c21dcf87f30c8f" title="Number of elements in y-direction == height of the mesh, in units of h,.">nely</a> * <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>). <br /></td></tr>
<tr class="memdesc:a9bbaff6778108ff92394e5f639bb64ee inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase"><td class="mdescLeft"> </td><td class="mdescRight">Number of elements in x-direction == width of the mesh in units of <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>. <br /></td></tr>
<tr class="memdesc:a2b1e724266a6ea6ad9c21dcf87f30c8f inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase"><td class="mdescLeft"> </td><td class="mdescRight">Number of elements in y-direction == height of the mesh, in units of <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>,. <br /></td></tr>
<tr class="memdesc:a7c0074eeb483898d78a22be5c5f3cec7 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase"><td class="mdescLeft"> </td><td class="mdescRight">DOF-numbers for the case that the periodicity if fully eliminated. <br /></td></tr>
<tr class="memdesc:a8c07aed68fe7f0886236e29dd6a1dca8 inherit pub_methods_classGooseFEM_1_1Mesh_1_1RegularBase"><td class="mdescLeft"> </td><td class="mdescRight">Reference node to use for periodicity, because all corners are tied to it. <br /></td></tr>
<div class="textblock"><p><a class="el" href="namespaceGooseFEM_1_1Mesh.html" title="Generic mesh operations, and simple mesh definitions.">Mesh</a> with fine middle layer, and coarser elements towards the top and bottom. </p>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00200">200</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<tr><td class="paramname">nelx</td><td>Number of elements (along the middle layer) in horizontal (x) direction. </td></tr>
<tr><td class="paramname">nely</td><td>Approximate equivalent number of elements in vertical (y) direction. </td></tr>
<tr><td class="paramname">h</td><td>Edge size (width == height) of elements along the weak layer.</td></tr>
<tr><td class="paramname">nfine</td><td>Extra number of fine layers around the middle layer. By default the element size is kept smaller than the distance to the middle layer. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00215">215</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<tr><td class="paramname">coor</td><td>Nodal coordinates <code>[nnode, ndim]</code> with <code>ndim == 2</code>. </td></tr>
<tr><td class="paramname">conn</td><td>Connectivity <code>[nne, nne]</code> with <code>nne == 4</code>. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00229">229</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<p>Select region of elements from 'matrix' of element numbers around an element: square box with edge-size <code>(2 * size + 1) * h</code>, around <code>element</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">e</td><td>The element around which to select elements. </td></tr>
<tr><td class="paramname">size</td><td>Edge size of the square box encapsulating the selected element. </td></tr>
<tr><td class="paramname">periodic</td><td>Assume the mesh periodic. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>List of elements. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00410">410</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Select region of elements from 'matrix' of element numbers around an element: left/right from <code>element</code> (on the same layer). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">e</td><td>The element around which to select elements. </td></tr>
<tr><td class="paramname">left</td><td>Number of elements to select to the left. </td></tr>
<tr><td class="paramname">right</td><td>Number of elements to select to the right. </td></tr>
<tr><td class="paramname">periodic</td><td>Assume the mesh periodic. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>List of elements. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00483">483</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Select region of elements from 'matrix' of element numbers. </p>
<dl class="section return"><dt>Returns</dt><dd>List of element numbers. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00314">314</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>List of element numbers. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00299">299</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>List of element numbers. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00287">287</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Note that a block is equal to an element except in refinement layers where it contains three elements.</p>
<dl class="section return"><dt>Returns</dt><dd>List of size equal to the number of rows of blocks. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00277">277</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Edge size in x-direction of a block, in units of <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>, per row of blocks. </p>
<p>Note that a block is equal to an element except in refinement layers where it contains three elements.</p>
<dl class="section return"><dt>Returns</dt><dd>List of size equal to the number of rows of blocks. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00241">241</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Edge size in y-direction of a block, in units of <a class="el" href="classGooseFEM_1_1Mesh_1_1RegularBase.html#a9b57e26ca3bcd0e1109c5295534b4be0" title="Linear edge size of one 'block'.">h</a>, per row of blocks. </p>
<p>Note that a block is equal to an element except in refinement layers where it contains three elements.</p>
<dl class="section return"><dt>Returns</dt><dd>List of size equal to the number of rows of blocks. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00253">253</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Per row of blocks: <code>-1</code>: normal layer <code>0</code>: transition layer to match coarse and finer element on the previous/next row. </p>
<dl class="section return"><dt>Returns</dt><dd>List of size equal to the number of rows of blocks. </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00265">265</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p>Mapping to 'roll' periodically in the x-direction,. </p>
<dl class="section return"><dt>Returns</dt><dd>element mapping, such that: new_elemvar = elemvar[elem_map] </dd></dl>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00539">539</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00569">569</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00539">539</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="MeshQuad4_8h_source.html#l00539">539</a> of file <a class="el" href="MeshQuad4_8h_source.html">MeshQuad4.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>