Skip to content
Snippets Groups Projects
Commit e3ea3b0c authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: remove unneeded includes (snappyRefineDriver)

parent 84b10921
No related merge requests found
......@@ -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;
......
......@@ -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
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment