STYLE: use bitSet class instead of PackedBoolList typedef

This commit is contained in:
Mark Olesen
2020-03-18 11:52:31 +01:00
parent d0522f7300
commit 5f115371d1
4 changed files with 52 additions and 52 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2012-2016 OpenFOAM Foundation
Copyright (C) 2015-2018 OpenCFD Ltd.
Copyright (C) 2015-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -189,7 +189,7 @@ Foam::tetDecomposer::tetDecomposer(const polyMesh& mesh)
void Foam::tetDecomposer::setRefinement
(
const decompositionType decomposeType,
const PackedBoolList& decomposeCell,
const bitSet& decomposeCell,
polyTopoChange& meshMod
)
{
@ -213,7 +213,7 @@ void Foam::tetDecomposer::setRefinement
// Determine for every face whether it borders a cell that is decomposed
PackedBoolList decomposeFace(mesh_.nFaces());
bitSet decomposeFace(mesh_.nFaces());
{
for (label facei = 0; facei < mesh_.nInternalFaces(); facei++)
{

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2012-2016 OpenFOAM Foundation
Copyright (C) 2018 OpenCFD Ltd.
Copyright (C) 2018-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -42,7 +42,7 @@ SourceFiles
#define tetDecomposer_H
#include "DynamicList.H"
#include "PackedBoolList.H"
#include "bitSet.H"
#include "boolList.H"
#include "typeInfo.H"
#include "Enum.H"
@ -192,7 +192,7 @@ public:
void setRefinement
(
const decompositionType decomposeType,
const PackedBoolList& decomposeCell,
const bitSet& decomposeCell,
polyTopoChange& meshMod
);