@@ -124,7 +124,7 @@ FlowGenericVanguard::FlowGenericVanguard(SimulationModelParams&& params)
124124 partitionMethod_ = Dune::PartitionMethod (Parameters::Get<Parameters::PartitionMethod>());
125125 serialPartitioning_ = Parameters::Get<Parameters::SerialPartitioning>();
126126 zoltanParams_ = Parameters::Get<Parameters::ZoltanParams>();
127-
127+ zoltanPhgEdgeSizeThreshold_ = Parameters::Get<Parameters::ZoltanPhgEdgeSizeThreshold>();
128128 metisParams_ = Parameters::Get<Parameters::MetisParams>();
129129
130130 externalPartitionFile_ = Parameters::Get<Parameters::ExternalPartition>();
@@ -468,21 +468,26 @@ void FlowGenericVanguard::registerParameters_()
468468 Parameters::Register<Parameters::SerialPartitioning>
469469 (" Perform partitioning for parallel runs on a single process." );
470470 Parameters::Register<Parameters::ZoltanImbalanceTol<Scalar>>
471- (" Tolerable imbalance of the loadbalancing provided by Zoltan. DEPRECATED: Use --imbalance-tol instead" );
471+ (" Tolerable imbalance of the loadbalancing provided by Zoltan. "
472+ " DEPRECATED: Use --imbalance-tol instead." );
472473 Parameters::Register<Parameters::ZoltanParams>
473474 (" Configuration of Zoltan partitioner. "
474475 " Valid options are: graph, hypergraph or scotch. "
475476 " Alternatively, you can request a configuration to be read "
476- " from a JSON file by giving the filename here, ending with '.json.' "
477+ " from a JSON file by giving the filename here, with extension '.json'. "
477478 " See https://sandialabs.github.io/Zoltan/ug_html/ug.html "
478479 " for available Zoltan options." );
479480 Parameters::Register<Parameters::ImbalanceTol<Scalar>>
480- (" Tolerable imbalance of the loadbalancing (default: 1.1)." );
481+ (" Tolerable imbalance of the loadbalancing." );
482+ Parameters::Register<Parameters::ZoltanPhgEdgeSizeThreshold>
483+ (" Low-level threshold fraction in the range [0,1] controlling "
484+ " which hypergraph edge to omit. Used if --zoltan-params=\" graph\" "
485+ " or if --zoltan-params=\" hypergraph\" ." );
481486 Parameters::Register<Parameters::MetisParams>
482487 (" Configuration of Metis partitioner. "
483488 " You can request a configuration to be read "
484- " from a JSON file by giving the filename here, ending with '.json.' "
485- " See http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/manual.pdf"
489+ " from a JSON file by giving the filename here, with extension '.json'. "
490+ " See http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/manual.pdf "
486491 " for available METIS options." );
487492 Parameters::Register<Parameters::ExternalPartition>
488493 (" Name of file from which to load an externally generated "
@@ -493,6 +498,7 @@ void FlowGenericVanguard::registerParameters_()
493498
494499 Parameters::Hide<Parameters::ZoltanImbalanceTol<Scalar>>();
495500 Parameters::Hide<Parameters::ZoltanParams>();
501+ Parameters::Hide<Parameters::ZoltanPhgEdgeSizeThreshold>();
496502#endif // HAVE_MPI
497503
498504 Parameters::Register<Parameters::AllowDistributedWells>
0 commit comments