mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: redistributePar: remove pointFields
This commit is contained in:
@ -3038,6 +3038,30 @@ void Foam::meshRefinement::write
|
||||
}
|
||||
|
||||
|
||||
void Foam::meshRefinement::removeFiles(const polyMesh& mesh)
|
||||
{
|
||||
IOobject io
|
||||
(
|
||||
"dummy",
|
||||
mesh.facesInstance(),
|
||||
mesh.meshSubDir,
|
||||
mesh
|
||||
);
|
||||
fileName setsDir(io.path());
|
||||
|
||||
if (topoSet::debug) DebugVar(setsDir);
|
||||
|
||||
// Remove local files
|
||||
if (exists(setsDir/"surfaceIndex"))
|
||||
{
|
||||
rm(setsDir/"surfaceIndex");
|
||||
}
|
||||
|
||||
// Remove other files
|
||||
hexRef8::removeFiles(mesh);
|
||||
}
|
||||
|
||||
|
||||
Foam::meshRefinement::writeType Foam::meshRefinement::writeLevel()
|
||||
{
|
||||
return writeLevel_;
|
||||
|
||||
Reference in New Issue
Block a user