mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: more consistent use of labelUList and labelUIndList typedefs
This commit is contained in:
@ -63,7 +63,7 @@ namespace vtk
|
||||
(
|
||||
vtk::formatter& fmt,
|
||||
const DimensionedField<Type, volMesh>& fld,
|
||||
const UList<label>& cellMap
|
||||
const labelUList& cellMap
|
||||
);
|
||||
|
||||
//- Write internalField for mesh
|
||||
@ -82,7 +82,7 @@ namespace vtk
|
||||
(
|
||||
vtk::formatter& fmt,
|
||||
const GeometricField<Type, fvPatchField, volMesh>& fld,
|
||||
const UList<label>& cellMap
|
||||
const labelUList& cellMap
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -50,7 +50,7 @@ void Foam::vtk::writeField
|
||||
(
|
||||
vtk::formatter& fmt,
|
||||
const DimensionedField<Type, volMesh>& fld,
|
||||
const UList<label>& cellMap
|
||||
const labelUList& cellMap
|
||||
)
|
||||
{
|
||||
const uint64_t payLoad =
|
||||
@ -89,7 +89,7 @@ void Foam::vtk::writeField
|
||||
(
|
||||
vtk::formatter& fmt,
|
||||
const GeometricField<Type, fvPatchField, volMesh>& fld,
|
||||
const UList<label>& cellMap
|
||||
const labelUList& cellMap
|
||||
)
|
||||
{
|
||||
const uint64_t payLoad =
|
||||
|
||||
@ -28,14 +28,14 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
void Foam::foamVtkMeshMaps::renumberCells(const UList<label>& mapping)
|
||||
void Foam::foamVtkMeshMaps::renumberCells(const labelUList& mapping)
|
||||
{
|
||||
inplaceRenumber(mapping, cellMap_);
|
||||
inplaceRenumber(mapping, additionalIds_);
|
||||
}
|
||||
|
||||
|
||||
void Foam::foamVtkMeshMaps::renumberPoints(const UList<label>& mapping)
|
||||
void Foam::foamVtkMeshMaps::renumberPoints(const labelUList& mapping)
|
||||
{
|
||||
inplaceRenumber(mapping, pointMap_);
|
||||
}
|
||||
|
||||
@ -105,10 +105,10 @@ public:
|
||||
|
||||
//- Renumber cell ids (cellMap and additionalIds) to account for
|
||||
// subset meshes
|
||||
void renumberCells(const UList<label>& mapping);
|
||||
void renumberCells(const labelUList& mapping);
|
||||
|
||||
//- Renumber point ids (pointMap) to account for subset meshes
|
||||
void renumberPoints(const UList<label>& mapping);
|
||||
void renumberPoints(const labelUList& mapping);
|
||||
|
||||
|
||||
//- Original cell ids for all cells (regular and decomposed).
|
||||
|
||||
@ -171,13 +171,13 @@ void Foam::vtk::vtuCells::reset
|
||||
}
|
||||
|
||||
|
||||
void Foam::vtk::vtuCells::renumberCells(const UList<label>& mapping)
|
||||
void Foam::vtk::vtuCells::renumberCells(const labelUList& mapping)
|
||||
{
|
||||
maps_.renumberCells(mapping);
|
||||
}
|
||||
|
||||
|
||||
void Foam::vtk::vtuCells::renumberPoints(const UList<label>& mapping)
|
||||
void Foam::vtk::vtuCells::renumberPoints(const labelUList& mapping)
|
||||
{
|
||||
maps_.renumberPoints(mapping);
|
||||
}
|
||||
|
||||
@ -194,10 +194,10 @@ public:
|
||||
);
|
||||
|
||||
//- Renumber cell ids to account for subset meshes
|
||||
void renumberCells(const UList<label>& mapping);
|
||||
void renumberCells(const labelUList& mapping);
|
||||
|
||||
//- Renumber point ids to account for subset meshes
|
||||
void renumberPoints(const UList<label>& mapping);
|
||||
void renumberPoints(const labelUList& mapping);
|
||||
|
||||
|
||||
// Storage Access
|
||||
|
||||
@ -272,7 +272,7 @@ void Foam::vtk::vtuSizing::populateLegacy
|
||||
(
|
||||
const polyMesh& mesh,
|
||||
UList<uint8_t>& cellTypes,
|
||||
UList<label>& vertLabels,
|
||||
labelUList& vertLabels,
|
||||
foamVtkMeshMaps& maps
|
||||
) const
|
||||
{
|
||||
@ -301,10 +301,10 @@ void Foam::vtk::vtuSizing::populateXml
|
||||
(
|
||||
const polyMesh& mesh,
|
||||
UList<uint8_t>& cellTypes,
|
||||
UList<label>& connectivity,
|
||||
UList<label>& offsets,
|
||||
UList<label>& faces,
|
||||
UList<label>& facesOffsets,
|
||||
labelUList& connectivity,
|
||||
labelUList& offsets,
|
||||
labelUList& faces,
|
||||
labelUList& facesOffsets,
|
||||
foamVtkMeshMaps& maps
|
||||
) const
|
||||
{
|
||||
@ -421,8 +421,8 @@ void Foam::vtk::vtuSizing::populateInternal
|
||||
UList<int>& offsets,
|
||||
UList<int>& faces,
|
||||
UList<int>& facesOffsets,
|
||||
UList<label>& cellMap,
|
||||
UList<label>& addPointsIds
|
||||
labelUList& cellMap,
|
||||
labelUList& addPointsIds
|
||||
) const
|
||||
{
|
||||
populateArrays
|
||||
@ -449,8 +449,8 @@ void Foam::vtk::vtuSizing::populateInternal
|
||||
UList<long>& offsets,
|
||||
UList<long>& faces,
|
||||
UList<long>& facesOffsets,
|
||||
UList<label>& cellMap,
|
||||
UList<label>& addPointsIds
|
||||
labelUList& cellMap,
|
||||
labelUList& addPointsIds
|
||||
) const
|
||||
{
|
||||
populateArrays
|
||||
@ -477,8 +477,8 @@ void Foam::vtk::vtuSizing::populateInternal
|
||||
UList<long long>& offsets,
|
||||
UList<long long>& faces,
|
||||
UList<long long>& facesOffsets,
|
||||
UList<label>& cellMap,
|
||||
UList<label>& addPointsIds
|
||||
labelUList& cellMap,
|
||||
labelUList& addPointsIds
|
||||
) const
|
||||
{
|
||||
populateArrays
|
||||
|
||||
@ -288,7 +288,7 @@ public:
|
||||
(
|
||||
const polyMesh& mesh,
|
||||
UList<uint8_t>& cellTypes,
|
||||
UList<label>& connectivity,
|
||||
labelUList& connectivity,
|
||||
foamVtkMeshMaps& maps
|
||||
) const;
|
||||
|
||||
@ -297,10 +297,10 @@ public:
|
||||
(
|
||||
const polyMesh& mesh,
|
||||
UList<uint8_t>& cellTypes,
|
||||
UList<label>& connectivity,
|
||||
UList<label>& offsets,
|
||||
UList<label>& faces,
|
||||
UList<label>& facesOffsets,
|
||||
labelUList& connectivity,
|
||||
labelUList& offsets,
|
||||
labelUList& faces,
|
||||
labelUList& facesOffsets,
|
||||
foamVtkMeshMaps& maps
|
||||
) const;
|
||||
|
||||
@ -349,8 +349,8 @@ public:
|
||||
UList<int>& offsets,
|
||||
UList<int>& faces,
|
||||
UList<int>& facesOffsets,
|
||||
UList<label>& cellMap,
|
||||
UList<label>& addPointsIds
|
||||
labelUList& cellMap,
|
||||
labelUList& addPointsIds
|
||||
) const;
|
||||
|
||||
//- Populate lists for Internal VTK format
|
||||
@ -362,8 +362,8 @@ public:
|
||||
UList<long>& offsets,
|
||||
UList<long>& faces,
|
||||
UList<long>& facesOffsets,
|
||||
UList<label>& cellMap,
|
||||
UList<label>& addPointsIds
|
||||
labelUList& cellMap,
|
||||
labelUList& addPointsIds
|
||||
) const;
|
||||
|
||||
//- Populate lists for Internal VTK format
|
||||
@ -375,8 +375,8 @@ public:
|
||||
UList<long long>& offsets,
|
||||
UList<long long>& faces,
|
||||
UList<long long>& facesOffsets,
|
||||
UList<label>& cellMap,
|
||||
UList<label>& addPointsIds
|
||||
labelUList& cellMap,
|
||||
labelUList& addPointsIds
|
||||
) const;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user