Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
parmetisSubComm.xml
Go to the documentation of this file.
1 <!--- Test ParMETIS "feature" that requires (1) no empty processors and
2  (2) more than one processor for AdaptiveRepart -->
3 
4 <ParameterList name="parmetisSubcomm">
5 
6  <ParameterList name="InputParameters">
7  <Parameter name="input path" type="string" value="."/>
8  <Parameter name="input file" type="string" value="simple"/>
9  <Parameter name="file type" type="string" value="Chaco"/>
10  <Parameter name="distribute input" type="bool" value="false"/>
11  </ParameterList>
12 
13  <ParameterList name="Problem 1">
14 
15  <Parameter name="kind" type="string" value="partitioning"/>
16 
17  <ParameterList name="InputAdapterParameters">
18  <Parameter name="data type" type="string" value="xpetra_crs_matrix"/>
19  <Parameter name="input adapter" type="string" value="XpetraCrsMatrix"/>
20  </ParameterList>
21 
22  <ParameterList name="Zoltan2Parameters">
23  <Parameter name="algorithm" type="string" value="parmetis"/>
24  <Parameter name="partitioning_approach" type="string" value="repartition"/>
25  <Parameter name="compute_metrics" type="bool" value="true"/>
26  </ParameterList>
27  </ParameterList>
28 </ParameterList>
void distribute(Teuchos::ArrayRCP< size_t > &myNumEntriesPerRow, Teuchos::ArrayRCP< size_t > &myRowPtr, Teuchos::ArrayRCP< global_ordinal_type > &myColInd, Teuchos::ArrayRCP< scalar_type > &myValues, const Teuchos::RCP< const map_type > &pRowMap, global_ordinal_type *rowPtr, global_ordinal_type *colInd, const bool debug=false)