| 137 | |
| 138 | |
| 139 | void Foam::circleSet::genSamples() |
| 140 | { |
| 141 | // Storage for sample points |
| 142 | DynamicList<point> samplingPts; |
| 143 | DynamicList<label> samplingCells; |
| 144 | DynamicList<label> samplingFaces; |
| 145 | DynamicList<label> samplingSegments; |
| 146 | DynamicList<scalar> samplingCurveDist; |
| 147 | |
| 148 | calcSamples |
| 149 | ( |
| 150 | samplingPts, |
| 151 | samplingCells, |
| 152 | samplingFaces, |
| 153 | samplingSegments, |
| 154 | samplingCurveDist |
| 155 | ); |
| 156 | |
| 157 | samplingPts.shrink(); |
| 158 | samplingCells.shrink(); |
| 159 | samplingFaces.shrink(); |
| 160 | samplingSegments.shrink(); |
| 161 | samplingCurveDist.shrink(); |
| 162 | |
| 163 | setSamples |
| 164 | ( |
| 165 | samplingPts, |
| 166 | samplingCells, |
| 167 | samplingFaces, |
| 168 | samplingSegments, |
| 169 | samplingCurveDist |
| 170 | ); |
| 171 | } |
| 172 | |
| 173 | |
| 174 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected