| 103 | |
| 104 | |
| 105 | void Foam::arraySet::genSamples() |
| 106 | { |
| 107 | // Storage for sample points |
| 108 | DynamicList<point> samplingPts; |
| 109 | DynamicList<label> samplingCells; |
| 110 | DynamicList<label> samplingFaces; |
| 111 | DynamicList<label> samplingSegments; |
| 112 | DynamicList<scalar> samplingCurveDist; |
| 113 | |
| 114 | calcSamples |
| 115 | ( |
| 116 | samplingPts, |
| 117 | samplingCells, |
| 118 | samplingFaces, |
| 119 | samplingSegments, |
| 120 | samplingCurveDist |
| 121 | ); |
| 122 | |
| 123 | samplingPts.shrink(); |
| 124 | samplingCells.shrink(); |
| 125 | samplingFaces.shrink(); |
| 126 | samplingSegments.shrink(); |
| 127 | samplingCurveDist.shrink(); |
| 128 | |
| 129 | setSamples |
| 130 | ( |
| 131 | samplingPts, |
| 132 | samplingCells, |
| 133 | samplingFaces, |
| 134 | samplingSegments, |
| 135 | samplingCurveDist |
| 136 | ); |
| 137 | } |
| 138 | |
| 139 | |
| 140 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected