fixed: do not try to hide parameters that are not registered without MPI

This commit is contained in:
Arne Morten Kvarving 2024-08-19 08:49:35 +02:00
parent 38ff9a9de4
commit 5cf468e48a

View File

@ -447,15 +447,15 @@ void FlowGenericVanguard::registerParameters_()
"distribution purposes. If empty, the built-in partitioning "
"method will be employed.");
Parameters::Hide<Parameters::ExternalPartition>();
Parameters::Hide<Parameters::ZoltanImbalanceTol<Scalar>>();
Parameters::Hide<Parameters::ZoltanParams>();
#endif
Parameters::Register<Parameters::AllowDistributedWells>
("Allow the perforations of a well to be distributed to interior of multiple processes");
// register here for the use in the tests without BlackoilModelParameters
Parameters::Register<Parameters::UseMultisegmentWell>
("Use the well model for multi-segment wells instead of the one for single-segment wells");
Parameters::Hide<Parameters::ZoltanImbalanceTol<Scalar>>();
Parameters::Hide<Parameters::ZoltanParams>();
}
template void FlowGenericVanguard::registerParameters_<double>();