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

@ -26,6 +26,7 @@ License
#include "timeControlFunctionObject.H"
#include "polyMesh.H"
#include "polyTopoChangeMap.H"
#include "polyMeshMap.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -197,18 +198,6 @@ bool Foam::functionObjects::timeControl::read(const dictionary& dict)
}
void Foam::functionObjects::timeControl::updateMesh
(
const polyTopoChangeMap& map
)
{
if (active())
{
foPtr_->updateMesh(map);
}
}
void Foam::functionObjects::timeControl::movePoints(const polyMesh& mesh)
{
if (active())
@ -218,4 +207,28 @@ void Foam::functionObjects::timeControl::movePoints(const polyMesh& mesh)
}
void Foam::functionObjects::timeControl::topoChange
(
const polyTopoChangeMap& map
)
{
if (active())
{
foPtr_->topoChange(map);
}
}
void Foam::functionObjects::timeControl::mapMesh
(
const polyMeshMap& map
)
{
if (active())
{
foPtr_->mapMesh(map);
}
}
// ************************************************************************* //