| 70 | |
| 71 | |
| 72 | void Foam::cloudSet::genSamples() |
| 73 | { |
| 74 | // Storage for sample points |
| 75 | DynamicList<point> samplingPts; |
| 76 | DynamicList<label> samplingCells; |
| 77 | DynamicList<label> samplingFaces; |
| 78 | DynamicList<label> samplingSegments; |
| 79 | DynamicList<scalar> samplingCurveDist; |
| 80 | |
| 81 | calcSamples |
| 82 | ( |
| 83 | samplingPts, |
| 84 | samplingCells, |
| 85 | samplingFaces, |
| 86 | samplingSegments, |
| 87 | samplingCurveDist |
| 88 | ); |
| 89 | |
| 90 | samplingPts.shrink(); |
| 91 | samplingCells.shrink(); |
| 92 | samplingFaces.shrink(); |
| 93 | samplingSegments.shrink(); |
| 94 | samplingCurveDist.shrink(); |
| 95 | |
| 96 | setSamples |
| 97 | ( |
| 98 | samplingPts, |
| 99 | samplingCells, |
| 100 | samplingFaces, |
| 101 | samplingSegments, |
| 102 | samplingCurveDist |
| 103 | ); |
| 104 | } |
| 105 | |
| 106 | |
| 107 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected