SimSystem.getRegistry().getFactory(
AbstractAbortCriterionFactory.class, null);
abortCriterion = acFactory.getAbortCriterion();
// Choose coarsening algorithm
CoarsenFactory crFactory =
SimSystem.getRegistry()
.getFactory(AbstractCoarsenFactory.class, null);
coarseningAlgo =
crFactory.getCoarsenAlgorithm(modelGraph, abortCriterion);
ParameterBlock pb = new ParameterBlock();
pb.addSubBlock("partitionerType", new ParameterBlock(
PartitionerType.SINGLE_LEVEL_ONLY));