STYLE: remove unneeded includes (snappyRefineDriver)

This commit is contained in:
Mark Olesen 2018-06-07 12:29:37 +02:00
parent 84b109219a
commit e3ea3b0ce6
2 changed files with 7 additions and 13 deletions

View File

@ -46,22 +46,19 @@ License
namespace Foam
{
defineTypeNameAndDebug(snappyRefineDriver, 0);
defineTypeNameAndDebug(snappyRefineDriver, 0);
} // End namespace Foam
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from components
Foam::snappyRefineDriver::snappyRefineDriver
(
meshRefinement& meshRefiner,
decompositionMethod& decomposer,
fvMeshDistribute& distributor,
const labelList& globalToMasterPatch,
const labelList& globalToSlavePatch
const labelUList& globalToMasterPatch,
const labelUList& globalToSlavePatch
)
:
meshRefiner_(meshRefiner),
@ -1629,8 +1626,7 @@ Foam::label Foam::snappyRefineDriver::directionalShellRefine
List<labelVector> dirCellLevel(cellLevel.size());
forAll(cellLevel, celli)
{
label l = cellLevel[celli];
dirCellLevel[celli] = labelVector(l, l, l);
dirCellLevel[celli] = labelVector::uniform(cellLevel[celli]);
}
label iter;

View File

@ -36,15 +36,13 @@ SourceFiles
#include "wordPairHashTable.H"
#include "labelList.H"
#include "PackedBoolList.H"
#include "labelVector.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// Forward declaration of classes
// Forward declarations
class refinementParameters;
class snapParameters;
@ -206,8 +204,8 @@ public:
meshRefinement& meshRefiner,
decompositionMethod& decomposer,
fvMeshDistribute& distributor,
const labelList& globalToMasterPatch,
const labelList& globalToSlavePatch
const labelUList& globalToMasterPatch,
const labelUList& globalToSlavePatch
);