PhysicalPropertiesThermo, mirrorMesh, renumberMesh: Clang compilation fixes

This commit is contained in:
Will Bainbridge
2024-04-16 08:28:13 +01:00
parent d5880573c2
commit 08870e4560
3 changed files with 21 additions and 20 deletions

View File

@ -100,24 +100,24 @@ int main(int argc, char *argv[])
polyTopoChangeMap map polyTopoChangeMap map
( (
mesh, mesh,
mesh.nPoints(), // nOldPoints, mesh.nPoints(), // nOldPoints,
mesh.nFaces(), // nOldFaces, mesh.nFaces(), // nOldFaces,
mesh.nCells(), // nOldCells, mesh.nCells(), // nOldCells,
move(mesh.pointMap()), // pointMap, move(mesh.pointMap()), // pointMap,
move(List<objectMap>(0)), // pointsFromPoints, List<objectMap>(0), // pointsFromPoints,
move(labelList(0)), // faceMap, labelList(0), // faceMap,
move(List<objectMap>(0)), // facesFromFaces, List<objectMap>(0), // facesFromFaces,
move(mesh.cellMap()), // cellMap, move(mesh.cellMap()), // cellMap,
move(List<objectMap>(0)), // cellsFromCells, List<objectMap>(0), // cellsFromCells,
move(labelList(0)), // reversePointMap, labelList(0), // reversePointMap,
move(labelList(0)), // reverseFaceMap, labelList(0), // reverseFaceMap,
move(labelList(0)), // reverseCellMap, labelList(0), // reverseCellMap,
move(labelHashSet(0)), // flipFaceFlux, labelHashSet(0), // flipFaceFlux,
move(labelListList(0)), // patchPointMap, labelListList(0), // patchPointMap,
move(labelList(0)), // oldPatchSizes, labelList(0), // oldPatchSizes,
move(labelList(0)), // oldPatchStarts, labelList(0), // oldPatchStarts,
move(labelList(0)), // oldPatchNMeshPoints, labelList(0), // oldPatchNMeshPoints,
move(autoPtr<scalarField>()) // oldCellVolumesPtr autoPtr<scalarField>() // oldCellVolumesPtr
); );
refData.topoChange(map); refData.topoChange(map);
refData.write(); refData.write();

View File

@ -471,7 +471,7 @@ autoPtr<polyTopoChangeMap> reorderMesh
move(patchSizes), // oldPatchSizes move(patchSizes), // oldPatchSizes
move(patchStarts), // oldPatchStarts, move(patchStarts), // oldPatchStarts,
move(oldPatchNMeshPoints), // oldPatchNMeshPoints move(oldPatchNMeshPoints), // oldPatchNMeshPoints
move(autoPtr<scalarField>()) // oldCellVolumes autoPtr<scalarField>() // oldCellVolumes
) )
); );
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2023 OpenFOAM Foundation \\ / A nd | Copyright (C) 2023-2024 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -24,6 +24,7 @@ License
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "PhysicalPropertiesThermo.H" #include "PhysicalPropertiesThermo.H"
#include "fvMesh.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //