|
307 | 307 | <tr class="separator:a94d7b72914936f9a4d6133c0340ac46e"><td class="memSeparator" colspan="2"> </td></tr> |
308 | 308 | <tr class="memitem:a611ba63b9b9197c08613cccdc41464ee" id="r_a611ba63b9b9197c08613cccdc41464ee"><td class="memTemplParams" colspan="2">template<typename U > </td></tr> |
309 | 309 | <tr class="memitem:a611ba63b9b9197c08613cccdc41464ee"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="../../d0/ddf/classdolfinx_1_1mesh_1_1Mesh.html">Mesh</a>< typename std::remove_reference_t< typename U::value_type > > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a611ba63b9b9197c08613cccdc41464ee">create_mesh</a> (MPI_Comm comm, MPI_Comm commt, std::span< const std::int64_t > cells, const <a class="el" href="../../d9/d35/classdolfinx_1_1fem_1_1CoordinateElement.html">fem::CoordinateElement</a>< typename std::remove_reference_t< typename U::value_type > > &element, MPI_Comm commg, const U &x, std::array< std::size_t, 2 > xshape, const <a class="el" href="#acab22e3b5c8ac14664c8cd8e6f53fb70">CellPartitionFunction</a> &partitioner)</td></tr> |
310 | | -<tr class="memdesc:a611ba63b9b9197c08613cccdc41464ee"><td class="mdescLeft"> </td><td class="mdescRight">Create a distributed mesh wirh a single cell type from mesh data and using a provided graph partitioning function for determining the parallel distribution of the mesh. <br /></td></tr> |
| 310 | +<tr class="memdesc:a611ba63b9b9197c08613cccdc41464ee"><td class="mdescLeft"> </td><td class="mdescRight">Create a distributed mesh with a single cell type from mesh data and using a provided graph partitioning function for determining the parallel distribution of the mesh. <br /></td></tr> |
311 | 311 | <tr class="separator:a611ba63b9b9197c08613cccdc41464ee"><td class="memSeparator" colspan="2"> </td></tr> |
312 | 312 | <tr class="memitem:ada3471710d7fca68f819993efab03d81" id="r_ada3471710d7fca68f819993efab03d81"><td class="memTemplParams" colspan="2">template<typename U > </td></tr> |
313 | 313 | <tr class="memitem:ada3471710d7fca68f819993efab03d81"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="../../d0/ddf/classdolfinx_1_1mesh_1_1Mesh.html">Mesh</a>< typename std::remove_reference_t< typename U::value_type > > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ada3471710d7fca68f819993efab03d81">create_mesh</a> (MPI_Comm comm, std::span< const std::int64_t > cells, const <a class="el" href="../../d9/d35/classdolfinx_1_1fem_1_1CoordinateElement.html">fem::CoordinateElement</a>< std::remove_reference_t< typename U::value_type > > &elements, const U &x, std::array< std::size_t, 2 > xshape, <a class="el" href="#a38d109d131f3180f43267fcf9fe9c4c4">GhostMode</a> ghost_mode)</td></tr> |
@@ -1118,7 +1118,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a611ba63b9b9197c08613cccd |
1118 | 1118 | </table> |
1119 | 1119 | </div><div class="memdoc"> |
1120 | 1120 |
|
1121 | | -<p>Create a distributed mesh wirh a single cell type from mesh data and using a provided graph partitioning function for determining the parallel distribution of the mesh. </p> |
| 1121 | +<p>Create a distributed mesh with a single cell type from mesh data and using a provided graph partitioning function for determining the parallel distribution of the mesh. </p> |
1122 | 1122 | <p>From mesh input data that is distributed across processes, a distributed <a class="el" href="../../d0/ddf/classdolfinx_1_1mesh_1_1Mesh.html" title="A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.">mesh::Mesh</a> is created. If the partitioning function is not callable, i.e. it does not store a callable function, no re-distribution of cells is done.</p> |
1123 | 1123 | <dl class="params"><dt>Parameters</dt><dd> |
1124 | 1124 | <table class="params"> |
@@ -1200,7 +1200,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a94d7b72914936f9a4d6133c0 |
1200 | 1200 | <tr><td class="paramdir">[in]</td><td class="paramname">cells</td><td>Cells, grouped by cell type with <code>cells[i]</code> being the cells of the same type. Cells are defined by their 'nodes' (using global indices) following the Basix ordering, and for each cell type concatenated to form a flattened list. For lowest-order cells this will be just the cell vertices. For higher-order geometry cells, other cell 'nodes' will be included. See <a class="el" href="../../df/dcf/namespacedolfinx_1_1io_1_1cells.html" title="Functions for the re-ordering of input mesh topology to the DOLFINx ordering, and transpose orderings...">io::cells</a> for examples of the Basix ordering. </td></tr> |
1201 | 1201 | <tr><td class="paramdir">[in]</td><td class="paramname">elements</td><td>Coordinate elements for the cells, where <code>elements[i]</code> is the coordinate element for the cells in <code>cells[i]</code>. <b>The list of elements must be the same on all calling parallel ranks.</b> </td></tr> |
1202 | 1202 | <tr><td class="paramdir">[in]</td><td class="paramname">commg</td><td>Communicator for geometry. </td></tr> |
1203 | | - <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td><a class="el" href="../../d8/dfb/classdolfinx_1_1mesh_1_1Geometry.html" title="Geometry stores the geometry imposed on a mesh.">Geometry</a> data ('node' coordinates). Row-major storage. The global index of the <code>i</code>th node (row) in <code>x</code> is taken as <code>i</code> plus the paralell rank offset (on <code>comm</code>), where rhe offset is the sum of <code>x</code> rows on all lower ranks than the caller. </td></tr> |
| 1203 | + <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td><a class="el" href="../../d8/dfb/classdolfinx_1_1mesh_1_1Geometry.html" title="Geometry stores the geometry imposed on a mesh.">Geometry</a> data ('node' coordinates). Row-major storage. The global index of the <code>i</code>th node (row) in <code>x</code> is taken as <code>i</code> plus the parallel rank offset (on <code>comm</code>), where the offset is the sum of <code>x</code> rows on all lower ranks than the caller. </td></tr> |
1204 | 1204 | <tr><td class="paramdir">[in]</td><td class="paramname">xshape</td><td>Shape of the <code>x</code> data. </td></tr> |
1205 | 1205 | <tr><td class="paramdir">[in]</td><td class="paramname">partitioner</td><td>Graph partitioner that computes the owning rank for each cell in <code>cells</code>. If not callable, cells are not redistributed. </td></tr> |
1206 | 1206 | </table> |
@@ -1495,7 +1495,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ae246db16404ff4ea5d09b858 |
1495 | 1495 | <table class="params"> |
1496 | 1496 | <tr><td class="paramdir">[in]</td><td class="paramname">mesh</td><td>The mesh. </td></tr> |
1497 | 1497 | <tr><td class="paramdir">[in]</td><td class="paramname">dim</td><td>Dimension entities in <code>mesh</code> that will be cells in the sub-mesh. </td></tr> |
1498 | | - <tr><td class="paramdir">[in]</td><td class="paramname">entities</td><td>Indices of entites in <code>mesh</code> to include in the sub-mesh. </td></tr> |
| 1498 | + <tr><td class="paramdir">[in]</td><td class="paramname">entities</td><td>Indices of entities in <code>mesh</code> to include in the sub-mesh. </td></tr> |
1499 | 1499 | </table> |
1500 | 1500 | </dd> |
1501 | 1501 | </dl> |
|
0 commit comments