mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: topoSet: clear sets upon writing modified mesh. Fixes #129.
This commit is contained in:
@ -9,6 +9,7 @@ EXE_INC = \
|
||||
-I$(LIB_SRC)/dynamicMesh/lnInclude \
|
||||
-I$(LIB_SRC)/edgeMesh/lnInclude \
|
||||
-I$(LIB_SRC)/parallel/decompose/decompose/lnInclude \
|
||||
-I$(LIB_SRC)/parallel/reconstruct/reconstruct/lnInclude \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
@ -22,4 +23,5 @@ EXE_LIBS = \
|
||||
-lfileFormats \
|
||||
-ldynamicMesh \
|
||||
-ldecompose \
|
||||
-lreconstruct \
|
||||
-lsnappyHexMesh
|
||||
|
||||
@ -63,6 +63,7 @@ Description
|
||||
#include "decompositionModel.H"
|
||||
#include "fvMeshTools.H"
|
||||
#include "profiling.H"
|
||||
#include "processorMeshes.H"
|
||||
|
||||
using namespace Foam;
|
||||
|
||||
@ -673,6 +674,11 @@ void writeMesh
|
||||
meshRefinement::writeType(writeLevel | meshRefinement::WRITEMESH),
|
||||
mesh.time().path()/meshRefiner.timeName()
|
||||
);
|
||||
processorMeshes::removeFiles(mesh);
|
||||
if (!debugLevel)
|
||||
{
|
||||
topoSet::removeFiles(mesh);
|
||||
}
|
||||
Info<< "Wrote mesh in = "
|
||||
<< mesh.time().cpuTimeIncrement() << " s." << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user