polyMeshMap: New mesh to mesh map for the new mapping update function mapMesh(const polyMeshMap&)

This new mapping structure is designed to support run-time mesh-to-mesh mapping
to allow arbitrary changes to the mesh structure, for example during extreme
motion requiring significant topology change including region disconnection etc.
This commit is contained in:
Henry Weller
2022-04-04 11:15:41 +01:00
parent 1aa194e18b
commit 7592a81c6e
403 changed files with 4953 additions and 1999 deletions

View File

@ -461,7 +461,7 @@ void Foam::cellSplitter::setRefinement
}
void Foam::cellSplitter::updateMesh(const polyTopoChangeMap& map)
void Foam::cellSplitter::topoChange(const polyTopoChangeMap& map)
{
// Create copy since we're deleting entries. Only if both cell and added
// point get mapped do they get inserted.

View File

@ -123,7 +123,7 @@ public:
);
//- Force recalculation of locally stored data on topological change
void updateMesh(const polyTopoChangeMap&);
void topoChange(const polyTopoChangeMap&);
// Access

View File

@ -537,7 +537,7 @@ int main(int argc, char *argv[])
mesh.movePoints(map().preMotionPoints());
}
cutter.updateMesh(map());
cutter.topoChange(map());
if (!overwrite)
{
@ -610,7 +610,7 @@ int main(int argc, char *argv[])
}
// Not implemented yet:
// cutter.updateMesh(map());
// cutter.topoChange(map());
if (!overwrite)
@ -654,7 +654,7 @@ int main(int argc, char *argv[])
mesh.movePoints(map().preMotionPoints());
}
cutter.updateMesh(map());
cutter.topoChange(map());
if (!overwrite)
{