mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added PackedBoolList typedef (used everywhere) and improved PackedList
- new members: capacity(), two-argument resize()/setSize(), const storage() - new static members: max_value(), packing(), etc.
This commit is contained in:
@ -68,7 +68,7 @@ Foam::labelList Foam::meshRefinement::getChangedFaces
|
||||
const label nInternalFaces = mesh.nInternalFaces();
|
||||
|
||||
// Mark refined cells on old mesh
|
||||
PackedList<1> oldRefineCell(map.nOldCells(), 0u);
|
||||
PackedBoolList oldRefineCell(map.nOldCells());
|
||||
|
||||
forAll(oldCellsToRefine, i)
|
||||
{
|
||||
@ -76,7 +76,7 @@ Foam::labelList Foam::meshRefinement::getChangedFaces
|
||||
}
|
||||
|
||||
// Mark refined faces
|
||||
PackedList<1> refinedInternalFace(nInternalFaces, 0u);
|
||||
PackedBoolList refinedInternalFace(nInternalFaces);
|
||||
|
||||
// 1. Internal faces
|
||||
|
||||
@ -335,7 +335,7 @@ Foam::label Foam::meshRefinement::markFeatureRefinement
|
||||
maxFeatureLevel = -1;
|
||||
|
||||
// Whether edge has been visited.
|
||||
List<PackedList<1> > featureEdgeVisited(featureMeshes.size());
|
||||
List<PackedBoolList> featureEdgeVisited(featureMeshes.size());
|
||||
|
||||
forAll(featureMeshes, featI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user