Skip to content

Commit

Permalink
add destination_ranks
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolemarsaglia committed Oct 30, 2024
1 parent 19dff73 commit 6efd5e7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/docs/sphinx/Actions/Pipelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,27 @@ can be set to "any" if it is desired that the field selection will be applied to
all domains in the input mesh. The domain_id value can still be set to specific
integer values to limit the set of domains over which the selection will be applied.

+------------------+-----------------------------------------+------------------------------------------+
| **Option** | **Description** | **Example** |
+------------------+-----------------------------------------+------------------------------------------+
| field | The name of the element field that will | .. code:: yaml |
| | be used for partitioning. The field | |
| | shall contain non-negative domain | selections: |
| | numbers. | type: "field" |
| | | domain_id: "any" |
| | | |
+------------------+-----------------------------------------+------------------------------------------+
| destination_ranks| An optional list of integers | .. code:: yaml |
| | representing the MPI rank where the | |
| | domain will be sent after partitioning. | selections: |
| | This option can help ensure domains for | type: "field" |
| | topologies partitioned via multiple | field: "albatroaz" |
| | calls to partition() end up together on | domain_id: "any" |
| | a target MPI rank. The example shows | destination_ranks: [0,1,2,3] |
| | domain 0 going to MPI rank 0 and so on. | |
| | | |
+------------------+-----------------------------------------+------------------------------------------+

.. code:: cpp
conduit::Node pipelines;
Expand Down

0 comments on commit 6efd5e7

Please sign in to comment.