MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / updateMesh

Function updateMesh

src/dynamicMesh/slidingInterface/slidingInterface.C:646–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644
645
646void 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
678const Foam::pointField& Foam::slidingInterface::pointProjection() const

Callers

nothing calls this directly

Calls 2

nameFunction · 0.50
updateMethod · 0.45

Tested by

no test coverage detected