| 228 | |
| 229 | |
| 230 | void Foam::meshToMesh::calcAddressing |
| 231 | ( |
| 232 | const word& methodName, |
| 233 | const polyMesh& src, |
| 234 | const polyMesh& tgt |
| 235 | ) |
| 236 | { |
| 237 | autoPtr<meshToMeshMethod> methodPtr |
| 238 | ( |
| 239 | meshToMeshMethod::New |
| 240 | ( |
| 241 | methodName, |
| 242 | src, |
| 243 | tgt |
| 244 | ) |
| 245 | ); |
| 246 | |
| 247 | methodPtr->calculate |
| 248 | ( |
| 249 | srcToTgtCellAddr_, |
| 250 | srcToTgtCellWght_, |
| 251 | tgtToSrcCellAddr_, |
| 252 | tgtToSrcCellWght_ |
| 253 | ); |
| 254 | |
| 255 | V_ = methodPtr->V(); |
| 256 | |
| 257 | if (debug) |
| 258 | { |
| 259 | methodPtr->writeConnectivity(src, tgt, srcToTgtCellAddr_); |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | |
| 264 | void Foam::meshToMesh::calculate(const word& methodName) |
no test coverage detected