ENH: switch: move to OptimisationSwitches. See #3215

This commit is contained in:
mattijs
2024-09-18 14:39:17 +01:00
parent 782f22feb8
commit a9cc444b79
2 changed files with 6 additions and 1 deletions

View File

@ -223,6 +223,11 @@ OptimisationSwitches
//- Enable enforced consistency of constraint bcs after 'local' operations. //- Enable enforced consistency of constraint bcs after 'local' operations.
// Default is on. Set to 0/false to revert to <v2306 behaviour // Default is on. Set to 0/false to revert to <v2306 behaviour
//localConsistency 0; //localConsistency 0;
//- Since v2412 wall distance is calculated on a combined patch, created
// from all the individual wall patches. Set to 0/false to revert to
// <v2412 behaviour
//useCombinedWallPatch 0;
} }

View File

@ -41,7 +41,7 @@ defineTypeNameAndDebug(cellDistFuncs, 0);
bool Foam::cellDistFuncs::useCombinedWallPatch = true; bool Foam::cellDistFuncs::useCombinedWallPatch = true;
registerInfoSwitch registerOptSwitch
( (
"useCombinedWallPatch", "useCombinedWallPatch",
bool, bool,