Lines 762-771
Link Here
|
762 |
const scalarField& maxDist |
762 |
const scalarField& maxDist |
763 |
) const |
763 |
) const |
764 |
{ |
764 |
{ |
|
|
765 |
treeBoundBox tbb(samples); |
765 |
// Build tree out of all samples. |
766 |
// Build tree out of all samples. |
766 |
octree<octreeDataPoint> ppTree |
767 |
octree<octreeDataPoint> ppTree |
767 |
( |
768 |
( |
768 |
treeBoundBox(samples), // overall search domain |
769 |
tbb, // overall search domain |
769 |
octreeDataPoint(samples), // all information needed to do checks |
770 |
octreeDataPoint(samples), // all information needed to do checks |
770 |
1, // min levels |
771 |
1, // min levels |
771 |
20.0, // maximum ratio of cubes v.s. cells |
772 |
20.0, // maximum ratio of cubes v.s. cells |
Lines 863-872
Link Here
|
863 |
scalar maxSearch = max(maxDist); |
864 |
scalar maxSearch = max(maxDist); |
864 |
vector span(maxSearch, maxSearch, maxSearch); |
865 |
vector span(maxSearch, maxSearch, maxSearch); |
865 |
|
866 |
|
|
|
867 |
treeBoundBox tbb(samples); |
866 |
// octree.shapes holds reference! |
868 |
// octree.shapes holds reference! |
867 |
octree<octreeDataPoint> ppTree |
869 |
octree<octreeDataPoint> ppTree |
868 |
( |
870 |
( |
869 |
treeBoundBox(samples), // overall search domain |
871 |
tbb, // overall search domain |
870 |
octreeDataPoint(samples), // all information needed to do checks |
872 |
octreeDataPoint(samples), // all information needed to do checks |
871 |
1, // min levels |
873 |
1, // min levels |
872 |
20.0, // maximum ratio of cubes v.s. cells |
874 |
20.0, // maximum ratio of cubes v.s. cells |