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:
@ -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.
|
||||
|
||||
@ -123,7 +123,7 @@ public:
|
||||
);
|
||||
|
||||
//- Force recalculation of locally stored data on topological change
|
||||
void updateMesh(const polyTopoChangeMap&);
|
||||
void topoChange(const polyTopoChangeMap&);
|
||||
|
||||
|
||||
// Access
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user