| 165 | |
| 166 | |
| 167 | void Foam::patchSeedSet::genSamples() |
| 168 | { |
| 169 | // Storage for sample points |
| 170 | DynamicList<point> samplingPts; |
| 171 | DynamicList<label> samplingCells; |
| 172 | DynamicList<label> samplingFaces; |
| 173 | DynamicList<label> samplingSegments; |
| 174 | DynamicList<scalar> samplingCurveDist; |
| 175 | |
| 176 | calcSamples |
| 177 | ( |
| 178 | samplingPts, |
| 179 | samplingCells, |
| 180 | samplingFaces, |
| 181 | samplingSegments, |
| 182 | samplingCurveDist |
| 183 | ); |
| 184 | |
| 185 | samplingPts.shrink(); |
| 186 | samplingCells.shrink(); |
| 187 | samplingFaces.shrink(); |
| 188 | samplingSegments.shrink(); |
| 189 | samplingCurveDist.shrink(); |
| 190 | |
| 191 | setSamples |
| 192 | ( |
| 193 | samplingPts, |
| 194 | samplingCells, |
| 195 | samplingFaces, |
| 196 | samplingSegments, |
| 197 | samplingCurveDist |
| 198 | ); |
| 199 | } |
| 200 | |
| 201 | |
| 202 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected