mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: 64bit label changes
This commit is contained in:
@ -114,7 +114,7 @@ Foam::fieldviewTopology::fieldviewTopology
|
||||
// Mark all faces that are to be seen as wall for particle
|
||||
// tracking and all cells that use one or more of these walls
|
||||
|
||||
labelList wallFace(mesh.nFaces(), NOT_A_WALL);
|
||||
List<int> wallFace(mesh.nFaces(), NOT_A_WALL);
|
||||
boolList wallCell(mesh.nCells(), false);
|
||||
|
||||
if (setWallInfo)
|
||||
@ -149,20 +149,20 @@ Foam::fieldviewTopology::fieldviewTopology
|
||||
const cellModel& hex = *(cellModeller::lookup("hex"));
|
||||
|
||||
// Pre calculate headers for cells not on walls
|
||||
labelList notWallFlags(6, NOT_A_WALL);
|
||||
label tetNotWall = fv_encode_elem_header
|
||||
List<int> notWallFlags(6, NOT_A_WALL);
|
||||
unsigned int tetNotWall = fv_encode_elem_header
|
||||
(
|
||||
FV_TET_ELEM_ID, notWallFlags.begin()
|
||||
);
|
||||
label pyrNotWall = fv_encode_elem_header
|
||||
unsigned int pyrNotWall = fv_encode_elem_header
|
||||
(
|
||||
FV_PYRA_ELEM_ID, notWallFlags.begin()
|
||||
);
|
||||
label prismNotWall = fv_encode_elem_header
|
||||
unsigned int prismNotWall = fv_encode_elem_header
|
||||
(
|
||||
FV_PRISM_ELEM_ID, notWallFlags.begin()
|
||||
);
|
||||
label hexNotWall = fv_encode_elem_header
|
||||
unsigned int hexNotWall = fv_encode_elem_header
|
||||
(
|
||||
FV_HEX_ELEM_ID, notWallFlags.begin()
|
||||
);
|
||||
@ -179,7 +179,7 @@ Foam::fieldviewTopology::fieldviewTopology
|
||||
|
||||
const faceList& allFaces = mesh.faces();
|
||||
|
||||
labelList wallFlags(6);
|
||||
List<int> wallFlags(6);
|
||||
forAll(cellShapes, celli)
|
||||
{
|
||||
const cellShape& cellShape = cellShapes[celli];
|
||||
|
||||
@ -55,13 +55,13 @@ class fieldviewTopology
|
||||
// Private data
|
||||
|
||||
//- Hexes in fieldview format
|
||||
labelList hexLabels_;
|
||||
List<int> hexLabels_;
|
||||
|
||||
labelList prismLabels_;
|
||||
List<int> prismLabels_;
|
||||
|
||||
labelList pyrLabels_;
|
||||
List<int> pyrLabels_;
|
||||
|
||||
labelList tetLabels_;
|
||||
List<int> tetLabels_;
|
||||
|
||||
//- Number of non-hex/prism/pyr/tet labels
|
||||
label nPoly_;
|
||||
@ -108,22 +108,22 @@ public:
|
||||
|
||||
// Access
|
||||
|
||||
const labelList& hexLabels() const
|
||||
const List<int>& hexLabels() const
|
||||
{
|
||||
return hexLabels_;
|
||||
}
|
||||
|
||||
const labelList& prismLabels() const
|
||||
const List<int>& prismLabels() const
|
||||
{
|
||||
return prismLabels_;
|
||||
}
|
||||
|
||||
const labelList& pyrLabels() const
|
||||
const List<int>& pyrLabels() const
|
||||
{
|
||||
return pyrLabels_;
|
||||
}
|
||||
|
||||
const labelList& tetLabels() const
|
||||
const List<int>& tetLabels() const
|
||||
{
|
||||
return tetLabels_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user