| 644 | |
| 645 | |
| 646 | void Foam::slidingInterface::updateMesh(const mapPolyMesh& m) |
| 647 | { |
| 648 | if (debug) |
| 649 | { |
| 650 | Pout<< "void slidingInterface::updateMesh(const mapPolyMesh& m)" |
| 651 | << " const for object " << name() << " : " |
| 652 | << "Updating topology." << endl; |
| 653 | } |
| 654 | |
| 655 | // Mesh has changed topologically. Update local topological data |
| 656 | const polyMesh& mesh = topoChanger().mesh(); |
| 657 | |
| 658 | masterFaceZoneID_.update(mesh.faceZones()); |
| 659 | slaveFaceZoneID_.update(mesh.faceZones()); |
| 660 | cutPointZoneID_.update(mesh.pointZones()); |
| 661 | cutFaceZoneID_.update(mesh.faceZones()); |
| 662 | |
| 663 | masterPatchID_.update(mesh.boundaryMesh()); |
| 664 | slavePatchID_.update(mesh.boundaryMesh()); |
| 665 | |
| 666 | //MJ:Disabled updating |
| 667 | // if (!attached()) |
| 668 | // { |
| 669 | // calcAttachedAddressing(); |
| 670 | // } |
| 671 | // else |
| 672 | // { |
| 673 | // renumberAttachedAddressing(m); |
| 674 | // } |
| 675 | } |
| 676 | |
| 677 | |
| 678 | const Foam::pointField& Foam::slidingInterface::pointProjection() const |