Revert "snappyHexMesh: Changed the default for the writing of pointLevels and cellLevels files in the polyMesh directory"

This reverts commit 799db4d958.
This commit is contained in:
Henry Weller
2019-02-12 09:41:00 +00:00
parent c59c82ac0e
commit 682caa71b1
3 changed files with 6 additions and 6 deletions

View File

@ -94,11 +94,12 @@ namespace Foam
>::names[] =
{
"mesh",
"refinement",
"noRefinement",
"scalarLevels",
"layerSets",
"layerFields"
};
}
const Foam::NamedEnum<Foam::meshRefinement::IOdebugType, 5>
@ -2892,7 +2893,7 @@ void Foam::meshRefinement::write
write();
}
if (writeFlags & WRITEREFINEMENT)
if (writeFlags && !(writeFlags & NOWRITEREFINEMENT))
{
meshCutter_.write();
surfaceIndex_.write();

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -121,7 +121,7 @@ public:
enum IOwriteType
{
IOWRITEMESH,
IOWRITEREFINEMENT,
IONOWRITEREFINEMENT,
IOWRITELEVELS,
IOWRITELAYERSETS,
IOWRITELAYERFIELDS
@ -131,7 +131,7 @@ public:
enum writeType
{
WRITEMESH = 1<<IOWRITEMESH,
WRITEREFINEMENT = 1<<IOWRITEREFINEMENT,
NOWRITEREFINEMENT = 1<<IONOWRITEREFINEMENT,
WRITELEVELS = 1<<IOWRITELEVELS,
WRITELAYERSETS = 1<<IOWRITELAYERSETS,
WRITELAYERFIELDS = 1<<IOWRITELAYERFIELDS

View File

@ -301,7 +301,6 @@ writeFlags
scalarLevels // write volScalarField with cellLevel for postprocessing
layerSets // write cellSets, faceSets of faces in layer
layerFields // write volScalarField for layer coverage
refinement
);