Lines Matching refs:strategy

13   SCOTCH_Num strategy;  member
119 …ErrorCode MatPartitioningPTScotchSetStrategy(MatPartitioning part, MPPTScotchStrategyType strategy) in MatPartitioningPTScotchSetStrategy() argument
123 PetscValidLogicalCollectiveEnum(part, strategy, 2); in MatPartitioningPTScotchSetStrategy()
124 …atPartitioningPTScotchSetStrategy_C", (MatPartitioning, MPPTScotchStrategyType), (part, strategy)); in MatPartitioningPTScotchSetStrategy()
128 … MatPartitioningPTScotchSetStrategy_PTScotch(MatPartitioning part, MPPTScotchStrategyType strategy) in MatPartitioningPTScotchSetStrategy_PTScotch() argument
133 switch (strategy) { in MatPartitioningPTScotchSetStrategy_PTScotch()
135 scotch->strategy = SCOTCH_STRATQUALITY; in MatPartitioningPTScotchSetStrategy_PTScotch()
138 scotch->strategy = SCOTCH_STRATSPEED; in MatPartitioningPTScotchSetStrategy_PTScotch()
141 scotch->strategy = SCOTCH_STRATBALANCE; in MatPartitioningPTScotchSetStrategy_PTScotch()
144 scotch->strategy = SCOTCH_STRATSAFETY; in MatPartitioningPTScotchSetStrategy_PTScotch()
147 scotch->strategy = SCOTCH_STRATSCALABILITY; in MatPartitioningPTScotchSetStrategy_PTScotch()
150 scotch->strategy = SCOTCH_STRATDEFAULT; in MatPartitioningPTScotchSetStrategy_PTScotch()
171 …rrorCode MatPartitioningPTScotchGetStrategy(MatPartitioning part, MPPTScotchStrategyType *strategy) in MatPartitioningPTScotchGetStrategy() argument
175 PetscAssertPointer(strategy, 2); in MatPartitioningPTScotchGetStrategy()
176 …PartitioningPTScotchGetStrategy_C", (MatPartitioning, MPPTScotchStrategyType *), (part, strategy)); in MatPartitioningPTScotchGetStrategy()
180 …MatPartitioningPTScotchGetStrategy_PTScotch(MatPartitioning part, MPPTScotchStrategyType *strategy) in MatPartitioningPTScotchGetStrategy_PTScotch() argument
185 switch (scotch->strategy) { in MatPartitioningPTScotchGetStrategy_PTScotch()
187 *strategy = MP_PTSCOTCH_QUALITY; in MatPartitioningPTScotchGetStrategy_PTScotch()
190 *strategy = MP_PTSCOTCH_SPEED; in MatPartitioningPTScotchGetStrategy_PTScotch()
193 *strategy = MP_PTSCOTCH_BALANCE; in MatPartitioningPTScotchGetStrategy_PTScotch()
196 *strategy = MP_PTSCOTCH_SAFETY; in MatPartitioningPTScotchGetStrategy_PTScotch()
199 *strategy = MP_PTSCOTCH_SCALABILITY; in MatPartitioningPTScotchGetStrategy_PTScotch()
202 *strategy = MP_PTSCOTCH_DEFAULT; in MatPartitioningPTScotchGetStrategy_PTScotch()
217 switch (scotch->strategy) { in MatPartitioningView_PTScotch()
367 …PetscCallExternal(SCOTCH_stratDgraphMapBuild, &stradat, scotch->strategy, nparts, nparts, scotch->… in MatPartitioningApply_PTScotch_Private()
390 …PetscCallExternal(SCOTCH_stratGraphMapBuild, &stradat, scotch->strategy, nparts, scotch->imbalance… in MatPartitioningApply_PTScotch_Private()
482 scotch->strategy = SCOTCH_STRATDEFAULT; in MatPartitioningCreate_PTScotch()