STYLE: relocate nonCoupledBoundaryTree into meshSearcher

- use point::uniform in more places
This commit is contained in:
Mark Olesen
2020-02-24 17:41:06 +01:00
parent 3835734f6a
commit a456e9ae92
20 changed files with 165 additions and 169 deletions

View File

@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2015 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -68,8 +69,8 @@ int main(int argc, char *argv[])
efem.points()
);
bb.min() -= point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
bb.max() += point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
bb.min() -= point::uniform(ROOTVSMALL);
bb.max() += point::uniform(ROOTVSMALL);
labelList allEdges(identity(efem.edges().size()));